On Wed, May 17, 2006 at 11:24:36AM +0200, Radek Vokál wrote: > > > ifconfig eth0:5 40.40.1.11 up > > > ifconfig eth0:6 40.40.1.12 up > > > ifconfig eth0:2 40.40.1.10 up
> > This is by design, and it is not ifconfig behaviour, but it is done by the > > kernel. It is dropping all aliases, if you delete the primamry address. > > I'm not deleting the primary address but just one virtual iface. I > understand that removing eth0 removes all virtual ifaces as well, but > removing just one virtual interface should keep others up. The kernel stores virtuel interfaces as named secondary addresses of the physical one. Therefore there might (in your case eth0:5) be a virtuel interface which is the primary one. > > You cant see that with ifconfig and have to use "ip" tool. If you use the "ip addr" tool you will see a "secondary" marker on those interfaces which get dropped. > > See #64458: ifconfig downs and ups aliases too! And yes its a strange behaviour, but ifconfig will need to use netlink to find that out (or you use ip addr). Gruss Bernd -- (OO) -- [EMAIL PROTECTED] -- ( .. ) [EMAIL PROTECTED],linux.de,debian.org} http://www.eckes.org/ o--o 1024D/E383CD7E [EMAIL PROTECTED] v:+497211603874 f:+49721151516129 (O____O) When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]