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] Network Bridge Troubles

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Network Bridge Troubles
From: "Brendan P. Caulfield" <brendan@xxxxxxxxxxxx>
Date: Wed, 3 Sep 2008 11:39:23 -0500 (CDT)
Delivery-date: Wed, 03 Sep 2008 09:40:02 -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
Hi All,

I am in the process of migrating from VMWare to Xen but am having some serious issues with networking. My setup is as follows:

I am running Xen 3.2 on Ubuntu 8.04. The server, an HP DL380, has two NICs (expanding to 6 once I get bridging working). I would like to run guest domains that will connect to separate physical VLANs. As such, I would like to create a bridge for each physical NIC to present, as appropriate, to guest domains. To this point, I have had very little luck with this.

I have read many tutorials about creating a custom network-bridge script and pointing to it in xend-config.sxp but each time I do this, networking on the entire box gets hosed and I need to get to the console, disable the custom script, and reboot before networking on the host will work again. I have also tried adding the second bridge manually by issuing:

/etc/xen/scripts/network-bridge start vifnum=1 netdev=eth1 bridge=xenbr1

This appears to create the bridge as evidenced by the output from brctl show:

eth0            8000.001cc4ee4958       no              peth0
xenbr1          8000.001cc4ee4956       no              peth1
                                                        tap0
                                                        vif14.0

and /etc/xen/scripts/network-bridge status:

============================================================
12: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1c:c4:ee:49:58 brd ff:ff:ff:ff:ff:ff
    inet 10.1.5.128/24 brd 10.1.5.255 scope global eth0
    inet6 fe80::21c:c4ff:feee:4958/64 scope link
       valid_lft forever preferred_lft forever
12: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 00:1c:c4:ee:49:58 brd ff:ff:ff:ff:ff:ff
    inet 10.1.5.128/24 brd 10.1.5.255 scope global eth0
    inet6 fe80::21c:c4ff:feee:4958/64 scope link
       valid_lft forever preferred_lft forever

bridge name     bridge id               STP enabled     interfaces
eth0            8000.001cc4ee4958       no              peth0
xenbr1          8000.001cc4ee4956       no              peth1
                                                        tap0
                                                        vif14.0

10.1.5.0/24 dev eth0  proto kernel  scope link  src 10.1.5.128
default via 10.1.5.1 dev eth0  metric 100

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 10.1.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.1.5.1 0.0.0.0 UG 100 0 0 eth0
============================================================

OK, so this all looks promising. I change my guest domain config to use xenbr1 but it just does not work. Has anyone had any luck with a configuration like this? It seems pretty simple to me. Any advice or pointers to documentation that might be helpful would be very much appreciated. Also, if helpful, I am very willing to provide additional information.

Thanks in advance for your time,

-brendan

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Network Bridge Troubles, Brendan P. Caulfield <=