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 [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
