Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-01-2009, 12:37 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 24

Rep: Reputation: 15
Using Xen and NIC bonding: please help!

This is a bit of a continuation of my previous thread:

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:

(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:

(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!

Last edited by djbon2112; 07-02-2009 at 03:57 PM.
Old 07-02-2009, 03:48 PM   #2
LQ Newbie
Registered: Sep 2008
Posts: 24

Original Poster
Rep: Reputation: 15
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!


bonding, debian, error, lenny, nic, xen

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nic Bonding mstjohn1974 Slackware 9 06-15-2012 10:26 PM
NIC Bonding: Does not failover successfully. Only one NIC is active Akhran Debian 2 02-18-2011 07:26 PM
Xen and eth bonding on Debian Lenny = PITA! djbon2112 Linux - Server 2 05-21-2009 01:00 PM
Nic bonding in XEN kernel akvino Linux - Enterprise 2 08-28-2008 10:56 AM
NIC Bonding zimm247 Red Hat 1 06-28-2008 07:22 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration