1. Add following in /etc/modprobe.conf
alias bond0 bonding
options bond0 miimon=100 mode=6
2. create a file /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.100.22.99
NETMASK=255.255.255.0
USERCTL=no
TYPE=Ethernet
3. cofigurate all of your NIC like following
# vi /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=yes
# vi /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
ONBOOT=yes
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=yes
4. service network restart
Reference: /usr/share/doc/iputils-20020927/README.bonding
阅读(652) | 评论(0) | 转发(0) |