LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-01-2009, 12:37 PM   #1
djbon2112
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: 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!

Last edited by djbon2112; 07-02-2009 at 03:57 PM.
 
Old 07-02-2009, 03:48 PM   #2
djbon2112
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!
 
  


Reply

Tags
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


All times are GMT -5. The time now is 09:06 PM.

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