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
<2013>
2014
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
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|