vim /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.100
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
DNS1=61.177.7.1
DNS2=8.8.8.8
vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
vim /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
vim /etc/sysconfig/network
GATEWAY=192.168.0.254
vim /etc/modprobe.conf
alias bond0 bonding
options bond0 miimon=100 mode=1
vim /etc/rc.d/rc.local
ifenslave bond0 eth0 eth1