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
<2001>
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:
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
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|