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] 802.1q on gentoo

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 802.1q on gentoo
From: Nicolas Vilz <niv@xxxxxxxxxx>
Date: Sat, 7 Aug 2010 11:24:45 +0200 (CEST)
Delivery-date: Sat, 07 Aug 2010 02:26:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7C1831E474A0AC4C98CAA67829404C6911C5A04BE2@xxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <7C1831E474A0AC4C98CAA67829404C6911C5A04BE2@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)
On Fri, 6 Aug 2010, MARET Ludovic wrote:


I have a box with XEN enabled.

Specs :

Gentoo 10.0 AMD64

XEN 4.0.0

The server is connected on our network through two physicals NIC. Actually, I?m 
using a VLAN on each NIC and bridge the domU in it.

But now I must create an additional domU which should be in an different VLAN. 
The best solution is to set a trunk on the switch and use 802.1q directly on 
the dom0.

I found this site interesting.


The first method would do the trick but i wonder how to achieve that the 
Gentoo?s way.

Any advices ?

If you are using OpenRC, there are some examples about networking. If
you are still using baselayout 1, there are also some additional
examples about vlan and stuff including which tools they require.

The example script for OpenRC is found here:


including "Create VLAN"...

you will find a copy in /usr/share/doc/openrc-xx/ on your box.

Baselayout 1 howerever has a different approach, which you will find in


Xen-users mailing list

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