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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | IOC in Docker not responding to caget from another host |
From: | "Paduan Donadio, Marcio via Tech-talk" <tech-talk at aps.anl.gov> |
To: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 28 Oct 2021 02:54:31 +0000 |
This is the scenario:
In HostA I have one container running an IOC and another container with caget/caput installed. Both containers have these env variables defined:
EPICS_CA_ADDR_LIST=127.255.255.255
EPICS_CA_REPEATER_PORT=5065
EPICS_CA_SERVER_PORT=5064
I can caget in one container and receive data from the IOC. When both are in the same host it works well. With tcpdump I can see the traffic between the two containers, using localhost
to communicate.
The containers are running with network host mode.
Now I want to run caget in HostB that is in a different network. In HostB I've defined:
EPICS_CA_ADDR_LIST=134.79.219.255
EPICS_CA_REPEATER_PORT=5065
EPICS_CA_SERVER_PORT=5064
With tcpdump in HostA, I can see that 5 caget requests arrive from HostB to HostA, but the IOC doesn't seem to be aware of the packages. I understand that the IOC responds to broadcast
requests coming from any of the interfaces by default. Is that right?
I've tried Ralph Lange / Rodrigo Bongers script (https://wiki-ext.aps.anl.gov/epics/index.php?title=How_to_Make_Channel_Access_Reach_Multiple_Soft_IOCs_on_a_Linux_Host)
but nothing has changed.
Any clues? If you need more data, I'm happy to add them to this thread. Thank you,
|