ifconfig doesn't show virtual interfaces
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).
--Werner
Reply to: