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

Reply via email to