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


Re: [Xen-users] can't get multiple VLANs to work

To: "Tomasz Chmielewski" <mangoo@xxxxxxxx>
Subject: Re: [Xen-users] can't get multiple VLANs to work
From: "Jason Goodwin" <jason.m.goodwin@xxxxxxxxx>
Date: Sat, 2 Sep 2006 21:31:35 -0500
Cc: "Angel L. Mateo" <amateo@xxxxx>, Sébastien CRAMATTE <s.cramatte@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 02 Sep 2006 19:32:19 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ze7X1BeCx6DrmxY2qwCPAosdaJHZfJBPElE/wBOhRpprOgW0DEJlPVVccrQmM/9qC9znBuq6A7An/tqvgLKtRznynScnaePjQ+LBtc/xpXDy7bR3OqNiy8pXJlx1ZTFvqEQmhOfU7O5/sX51hI34DYD7B33YoPXiTfLZkusIFGI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44F69F86.1030701@xxxxxxxx>
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>
References: <44F465E3.8080107@xxxxxxxx> <44F4E26B.6030602@xxxxxxxxxx> <44F54CA0.1010504@xxxxxxxx> <1157006480.31022.17.camel@localhost> <44F69C41.8070401@xxxxxxxx> <44F69DB3.8040904@xxxxxxxxxx> <44F69F86.1030701@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just to throw my $0.02 in...

I have servers setup with vlans and bridging, in a slightly different setup. I have four NICs in my servers. Two are management network dom0 only. The other two are for the domU vlans. So, eth0/1 are just on one vlan, nothing special. eth2/3 are on multiple vlans. For each vlan, I setup the eth2.vlanid, eth3.vlanid. I create bridges for each vlan (make sure to enable STP, I missed that once...not fun). Attach both eth2.vlanid and eth3.vlanid to their respective bridges for each vlan. The trick for me was to make sure and run 'ip link set dev up' on all the vlan interfaces AND the bridges. I have no IP configured for dom0 on any of the domU VLANs. In the domU configs, just specify the bridge to attach to, nothing fancy to configure in the domU.

I didn't need the bandwidth of bonding (plus I'm cabled to separate switches for redundancy), and with both interfaces and STP enabled I should get interface redundancy, though I haven't gone over and pulled the plug on a NIC to test it yet.

I'm not using the standard xen networking scripts, as it was simpler for me to just write one that created all the interfaces/bridges. I can share it if anyone is interested, it is a modified version of a script I came across (probably off this list).
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] can't get multiple VLANs to work, Jason Goodwin <=