I did that but the ips are only accessible from our LAN and do not
route. These IP are routable since I was using them on another server in
the same datacenter so the Ips them selves have no problems and they
have the same gateway etc.
-----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:30:43 2006