From: Jukka Laaksola (jukka.laaksola_at_netland.fi)
Date: Mon 22 Jul 2002 - 07:06:53 BST
Jacques Gelinas wrote:
> On Thu, 18 Jul 2002 12:14:59 -0500, Jukka Laaksola wrote
>
>>Hello!
>>
>>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="192.0.168.11 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?
>
>
> We will need to change the way we handle that. Instead of having
> IPROOT and IPROOTDEV, we will have something like
>
> IPROOT="eth0/IP1 eth1/IP2 IP3 IP4"
> IPROOTDEV=eth2
>
> Any IP no explicitly tied to a device will be configured with IPROOTDEV. In
> the example above, IP3 and IP4 will go on eth2.
>
> What do you think ?
Sounds good to me. It's quite clear way to configure IPs and devices.
Perhaps the feature is in the next version of vserser?
Thanks, Jukka
-- Jukka Laaksola Netland Oy