[Vserver] assigning a different IP to each vserver guest

From: KyoungSoo Park <kyoungso_at_CS.Princeton.EDU>
Date: Wed 07 Feb 2007 - 15:54:50 GMT
Message-ID: <45C9F64A.5030000@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 18:06:05 2007

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