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

[Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge faili

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges
From: Jan Vejvalka <jan.vejvalka@xxxxxxxxxxxxxxx>
Date: Wed, 04 May 2011 18:08:44 +0200
Delivery-date: Wed, 04 May 2011 09:09:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
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 ?

Thanks,

Jan





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