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/
Home Products Support Community News


[Xen-users] different vlans in a domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] different vlans in a domU
From: "Sebastian Reitenbach" <sebastia@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Nov 2007 18:29:46 +0100
Delivery-date: Wed, 21 Nov 2007 09:30:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: L00 bugdead prods.
Reply-to: Sebastian Reitenbach <sebastia@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I want to setup a domU node, as a member of different VLAN addresses.

I configured the switch where the dom0 is connected to tag the VLAN's for 
the domU. In the domU, i configured vlan interfaces on top of eth0.
On the dom0 I have a bridge0, where the eth0 of the dom0, and the virtual 
Interface of the domU is a member. 
Unfortunately the bridge0 seems to strip the VLAN tags from the VLAN 
packets. A tcpdump on the eth0 in the domU showed that the packets arriving 
there, but not on the vlan interface.
This plainly did not worked.

Then I removed the vlan interface in the domU.
I added a bridge1 in the dom0, created a vlan interface on the dom0, added 
that to the bridge1. Then I added a second interface to the domU, assigned 
it to the bridge1.
Now I have a bridge0, where I can communicate with untagged vlan packets, 
and a bridge1 that allows me to communicated with the domU with tagged vlan 
For all the vlan's I want to use, I have to create a bridge interface on the 
This is working.

Is the second way the way to go, or is there a better way? In my eyes it 
seems a bit complicated, but maybe it is just the way as it is intended to 
work. Any hint would be appreciated.

kind regards

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>