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] xen without xenbr0

To: "Jia Rao" <rickenrao@xxxxxxxxx>
Subject: Re: [Xen-users] xen without xenbr0
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Wed, 30 Jul 2008 23:26:06 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 Jul 2008 20:26:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aC09VtDy15+FlbIPNC8VFQ/FLXZKBLzBhSnvwwqOBiI=; b=bq6arR56uIJVXJEiqeGwu1GWNEsf2FKLhdj2NwP8GusCHv9edRGVIOL+YPSTJ+GfKo /SHm02DJ2M892sExNXyyXeqox22TyZiFphCxdkJyNzMza9bZli+myGEL6cvlqhWh09/5 GS8Tu79Z+aSEZLCj3aJsEg+1eilK6gXQWKjaY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=xC9dAX0A1yNTv6lFEAJePmet/DifNPpMx3jtKkCqksSgu4XisbYQS2FHJZ5pKGKjEH bUs99ixtce7Xf3XokV7km7WIWT931wvqNbCxxohL5kzv03SimIwFuRkAPInVM01iFd+V pSfk3o18rGYlgwENxvcQ38JmgS7h7alKmDp5E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <994429490807301240p5de806b7mb8d9287dd4c024fb@xxxxxxxxxxxxxx>
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: <994429490807301240p5de806b7mb8d9287dd4c024fb@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jul 30, 2008 at 3:40 PM, Jia Rao <rickenrao@xxxxxxxxx> wrote:
> Hi all,
>
> I am installing Xen on a dell PowerEdge 1950 box, which has two NICs and 8
> cores.
>
> After I finished install Xen, I can only see xenbr1 in "ifconfig -a" and
> "brctl show".
>
> Where is the xenbr0? it is suppose to be the first one.
>
> The machine is one of the nodes in a cluster. eth0 is configured with a
> public address which connects to the dept. network. eth1 is the NIC for the
> private address connects to the master node. It seems that Xen only bridges
> on eth1.
>

This is most likely to do with how the xen network bridge script detects to
default device.

Check your default route, most likely it is set to eth1.

you should be able to understand this better by taking a look at
/etc/xen/scripts/network-bridge, in particular look for the line that
is something like "ip route list | awk ..."


> I have experience installing Xen on a box with single NIC, everything was
> fine.
>

If you need both xenbr0 and xenbr1, the most reliable way to do this is
to use a multiple network interfaces network script

These instructions linked here have (minor) errors, but should give you a start.
http://www.centos.org/docs/5/html/5.1/Virtualization_Guide/ch-virt-bridge-errors.html

In particular, watch out for the space between the #  and ! in the script

The copying of the network-script to network-script.xen is unnecessary

Also, in one place it says uncomment when it should say comment

Cheers,
Todd

> Any idea?
>
> Jia.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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