I also changed the name of the interfaces so that I got eth0:1 and
eth0:2 for the new IPs
-----Original Message-----
From: vserver-bounces@list.linux-vserver.org
[mailto:vserver-bounces@list.linux-vserver.org] On Behalf Of Arnór
Kristjánsson
Sent: Friday, May 05, 2006 4:27 AM
To: vserver@list.linux-vserver.org
Subject: Re: [Vserver] Add IP to vserver
What I did was to add files to /etc/vservers/<vservername>/interfaces
dir; basically copying like so: cp -r
/etc/vservers/<vservername/interfaces/0/ /etc/vservers/
<vservername/interfaces/1/
and then editing the ip and mask files in "1".
Some of my servers have 4 different ips set up this way.
HTH,
A.
On 5.5.2006, at 00:54, ehab heikal wrote:
> How do I add an IP to a vserver?
> I added 2 ips by editing the configuration of the vserver, but now
> these
> Ips are not accessible from computers outside my lan, as if they do
> not
> route right.
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri May 5 02:34:04 2006