一、配置/etc/modprobe.conf

alias bond0 binding

options bond0 mode=1 miimon=100 use_carrier=0

#mode=0 均衡状态 mode=1 冗余模式

二、配置/etc/sysconfig/network-script/ifcfg-bond0

DEVICE=bond0

ONBOOT=yes

BOOTPROTO=static

IPADDR=192.168.0.1

NETMASK=255.255.255.0

GATEWAY=192.168.0.254

三、配置/etc/sysconfig/network-script/ifcfg-eth0 eth1

DEVICE=eth0

ONBOOT=yes

BOOTPROTO=static

MASTER=bond0

SLAVE=yes