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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: CA for IOCs w/ dual NICs |
From: | Maren Purves <[email protected]> |
To: | [email protected] |
Date: | Fri, 15 Apr 2005 08:21:21 -1000 |
Kate Feng wrote:
There are two network interfaces (N.I.) on my IOC, each attached to a different IP address. I thought one could decide which medm clients "Channel Accessing" which N.I. by opening two windows. Both windows are set with EPICS_CA_AUTO_ADDR_LIST = NO. Window #1 is set with EPICS_CA_ADDR_LIST= IP1, while window #2 is set with EPICS_CA_ADDR_LIST= IP2.
Is ther any other better way ? I wanted to make sure that certain clients CA the specified IP, instead of the other one. Thus, I disconnected one of the cable going to that specified N.I. However, when I do that, all the medm clients on both windows became disconnected from the IOC.
The two IP addresses must be on different subnets, or the IOC OS's network code is likely to just use one port for all communications to that subnet - display the routing table from the IOC's OS and you may get a clue what it's doing at the moment. Once you've separated the two ports properly into different subnets, your technique of setting EPICS_CA_ADDR_LIST should work as you expect.
you may have to put a couple of "routeAdd"s to the two different subnets /client machines into the startup file of the IOC as well.