About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 28 Apr 2005 - 15:25:00 BST


On Thu, Apr 28, 2005 at 01:06:26PM +0200, Stephan Sachse wrote:
> Hi,
>
> my setup looks like this
>
> ## myvserver.conf
> IPROOT="eth1:80.100.219.143 10.2.25.13"
> IPROOTDEV="eth1:1"

which is just plain wrong, you _never_ specify an alias as device

if you want both 80.100.219.143 and 10.2.25.13 to be
created as alias, then use:

  IPROOT="eth1:80.100.219.143 eth1:10.2.25.13"
  IPROOTDEV=""

if you want just 80.100.219.143 to be created and
you assume that 10.2.25.13 already exists, then use:

  IPROOT="eth1:80.100.219.143 10.2.25.13"
  IPROOTDEV=""

> ## eth1
> inet Adresse:80.100.219.140
> Bcast:80.100.219.255
> Mask:255.255.255.128
>
> ## eth1:1
> inet Adresse:10.2.25.3
> Bcast:10.2.25.255
> Mask:255.255.255.0
>
> in this case the vserver script configurs faulty interfaces like this
>
> eth1:myvserver
> inet Adresse:80.100.219.143
> Bcast:82.100.209.255
> Mask:255.255.255.128
>
> eth1:1:myvserver
> inet Adresse:10.2.25.13
> Bcast:82.100.209.255
> Mask:255.255.255.128
>
> attached patch fix this.

the tools (util-vserver) get this quite right if
you specify it correctly ...

> Mask can be fixed by change the config like this
>
> ## myvserver.conf
> IPROOT="eth1:80.100.219.143/255.255.255.128 10.2.25.13/255.255.255.0"
> IPROOTDEV="eth1:1"
>
> but Bcast ist always false.

HTH,
Herbert

>
> /me

[funny stuff zapped ...]

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 28 Apr 2005 - 15:25:27 BST by hypermail 2.1.3