From: Nuno Silva (nuno.silva_at_vgertech.com)
Date: Thu 18 Jul 2002 - 12:59:06 BST
one quick hack is to have the ip configuration up before you start
vservers and comment out IPROOTDEV in vservername.conf.
Jukka Laaksola wrote:
> I have a little problem with vservers multi-IP configuration. I read the
> manual and didn't found any help.
> I have two ethernet cards on my main host, eth0 and eth1.
> eth0: network 10.10.10.0/24
> eth1: network 192.168.0.0/24
> With vserver-0.17 I got one ip, 10.10.10.40, worked well in the virtual
> host. Now with vserver-0.18's multi-ip support I thought I can get
> access to the both of my networks.
> If I set IPROOT="126.96.36.199 10.10.10.40" in my virtual host's config.
> It tries to set both ips as aliases for eth0. My IPROOTDEV=eth0.
> I also tried put IPROOTDEV="eth0 eth1", but that wasn't work either.
> So is it somehow possible to use two nic in one virtual host?
> 10.10.10.40 as eth0:v1 and 192.168.0.11 as eth1:v1.
> If it isn't possible, is it in the todo list?
> Very happy vserver user Jukka