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  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Using CP in PV links vs. routing
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Wed, 15 Apr 2020 15:18:53 +0200
The localhost network (usually 127.0.0.0/8) is by default disabled for CA name resolution, otherwise any CA client asking for a locally hosted PV would get two replies: one through the network IP, one through localhost.
Any CA name resolution request will by default be broadcast on the network as a UDP broadcast. (Unless EPICS_CA_AUTO_ADDR_LIST=NO, which switches off automatic name resolution broadcasting on all interfaces.) Broadcasts to a network will obviously always be sent to the physical network interface.

When the client IOC connects to the server, it will use the IP that it reads from the CA name resolution reply to open the TCP connection. Kernel routing will decide how this connection is being handled. Normally, the kernel's routing table will mark this target IP address as being local and feed outgoing packets back into the TCP/IP stack without sending them to the network interface (which often is a physical device).

So, in my understanding, the traffic will leave the machine logically as far as TCP/IP is concerned, but never be sent to the network interface.

Cheers,
~Ralph


References:
Using CP in PV links vs. routing Hinko Kocevar via Tech-talk

Navigate by Date:
Prev: Re: Using CP in PV links vs. routing Torsten Bögershausen via Tech-talk
Next: Alarm Reports (JSP web package) John Dobbins via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Using CP in PV links vs. routing Torsten Bögershausen via Tech-talk
Next: Alarm Reports (JSP web package) John Dobbins via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 15 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·