EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  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  <20012002  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: Attaching other interface after VxWorks boot
From: Andrew Johnson <[email protected]>
To: Jeff Hill <[email protected]>
Cc: Vladis Korobov <[email protected]>, [email protected]
Date: Tue, 12 Jun 2001 10:40:45 -0500
Jeff Hill wrote:
> 
> If "ifShow()" on the slave does not list the ei interface then
> you must call eiattach() to install the network interface
> into the IP kernel. Next, call ifAddrAdd() to set the
> interface's IP address. Next, call routeShow() to verify
> that a route was installed for the new interface. If insufficient,
> then call routeAdd() to specify the range of addresses that will
> be delivered to the 2nd Ethernet.

Note that ifAddrAdd() is a vxWorks 5.4 call, on 5.3 you have to use
ifMaskSet() and ifAddrSet() individually and in that order.  You won't
need to call ifMaskSet() if the subnet mask for this segment is the same
as the netmask for the class of IP address that you're giving the
interface.

- Andrew
-- 
The world is such a cheerful place when viewed from upside-down
It makes a rise of every fall, a smile of every frown


Replies:
Re: Attaching other interface after VxWorks boot Vladis Korobov
References:
RE: Attaching other interface after VxWorks boot Jeff Hill

Navigate by Date:
Prev: RE: Attaching other interface after VxWorks boot Jeff Hill
Next: Bug in e2db Redman, Russell O.
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: RE: Attaching other interface after VxWorks boot Jeff Hill
Next: Re: Attaching other interface after VxWorks boot Vladis Korobov
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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 ·