[Vserver] Configure a second NIC for a vserver

From: Paul <kenshinw7_at_speakeasy.net>
Date: Fri 27 Jan 2006 - 12:51:31 GMT
Message-ID: <43DA2563.27986.25E66F3@localhost>

Warning, I have little experience with vservers on Debian (which is
the Dist our vserver is on). Our guy who usually takes care of this
is away, and we need to make a change.

I have a running vserver which is a web server and everything is
fine. On the physical machine an ifconfig command shows me (where
webgate01 is the vserver name):

eth0:webgate01 Link encap:Ethernet HWaddr 00:0D:87:31:82:E6
          inet addr: Bcast:
          Interrupt:10 Base address:0xe000

This has access from the outside IP address to the vserver's apache
server by mapping through a firewall.

I need to configure another ethernet card that the vserver can see in
addition to eth0 for access to another server on another IP segment.
For now, suffice it to say there are sound business reasons for doing
this which are beyond my control, so please, I would appreciate not
going into justification for such a thing if it should seem looney to

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

eth1:webgate01 Link encap:Ethernet HWaddr 00:50:BA:8B:C2:7B
          inet addr: Bcast:
          Interrupt:11 Base address:0xe400

I have not restarted the vserver because I'm not sure if I have done
this correctly, or if I have done enough. I'm also not sure if
restarting it so it sees this new eth1 configuration would be
sufficient and not create any conflict with the vserver's use of the
iP address in eth0. 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

background info, uname -a yields this:
Linux webgate01 2.4.27+vserver #1 (and so forth with date info)

The names have been changed to protect the innocent ;-)

Any help would be much appreciated.

Paul W
Vserver mailing list
Received on Fri Jan 27 13:20:52 2006

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