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: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 4.1.0, multiple network interfaces, network-bridge failing to create multiple bridges
From: Jan Vejvalka <jan.vejvalka@xxxxxxxxxxxxxxx>
Date: Thu, 05 May 2011 10:49:06 +0200
Cc:
Delivery-date: Thu, 05 May 2011 01:50:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTinPXZk=qOGoUVEsZSV39ZtyNjHcQQ@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: <4DC17A0C.6040709@xxxxxxxxxxxxxxx> <BANLkTinPXZk=qOGoUVEsZSV39ZtyNjHcQQ@xxxxxxxxxxxxxx>
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
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

I see. But I did not upgrade, I installed from fresh. Does it mean that
the /etc/xen/scripts/network-bridge script is obsolete ?

Is there some info/example on how to set up networking in Xen 4.1 that
is not distribution-specific ? So far, the most helpful for me was the
diagram in http://libvirt.org/archnetwork.html together with the
network-bridge script itself.

And one more question: how can I tell which document in xenwiki applies
to which version of Xen ?

Thanks,

Jan

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