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] Bridge script does not work as intended

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Bridge script does not work as intended
From: Julien Croquant <julien_croquant@xxxxxxxxxx>
Date: Sat, 1 Sep 2007 20:44:05 +0000
Delivery-date: Sat, 01 Sep 2007 13:44:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I'm searching since nearly a week, but maybe I'm not searching the right way.

I'm using xen 3.0.3-0-2 on a Debian etch.
The Debian is "out of the box" with the last automatic updates.
The xen is "out of the box" from apt-get with the last automatic updates.

I create VM without problems, and they are running fine. But the network have a problem. I'm not an expert with Linux but managed to find that bridge script may have a problem.

For example after a reboot :
# brctl show
bridge name   bridge id                  STP enabled   interfaces
xenbr0          8000.000000000000  no

I think something is missing.


I then restart xend :
# /etc/init.d/xend restart

and check the bridge :
# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
xenbr1 8000.feffffffffff no vif0.1
                                peth1

I then launch a VM :
# xm create /mypath/myconfigfile1

and check the bridge :
# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.0e719a66984e no tap0
                                vif1.0
xenbr1 8000.feffffffffff no vif0.1
                                peth1

I think tap0 have nothing to do here. Maybe I'm wrong.

I then start a second VM :
# xm create /mypath/myconfigfile2
and check the bridge :
# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.de33e438747f no tap0
                                vif2.0
xenbr1 8000.feffffffffff no vif0.1
                                peth1

vif1.0 is replaced by vif1.0

After the vm are stopped :
# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.000000000000 no
xenbr1 8000.feffffffffff no vif0.1
                                peth1

I currently don't know enought to solve this problem alone.
Anyone have an idea to help me ?



Explore the seven wonders of the world Learn more!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Bridge script does not work as intended, Julien Croquant <=