List Info

Thread: Xen & VLANs




Xen & VLANs
country flaguser name
Germany
2007-05-02 03:30:54
Hi,

ich want to bridge different VLANs to some virtual DomUs. I
wired the
Dom0 with a VLAN Trunk and I can create VLAN interfaces in
the Dom0.

But I can't add these VLAN interfaces to the bridges
connected to the
DomUs. I get a "brconfig: add vlan100: Invalid
argument" error. I seems
not possible to add VLAN interfaces to bridges.

Has anybody a hint how to solve this problem?

Greetings,

Sebastian

Re: Xen & VLANs
country flaguser name
France
2007-05-02 05:12:00
On Wed, May 02, 2007 at 10:30:54AM +0200, Sebastian wrote:
> Hi,
> 
> ich want to bridge different VLANs to some virtual
DomUs. I wired the
> Dom0 with a VLAN Trunk and I can create VLAN interfaces
in the Dom0.
> 
> But I can't add these VLAN interfaces to the bridges
connected to the
> DomUs. I get a "brconfig: add vlan100: Invalid
argument" error. I seems
> not possible to add VLAN interfaces to bridges.
> 
> Has anybody a hint how to solve this problem?

What interface do you have in dom0 and what MTU is announced
by the
vlan interfaces ?
I've seen this "Invalid argument" error when
trying to add an interface whose
MTU doesn't match the bridge's one

-- 
Manuel Bouyer, LIP6, Universite Paris VI.          
Manuel.Bouyerlip6.fr
     NetBSD: 26 ans d'experience feront toujours la
difference
--

Re: Xen & VLANs
country flaguser name
Norway
2007-05-02 16:29:08

On May 2, 2007, at 10:30 AM, Sebastian wrote:

Hi,

ich want to bridge different VLANs to some virtual DomUs. I wired the
Dom0 with a VLAN Trunk and I can create VLAN interfaces in the Dom0.

But I can't add these VLAN interfaces to the bridges connected to the
DomUs. I get a "brconfig: add vlan100: Invalid argument" error. I seems
not possible to add VLAN interfaces to bridges.

Has anybody a hint how to solve this problem?

Works fine here:
# brconfig -a
bridge0: flags=41<UP,RUNNING>
        Configuration:
                priority 32768 hellotime 2 fwddelay 15 maxage 20
                ipfilter disabled flags 0x0
        Interfaces:
                xvif18.0 flags=3<;LEARNING,DISCOVER>
                        port 11 priority 128
                xvif3.0 flags=3<;LEARNING,DISCOVER>
                        port 10 priority 128
                xvif2.0 flags=3<;LEARNING,DISCOVER>
                        port 9 priority 128
                vlan0 flags=3<;LEARNING,DISCOVER>
                        port 5 priority 128

/etc/rc.conf has defined:
auto_ifconfig=NO                                # config all avail. interfaces
net_interfaces="re0 wm0 vlan0 bridge0 carp0"    # used only if above is NO

And 
/etc/ifconfig.bridge0 : 

create
!brconfig $int add vlan0
up


Then I define my interfaces in the configs of DOMUs like that:
vif = [ 'mac=aa:00:00:00:01:f0, bridge=bridge0' ]



Marcin Michal Jessa
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )