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  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 
<== Date ==> <== Thread ==>

Subject: Re: caget can't connect to soft ioc on host with multiple NICs
From: Andrew Johnson <anj@aps.anl.gov>
To: "Brian McAllister" <mcallister@mit.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 27 Jun 2013 11:49:36 -0500
Hi Brian,

On 2013-06-27 Brian McAllister wrote:
> I still don't understand why it didn't work from the local host.  iptables
> accepts all traffic from the loopback.  Why doesn't that work for CA ?

It would have if you had added the loop-back address to EPICS_CA_ADDR_LIST; 
by default CA deliberately excludes that from the list of interfaces it sends 
searches to.  That exclusion makes perfect sense for VxWorks IOCs since there 
is an internal short-cut between the client library and the RSRV for local 
channels so there is no point sending search requests to yourself, that would 
just be wasting CPU time.

For workstations where the CA server is in a different process sending 
searches to the sub-net's broadcast address will still result in local 
servers seeing the searches, so loop-back is not needed there either.  Maybe 
CA should include the loop-back address if there are no other interfaces 
available, but that wouldn't have helped your case anyway because there was 
one, it was just fire-walled off.

You can find out more about the CA protocol in these slides:
    http://www.aps.anl.gov/epics/docs/AES2013/11-Protocol.pdf

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

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

Navigate by Date:
Prev: Re: Record Processing Zenon Szalata
Next: Re: caget apparent timeout 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 
Navigate by Thread:
Prev: Re: 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 Dirk Zimoch
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 
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 ·