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

Subject: RE: EPICS Config for 2 Ethernet Adapters
From: <[email protected]>
To: <[email protected]>
Date: Tue, 15 Feb 2011 16:19:04 +0000
>> The IOC server binds to all the interfaces it can see; there's actually no way to change that with the current code.  >> I wonder whether your problem is actually that the machines do not have the same subnet mask settings, and hence their >> broadcast addresses are different?  On Unix systems 'ifconfig -a' 
>> will print the broadcast address; you need to make sure that all systems are using the same address.

Yes, the two networks have different subnet masks.

I have 255.255.252.0 on eth0 and 255.255.255.0 on eth1.

I'm no expert on network configuration, does this setup make it a non-starter?

Thanks,

Graham
-----Original Message-----
From: Andrew Johnson [mailto:[email protected]] 
Sent: 15 February 2011 16:08
To: [email protected]
Cc: Paul Sichta; Cox, Graham (STFC,DL,EID)
Subject: Re: EPICS Config for 2 Ethernet Adapters

On Tuesday 15 February 2011 09:52:37 Paul Sichta wrote:
> Look in the CA Reference Manual for your release of EPICS.  I think 
> you need to specify EPICS_CAS_INTF_ADDR_LIST .

Actually that variable has no effect on the IOC server, it only applies to the CAS which is not (yet) used by the IOC code.

> On Tue, Feb 15, 2011 at 10:33,  <[email protected]> wrote:
> > I now need to take the legacy data from one network and make 
> > available on another network via EPICS.  I have a Linux PC with 2 
> > ethernet adapters, eth0 the legacy control system, eth1 the EPICS 
> > control system.  The IOC runs on this machine except I cannot see 
> > the EPICS PVs via other machines on the eth1 network.
> >
> > I'm guessing that the EPICS IOC is binding to eth0 by default and 
> > expecting to serve data to this network?
> >
> > How do I configure EPICS to bind to eth1 rather than to eth0, is 
> > this possible?

The IOC server binds to all the interfaces it can see; there's actually no way to change that with the current code.  I wonder whether your problem is actually that the machines do not have the same subnet mask settings, and hence their broadcast addresses are different?  On Unix systems 'ifconfig -a' 
will print the broadcast address; you need to make sure that all systems are using the same address.

The output from running 'casr 1' from the IOC shell may also give some hints.

- Andrew
--
If a man is offered a fact which goes against his instincts, he will scrutinize it closely, and unless the evidence is overwhelming, he will refuse to believe it.  If, on the other hand, he is offered something which affords a reason for acting in accordance to his instincts, he will accept it even on the slightest evidence.  -- Bertrand Russell

-- 
Scanned by iCritical.


Replies:
Re: EPICS Config for 2 Ethernet Adapters Andrew Johnson
RE: EPICS Config for 2 Ethernet Adapters Jeff Hill
References:
Re: EPICS Config for 2 Ethernet Adapters Andrew Johnson

Navigate by Date:
Prev: Re: EPICS Config for 2 Ethernet Adapters Andrew Johnson
Next: RE: soft ioc runs into fatal exception (base-3.14.12) Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Config for 2 Ethernet Adapters Andrew Johnson
Next: Re: EPICS Config for 2 Ethernet Adapters Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·