Re: [Vserver] Re: IP alias limitation

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 23 Aug 2006 - 21:40:52 BST
Message-ID: <20060823204052.GA19607@MAIL.13thfloor.at>

On Wed, Aug 23, 2006 at 10:22:19PM +0200, Bruno wrote:
> On Wednesday 23 August 2006 22:08, Kathy Kost wrote:
> > Nope. Once an alias is created, however which way, the system comes up
> > with a "16 alias max" message. Don't recall the actual message. The
> > vserver would not restart and I had to remove the interfaces and reboot
> > the entire server.
> >
> > Kathy
> >
> > > Does it help to add ip's with the ip add ... command instead of
> > > using ifconfig? Aliases are sooo last millennium.
> > >
> > >
> > > /Benny

> The kernel patch has a maximum of IP addresses per network context
> defined.

> Context-association of IP addresses is not optimized, thus many
> addresses cause some overhead when checking if incoming packets may be
> delivered to a guest. (check if IP is available to a guest)

> In addition you have 12 bytes allocated per possible IP address: 12 *
> 16 = 192 bytes (even if guest has just 1 IP assigned to it)

> For the define limiting the count of IP addresses, see
> include/linux/vserver/network.h (line 11):

> @define NB_IPV4ROOT 16

> Note that you may need to check what header the userspace tools get
> compiled against.

also note that this limitation will go away pretty soon :)

best,
Herbert

> Bruno
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Aug 23 21:43:06 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Aug 2006 - 21:43:11 BST by hypermail 2.1.8