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] how to use eth2 instead of eth0 for bridge

To: "Gary W. Smith" <gary@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] how to use eth2 instead of eth0 for bridge
From: "Fischer, Anna" <anna.fischer@xxxxxx>
Date: Mon, 17 Sep 2007 07:06:18 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 16 Sep 2007 23:07:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <57F9959B46E0FA4D8BA88AEDFBE5829024F503@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <57F9959B46E0FA4D8BA88AEDFBE5829024F503@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf40b7UQRxtXEIkQoOtKQwao/At0QAHsVYg
Thread-topic: [Xen-users] how to use eth2 instead of eth0 for bridge
> I have a machine that I added a 1GB card to it, and it has 
> onboard eth0/1.  What's the easiest way to tweak Xen to use 
> eth2 for all bridging instead of eth0?
> Would I just override the line in the vif-common.sh where it 
> says -eth0?
> -Gary

Just change your xend-config.sxp like this:

(network-script 'network-bridge netdev=eth2') 

Xen-users mailing list