Re: [Vserver] ifconfig problem with virtual interfaces

From: Raimund Specht <Raimund.Specht_at_genua.de>
Date: Mon 23 Jan 2006 - 13:07:44 GMT
Message-Id: <200601231407.44192.Raimund.Specht@genua.de>

Hi !

Björn Steinbrink write:
> > # ifconfig eth0:1 1.2.3.4
> > # ifconfig eth0:2 1.2.3.5
> > # ifconfig eth0:1 del 1.2.3.4
>
> Yep, that's default behaviour... :/
>
> If you add the first address for a subnet, this becomes the 'primary'
> address for this subnet, all later added addresses becomes secondaries.
> Removing the primary address tears down all secondaries as well.
>
> The common workaround is to have a primary address for each used subnet
> on the host and only giving secondaries to the vservers.

Hui, yes, that's it. Thank you!
That explains all of our observations.

One should really throw away "ifconfig" and only use "ip" instead :)

By(e): Raimund.
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Jan 23 13:08:12 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 23 Jan 2006 - 13:08:15 GMT by hypermail 2.1.8