Herbert Poetzl schrieb:

On Thu, Feb 24, 2005 at 11:55:51AM +0100, Dennis Roos wrote:


Heyaz,

I am trying to migrate to the new configuration method of util-vserver
(0.30.196) and have come across the following problem:

* vlan support is either broken, or changed in a way I am unable to
understand (very probable as this is my first go at the new
configuration method); an example:
I create /etc/vservers/${SVRNAME}/interfaces/0/dev containing
'eth1.4000'.

When I start ${SVRNAME} using vserver ${SVRNAME} start; it gives me the
following output:
ERROR: trying to add VLAN #0 to IF -:eth1 4000:- error: Invalid
argument
Cannot find device "eth1.4000"
SIOCGIFFLAGS: No such device
Cannot find device "eth1.4000"
SIOCGIFFLAGS: No such device


For me it works with rather new kernel/util versions:

spacelord:/etc/vservers# cat /etc/vservers/mail/interfaces/0/dev
eth0.400

spacelord:/etc/vservers# vserver mail start
Added VLAN with VID == 400 to IF -:eth0:-

Versions:
                  Kernel: 2.6.11-rc3-vs1.9.4-1-686-smp
                  VS-API: 0x00010025
            util-vserver: 0.30.203; Feb 12 2005, 15:00:17


Does adding the vlan interface "by hand" succeed? (Just make sure to remove it before starting the vserver...)



Bye, Oliver

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to