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-users

RE: [Xen-users] creating xenbr0 manually

To: <info@xxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] creating xenbr0 manually
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 26 Mar 2008 10:30:06 +1100
Delivery-date: Tue, 25 Mar 2008 16:30:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E92C5A.2040201@xxxxxxxxxx>
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: <47E92C5A.2040201@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciOl/1IqF08qPQMRPucudPKZi0ypAAN+29A
Thread-topic: [Xen-users] creating xenbr0 manually
> 
> Hi guys,
> 
> i use xen3.2. how can i manually create the xenbr0 ? which parameters
> have i to choose for brctl ?
> 

Under Debian, I use this in /etc/interfaces:

"
auto xen-br1
iface xen-br1 inet manual
 pre-up /sbin/ip link set vif0.1 arp off multicast off
 pre-up /sbin/vconfig add peth0 2 || true
 bridge_ports vif0.1 peth0.2
 bridge_maxwait 0
 post-down /sbin/vconfig rem peth0 2 || true
"

peth0 is the renamed eth0 interface. I create the bridge xen-br1, and
create a vlan on peth0 (peth0.2) and then add it and vif0.1 to the
bridge.

James

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

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