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

From: Gilles <>
Date: Fri 27 Jan 2006 - 19:48:44 GMT
Message-ID: <>


[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 ->

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
> 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).

Vserver mailing list
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