Vorraussetzung: [[netzwerk]] mit eth0 und eth1 getestet
ethtool eth0 | grep 'Link detected: yes'
ethtool eth1 | grep 'Link detected: yes'
''/etc/modprobe.conf.local'' : SLES 11SP1
''/etc/modprobe.d/bonding.conf'' : CentOS 5
alias bond0 bonding
options bonding miimon=100 mode=0 use_carrier=0
==== SLES 11SP1 ====
''/etc/sysconfig/network/ifcfg-bond0'' :
BOOTPROTO='dhcp4'
STARTMODE='onboot'
NAME='bonding device'
BONDING_MASTER=yes
BONDING_SLAVE_0='eth0'
BONDING_SLAVE_1='eth1'
mv /etc/sysconfig/network/ifcfg-eth0{,.bak}
mv /etc/sysconfig/network/ifcfg-eth1{,.bak}
service network restart
==== CentOS 5 ====
''/etc/sysconfig/network/ifcfg-bond0'' :
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
BONDING_OPTS="miimon=100 mode=0 use_carrier=0"
''/etc/sysconfig/network/ifcfg-eth0'' :
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
''/etc/sysconfig/network/ifcfg-eth1'' :
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
service network restart