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 4.1.0, multiple network interfaces, network-bridge f

To: Jan Vejvalka <jan.vejvalka@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Wed, 4 May 2011 17:42:02 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 May 2011 14:43:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fLSgcJUHWrf4P25+3srvFOs1l6ArxHpqP2nPbNumS4g=; b=vo3PM9L6doVpECYCw3mbcbEvx12MTT4sA3JvCPCwSu7vtJ/rbdZIXi93WMnOHRLQj8 nkA8dLbSszm0ptkJEGI1eHibrdJlJhwxNT5PPpqRad7+Oowa0/sXhbBZ1k01A6+qd3Y8 JiCS544ixLvyAIVbuUKe2q+Irbml+/GR/Yvmc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=bise38mKTg2952KRZHoecf56/npPT8Wa0qNSiScyF4xuPEW+JIcKyLDVMsKtsJZvHr 7TV3SqdmJGDvsZ9VUVk6JYG2rjWgZgY87PpwfK61M9ZK8B06Yb1hxRXAZUxiSh+QdOjw hSR6M4Qmy8iI8TjWjZ6tp+HtkD9qz70O9tnF8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC17A0C.6040709@xxxxxxxxxxxxxxx>
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: <4DC17A0C.6040709@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, May 4, 2011 at 12:08 PM, Jan Vejvalka
<jan.vejvalka@xxxxxxxxxxxxxxx> wrote:
> Hi *,
>
>  having built Xen 4.1.0 and running my Dom0 on Slackware 13.1, I'm
> trying to assign different physical network interfaces to different
> DomU guests:
>
> vif = [ 'bridge=ethX' ]
>
> in the DomU configuration files.
>
> My /etc/xen/scripts/network-bridge script, however, doesn't create more
> than one bridge:
>
> root@cen:~# /etc/xen/scripts/network-bridge start netdev=eth0
> root@cen:~# /etc/xen/scripts/network-bridge start netdev=eth1
>
> only creates the eth0 bridge.
>
> There is a check in the script that prevents it from creating more than
> one bridge:
>
> (...)
> op_start () {
> (...)
>   if [ `brctl show | wc -l` != 1 ]; then
>        return
>   fi
>
> Why ? Is that a bug, a feature, or is it something that came in in the
> process of building Xen ? Did I miss something somewhere ?
>

Networking in Xen 4.1+ has changed:
http://wiki.xensource.com/xenwiki/MigrationGuideToXen4.1%2B

See also:
http://wiki.xensource.com/xenwiki/HostConfiguration/Networking
http://wiki.xensource.com/xenwiki/Xen4.1

Thanks,
Todd

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



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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