Mailing List Archive

[BUG] vlan and bridge does not work properly
hi.

this is not directly xen-related, but is in your interest to fix up the thing.

scenario:
peth1 with vlans, and you want to give to some domU all the bridge xenbr1
(with peth1), and some other domU only some vlans (say, xenbr1.14 with vlan
14 peth1.14).

in the actual setup, with the following script:
---
#!/bin/sh
XENDIR="/etc/xen/scripts"
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1
[...]
$XENDIR/network-bridge "$@" netdev=eth1.14 bridge=xenbr1.14 vifnum=5
---

this is the result:

peth1 (was: eth1) -> xenbr1 -> eth1 (was: veth1)
\- add vlan 14 -> peth1.14 (was: eth1.14-veth1)
\- xenbr1.14

as you can see (i hope, use monospace font), all the traffic goes through
xenbr1, also the traffic that can skip it.

easy, you say, let's change your script...
that is the bug:
if i attach vlan to peth1, xenbr1 stop working with tagged packets.

i have had already sent an email to bridge@lists.osdl.org:
http://lists.osdl.org/pipermail/bridge/2007-January/001628.html
but maybe you want to track this issue...

HTH.
d.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel