Novell Home

My Favorites

Close

Please to see your favorites.

Bonded interface not functioning when network starts

(Last modified: 15Aug2006)

This document (10096919) is provided subject to the disclaimer at the end of this document.

fact

SuSE Linux Enterprise Server 8

United Linux 1.0

symptom

Bonded interface not functioning when network starts

Set up bonding on SLES8

cause

SLES8 doesn't enslave devices based on MASTER/SLAVE parameters in configuration files when the network starts. The network interfaces must be enslaved manually to the bond interface using ifenslave.

fix

The slave devices can be enslaved at network startup through the use of a script that runs when the bond interface is brought up. To create the script, do the following (the following example assumes a single bond interface bond0 and two ethernet interfaces, eth0 and eth1):

1. cd to /etc/sysconfig/network/scripts

2. Create a script file called bondup with the following contents:

#! /bin/sh

ifenslave bond0 eth0

ifenslave bond0 eth1

3. Make bondup executable (i.e. chmod 755 bondup)

4. Open /etc/sysconfig/network/ifcfg-bond0 in a text editor and add the following:

POST_UP_SCRIPT='/etc/sysconfig/network/scripts/bondup'

5. Run rcnetwork restart

After the bond interface is brought up, the bondup script will run and enslave the ethernet devices.

note

For more information and help with setting up bonding in SLES8:  http://www.novell.com/coolsolutions/feature/15280.html

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

  • Document ID:
  • 10096919
  • Solution ID: NOVL101323
  • Creation Date: 09Mar2005
  • Modified Date: 15Aug2006
    • NovellLinux

Did this document solve your problem? Provide Feedback