Re: [Vserver] Add IP to vserver
No, just these settings... On 5.5.2006, at 01:44, ehab heikal wrote: Did u need to change any settings in the vserver itself? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Add IP to vserver
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
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
RE: [Vserver] Add IP to vserver
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
Re: [Vserver] Add IP to vserver
from http://this.is/promazin/?p=pageID=1 update Feb 06 2006 networking and mask settings It is extremely important to set the mask for every single host. I created severe problems on the network by using the default mask settings. ifconfig does not display this so I suggest the iproute package, including the lovable tool ip addr, use it to give you detailed information about your interfaces. The mask is set in the following manner echo 255.255.xxx.xxx /etc/ vservers/vserver-name/interfaces/0/mask. You can also use a file called prefix and set the subnet there, for example echo 24 /etc/vservers/vserver-name/interfaces/0/prefix Using the vserver command to create a new vserver. vserver build \ -n ltsp \ --hostname ltsp.domain.com \ --interface vlan10:172.201.222.10 \ -m debootstrap -- -d sarge On 5.5.2006, at 01:30, ehab heikal wrote: 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver