[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifconfig doesn't show virtual interfaces



On Mon, Apr 05, 1999 at 09:16:42AM -0500, Ian Keith Setford wrote:
> 
> I bet you are running a 2.2.x kernel and your version of netbase is from
> slink.  It is a known problem.  As you mentioned, the aliased interfaces
> will work but will not show up in "ifconfig."  An easy solution is to
> upgrade the "unstable" version of netbase (it is very stable.)  The only
> reason, I have been told, that the "fixed" netbase is not included in
> Slink is due to the fact that 2.2.x kernels are not "supported" in Slink.

My netbase is from hamm. Thank you for the hint. I will upgrade the
netbase.

Best Regards, Werner

> > According to the Aliasing Mini-Howto I set up two virtual addresses.
> > The addresses are working but ifconfig swows only the one address of
> > eth0 and not the other virtual ones for eth0:0 and eth0:1.
> > 
> > The route command shows me that there is a host route to each IP connected
> > with the virtual interfaces (I did a route add -host <IP> dev <virtual>).
> > 
> > Another problem occurs if I try to set the network route. If I issue
> > 
> >  route add -net 127.0.0.0
> > 
> > the answer is
> > 
> >  SIOCADDRT: Invalid argument
> > 
> > route add 127.0.0.0 dev lo
> > 
> > works but results only in a host route.
> > 
> > The same happens if I set the network route
> > 
> >  route add -net 192.168.10.0 dev eth0
> > 
> > I can set the default route to a gateway on the network and if I look at the
> > routes with "route -n" there is also a route to the network. Currently I am
> > not physically connected. I am going to connect but want to prepare most in
> > advance.
> > 
> > I am using a RealTek PCI ethernet card  (rtl8139).


Reply to: