User guide
3–InfiniBand
®
Cluster Setup and Administration
IB Bonding
3-8 IB0054606-02 A
SuSE Linux Enterprise Server (SLES) 10 and 11
The following is an example for bond0 (master). The file is named
/etc/sysconfig/network-scripts/ifcfg-bond0:
DEVICE="bond0"
TYPE="Bonding"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
BROADCAST="192.168.1.255"
BOOTPROTO="static"
USERCTL="no"
STARTMODE="onboot"
BONDING_MASTER="yes"
BONDING_MODULE_OPTS="mode=active-backup miimon=100
primary=ib0 updelay=0 downdelay=0"
BONDING_SLAVE0=ib0
BONDING_SLAVE1=ib1
MTU=65520
The following is an example for ib0 (slave). The file is named
/etc/sysconfig/network-scripts/ifcfg-ib0:
DEVICE='ib0'
BOOTPROTO='none'
STARTMODE='off'
WIRELESS='no'
ETHTOOL_OPTIONS=''
NAME=''
USERCONTROL='no'
IPOIB_MODE='connected'
The following is an example for ib1 (slave 2). The file is named
/etc/sysconfig/network-scripts/ifcfg-ib1:
DEVICE='ib1'
BOOTPROTO='none'
STARTMODE='off'
WIRELESS='no'
ETHTOOL_OPTIONS=''
NAME=''
USERCONTROL='no'
IPOIB_MODE='connected'