NAME


ifcfg-bonding - interface bonding configuration

SYNOPSIS


/etc/sysconfig/network/ifcfg-bond*

Bonding Interfaces


To setup a bonding interface you need a configuration file ifcfg-bond<X> with the usual network settings. But you must add additional variables
BONDING_MASTER
 must be set to ’yes’ to identify this interface as a bonding interface
BONDING_SLAVE_<X>
 here you specify the interface name representing the slave network device.
BONDING_OPTS
 contains additional options for ifenslave, this one is optional and not important for most cases. For additional information take a look into the documentation mentioned at the bottom of this section.
BONDING_MODULE_OPTS
 contains additional options for the bonding kernel module. Here you can set interface timeouts or working modes (’mode=1’ for backup mode). For additional information take a look into the documentation mentioned at the bottom.

Example


Example for a bonding device on eth0 and eth1 using the backup mode

ifcfg-bond0 STARTMODE=’onboot’ BOOTPROTO=’static’ IPADDR=’192.168.0.1/24’

BONDING_MASTER=’yes’ BONDING_SLAVE_0=’eth0’ BONDING_SLAVE_1=’eth1’ BONDING_MODULE_OPTS=’mode=1’ # backup mode

Additional Information


For additional and more general information take a look into /usr/src/linux/Documentation/networking/bonding.txt. Maybe you need to install the kernel sources to get this additional documentation.

The configuration of routes for this kind of interface does not differ from ordinary interfaces. See man routes for details.

BUGS


Please report bugs at <http://www.suse.de/feedback>

AUTHOR


Christian Zoz <zoz@suse.de> -- ifup script Wilken Gottwalt <wgottwalt@suse.de> -- ifcfg-bonding manual page

SEE ALSO


ifcfg(5), ifup(8).

openSUSE Logo

Contents