EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: caget can't connect to soft ioc on host with multiple NICs
From: Mark Rivers <[email protected]>
To: Brian McAllister <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 26 Jun 2013 22:12:46 +0000
Have you set the EPICS_CA_ADDR_LIST environment variable to the broadcast address of one NIC and EPICS_CA_AUTO_ADDR_LIST to NO?
You need to do that if you have 2 NICs and the client is on the same machine as the IOC.

Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Brian McAllister [[email protected]]
Sent: Wednesday, June 26, 2013 5:03 PM
To: [email protected]
Subject: caget can't connect to soft ioc on host with multiple NICs

I'm unable to find anything in the docs addressing this so...

I'm implementing a soft IOC under Linux that connects to a variety of
devices over ethernet, using Asyn, Modbus and StreamDevice.

The host system has two NICs, one for the facility network and a private
one for these devices.

The IOC runs.  It connects to the devices and successfully communicates
with at least one of them.

However, when I try to use "caget" on the host to access the IOC channels,
it just times out.

lsof shows:
istCoolin 5489 epicsdev    9u  IPv4 136863      0t0    TCP *:ca-1 (LISTEN)
istCoolin 5489 epicsdev   10u  IPv4 136864      0t0    UDP asym.mit.edu:33586->172.18.0.255:ca-2
istCoolin 5489 epicsdev   11u  IPv4 136865      0t0    UDP *:ca-1


I have used soft IOCs before without any such issues but they were in a
single-network environment.

----
Brian McAllister                                   Senior Software Engineer
[email protected]                                                Bates Lab
(617) 253-9537                                                Middleton, MA


References:
caget can't connect to soft ioc on host with multiple NICs Brian McAllister

Navigate by Date:
Prev: caget can't connect to soft ioc on host with multiple NICs Brian McAllister
Next: Re: caget can't connect to soft ioc on host with multiple NICs Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: caget can't connect to soft ioc on host with multiple NICs Brian McAllister
Next: Re: caget can't connect to soft ioc on host with multiple NICs Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·