About this list Date view Thread view Subject view Author view Attachment view

From: Dennis Roos (dennis_at_intouch.net)
Date: Wed 13 Jul 2005 - 12:30:36 BST


On Wed, 2005-07-13 at 12:46 +0200, Alberto Cammozzo wrote:
>
> Hello,
>
> I am setting up a vserver with vlans: each vserver one or
> more dot1q vlans.
So do I ;)

> Seems to work fine, except that the "vserver start" insists
> on giving the interface a fake 127.0.0.1 address,
> even if it has an interface configuration in
> /etc/vservers/XX/interfaces/0/ip
> and /etc/vservers/XX/interfaces/dev has "eth0.2" in it.
I recall having to set at least /etc/vservers/XX/interfaces/name as
well, however I am unsure if it is really necessary though. It creates
named aliases on the 802.1Q interfaces.

> To have it working properly I have to deconfigure and
> reconfigure by hand the interface from the host server
> after the vserver is started.
Try upgrading to a more recent version of the tools first. I
have had issues with 802.1Q vlans in older versions as well,
upgrading to a more recent version solved the problems I had.

        
> Seems like this is a known and correct (?) behavior since 2003:
> <http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt>
<SNIP>
ip addr list gives me:
7: eth1.1096: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
    link/ether 00:80:3f:04:1b:59 brd ff:ff:ff:ff:ff:ff
    inet 127.0.0.1/8 brd 127.255.255.255 scope host eth1.1096
    inet xxx.xxx.xxx.21/28 brd 212.19.219.31 scope global eth1.1096:0VS1
    inet xxx.xxx.xxx.22/28 brd 212.19.219.31 scope global secondary
eth1.1096:0VS1

> What do I have to do to give eth0.2 a different IP address?
>
> Thanks!
>
> Alberto
>
>
>
>
>
> # vserver-info
> Versions:
> Kernel: 2.6.11.11+dm-1.00.21+evms-2.5.2+vs1.9.5
> VS-API: 0x00010025
> util-vserver: 0.30.204; May 24 2005, 22:22:03
>
I am using:
root # vserver-info
Versions:
                   Kernel: 2.6.11.6-grsec-vs1.9.5
                   VS-API: 0x00010025
             util-vserver: 0.30.205; May 11 2005, 10:54:16

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Jul 2005 - 12:31:03 BST by hypermail 2.1.3