EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  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  <20002001  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: RE: network config
From: [email protected] (Jeff Hill)
To: "Pierre MATTEI" <[email protected]>, <[email protected]>
Date: Mon, 12 Jun 2000 11:12:44 -0600
Pierre,

> I also have in my resource.def :
> EPICS_CA_ADDR_LIST=x.x.x.x   (#IP OPI2)
> EPICS_CA_AUTO_ADDR_LIST=YES

The proper configuration depends on whether your router (OPI1)
is configured to forward IP broadcasts directed at another subnet.

If forwarding of broadcasts is enabled in your router:

1) On IOCs: set EPICS_CA_ADDR_LIST=x.x.x.x where x.x.x.x 
is the broadcast address of the OPI's subnet. Set
EPICS_CA_AUTO_ADDR_LIST=YES.

2) On OPI2: set EPICS_CA_ADDR_LIST=y.y.y.y where y.y.y.y 
is the broadcast address of the IOC's subnet and 
EPICS_CA_AUTO_ADDR_LIST=YES. 

3) On OPI1 only set EPICS_CA_AUTO_ADDR_LIST=YES and CA 
should auto-configure the broadcast address of both subnets
that are directly attached to this particular (routing) host.

If forwarding of broadcasts is not enabled in your router:

1) On IOCs: set EPICS_CA_ADDR_LIST=a.a.a.a where 
a.a.a.a is the address of OPI2 and set EPICS_CA_AUTO_ADDR_LIST=YES.

2) On OPI2: set EPICS_CA_ADDR_LIST=b.b.b.b c.c.c.c d.d.d.d where 
b.b.b.b, c.c.c.c, and d.d.d.d are the addresses of your IOCs.

3) On OPI1 only set EPICS_CA_AUTO_ADDR_LIST=YES and CA 
should auto-configure the broadcast address of both subnets.

The details are in the configuration chapter of this document:
http://mesa53.lanl.gov/lansce8/Epics/ca/cadoc/cadoc_1.htm

The "casr <integer detail level>" diagnostic can be executed
in the IOC to examine the final state of the server's address
list (after auto-configuration and after the addition of the contents
of EPICS_CA_ADDR_LIST during iocInit).

Jeff

> 
> On a Local Area Network, I have 2 OPIs 
> (OPI1 & OPI2 : SUNs with solaris 2.6 and R3.13.0.beta11). 
> 
> OPI1 has 2 ethernet interfaces :
> -the 1st on LAN (le0).
> -I define a subnet on the 2nd (le1) using C adressing 
> where I put 2 IOCs (MVME162 with vxWorks 5.2).
> 
> So far, I run CA-client applications using only OPI1 
> to reach the PVs on IOCs. Now I need to reach them with
> OPI2, so I made the following changes :
> -OPI1 is declared as router.
> -on OPI2, I add route to access subnet of OPI1
> (route -n add ...)
> -routeAdd ... on IOCs.
> 
> I can ping and telnet the IOCs from OPI2 but CA-client 
> applications (MEDM,...) are unable to connect the PVs.
> 
> I also have in my resource.def :
> EPICS_CA_ADDR_LIST=x.x.x.x   (#IP OPI2)
> EPICS_CA_AUTO_ADDR_LIST=YES
> 
> "casr" on IOCs says only OPI1 is client.
> 
> Could someone tell me what I am missing?
> thanks,
> 
> Pierre MATTEI
> CEA Saclay - FRANCE
> [email protected]
> 
> 
> 
> 
> 
> 
> 
> 


References:
network config Pierre MATTEI

Navigate by Date:
Prev: CapFast release note, etc. Dr. Chong Lee
Next: Renaming host libraries during builds Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: network config Pierre MATTEI
Next: CapFast release note, etc. Dr. Chong Lee
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·