[Vserver] assigning an IP to each vserver guest

From: KyoungSoo Park <kyoungso_at_CS.Princeton.EDU>
Date: Wed 07 Feb 2007 - 14:33:11 GMT
Message-ID: <45C9E327.1040903@cs.princeton.edu>

Hello,

I'm a newbie, and I'm trying to assign an IP to each vserver
guest. Specifically, I have three working IPs
(128.112.136.35, 128.112.136.36, 128.112.136.37) but only
one NIC (eth0) on a machine. I want to run three vserver
guests but each vserver should only (and exclusively) use
one of the IPs. How should I set up this?

I checked the documentation, and this mailing list, but I couldn't
figure out yet. What I've tried is to set something like

IPROOT="128.112.136.36"

in /etc/vservers/guestX.conf, but everytime I run the guestX, I always
see eth0 is mapped to 128.112.136.35, which is the the IP address of
the machine as you ssh into as root. I want to see this IP changed to
128.112.136.36 in guestX when I ifconfig in guestX. Is this possible?

Thanks,
KyoungSoo
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Feb 7 16:27:22 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 07 Feb 2007 - 16:27:26 GMT by hypermail 2.1.8