From: Dennis Roos (dennis_at_intouch.nl)
Date: Thu 24 Feb 2005 - 15:40:56 GMT
On Thu, 2005-02-24 at 14:38 +0100, Oliver Heinz wrote:
> 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...)
vconfig add eth1 4000 works without problems, as does adding vlans with
the old style config.
mw118 1 # vconfig add eth1 4000
Added VLAN with VID == 4000 to IF -:eth1:-
mw118 1 # uname -a
Linux mw118.intouch.net 2.6.10-vs1.9.3.17 #5 SMP Mon May 3 18:46:00 CEST
2010 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
mw118 1 # vserver --version
vserver 0.30.196 -- manages the state of vservers
This program is part of util-vserver 0.30.196
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver