WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [BUG] vlan and bridge does not work properly

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [BUG] vlan and bridge does not work properly
From: Daniele Palumbo <daniele@xxxxxxxxxxxx>
Date: Tue, 30 Jan 2007 21:25:53 +0100
Delivery-date: Tue, 30 Jan 2007 12:24:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
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@xxxxxxxxxxxxxx:
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [BUG] vlan and bridge does not work properly, Daniele Palumbo <=