[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Network Bridge Troubles



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.