I also changed the name of the interfaces so that I got eth0:1 and eth0:2 for the new IPs
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnór Kristjánsson Sent: Friday, May 05, 2006 4:27 AM To: [email protected] 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 > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
