LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Using Xen and NIC bonding: please help! (http://www.linuxquestions.org/questions/linux-server-73/using-xen-and-nic-bonding-please-help-736996/)

djbon2112 07-01-2009 12:37 PM

Using Xen and NIC bonding: please help!
 
This is a bit of a continuation of my previous thread: http://www.linuxquestions.org/questi...y-pita-720545/

I'm having a hell of a time trying to get my bonded NICs and Xen to play together in Debian Lenny!

My xen-config.sxp network part looks like this:

Code:

(network-script network-bridge)
...that is, the default. My interface (bonded) is called bond0. I know it's configured correctly, because without Xen loaded, the bonded interface works great. However, when this loads, Xen tries to use eth0 (my "default" interface I guess) as its bridge and it takes the bond down. If I change the network part to be like this:

Code:

(network-script 'network-bridge netdev=bond0')
... I get more errors about "pbond0 not being added to bridge bond0".

In both cases, when running ifconfig, "bond0", "eth0" and "eth1" are all absent, and all I see are my loopback adapter, "pbond0", which has no MAC or IP, and sometimes a "peth0" which also has no IP, and I have no networking.

I was wondering if someone could tell me exactly what I need to put in xen-config.sxp, or how to edit the network-bridge script, for it to use my bond (bond0) as the primary interface!

djbon2112 07-02-2009 03:48 PM

Well, I tried editing the network-bridge script, replacing the instance of eth0 with bond0, though it doesn't seem to have worked. The XenNetworking page on the Xen Wiki gives two cases involving bonded interfaces, but gives no specifics on how they're configured!


All times are GMT -5. The time now is 08:16 PM.