One, Nic binding: 1: Create a Ifcfg-bond0
#cd/etc/sysconfig/network-scripts/
#vi ifcfg-bond0
Device=bond0
Type=ethernet
Onboot=yes
Bootproto=static
ipaddr=10.5.20.13
netmask=255.255.252.0
gateway=10.5.20.253
bonding_opts= "Mode=0 miimon=100" # #mode有多种模式实现不同的功能
2: Modify/etc/sysconfig/network-scripts/ifcfg-eth*
#vi Ifcfg-eth0
Device=eth0
Onboot=yes
Bootproto=none
Master=bond0
Slave=yes
#vi ifcfg-eth1
Device=eth1
Onboot=yes
Bootproto=none
Master=bond0
Slave=yes
3: Configure/etc/modules.conf, add alias bond0 bonding
This configuration may not be required to create
#vi/etc/modules.conf
Alias net-pf-10 off
Alias IPv6 off
Options IPv6 disable=1
Alias Bond0 Bonding
4: Restart Service
#service Network Restart
You can view /proc/net/bonding/bond0 to see what Bond is currently being used in what mode
This article is from the "Stone" blog, be sure to keep this source http://410477.blog.51cto.com/400477/1638976
Linux Bond configuration steps