re: [vserver] multi-nic

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

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Fri Jul 19 2002 - 16:27:59 EDT


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 ?

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


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

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT