Re: [Vserver] Configure a second NIC for a vserver

From: Gilles <gilles_at_harfang.homelinux.org>
Date: Fri 27 Jan 2006 - 19:48:44 GMT
Message-ID: <20060127194844.GA4884@dusk.harfang.homelinux.org>

Hi.

[The following is what I would try, without any warranty.]

>
> I have, using ifconfig, set up on the physical machine this:
>

I think that you should have a look at the vserver config file
(if it's the old config style) or the vserver config directory
tree (for new config style). Then, duplicate the information
pertaining to the first interface, replacing what should be,
(i.e. eth0 -> eth1 and 192.168.81.20 -> 192.168.91.22).

The vserver startup script should then care of setting up the
interface. [I.e. you don't have to call ifconfig beforehand.]

> [...] I presume I need to set up a route to the
> 192.168.91.0 segment. Would I do that inside the running vserver,
> after restarting it, or on the physical machine somewhere before the
> restart?
>

Routing must be done on the host (until "ngnet" comes out).

Best,
Gilles
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jan 27 19:55:30 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 27 Jan 2006 - 19:55:37 GMT by hypermail 2.1.8