Centos 配置网卡绑定(bond)
cd /etc/sysconfig/network-scripts/
cat ifcfg-em1
TYPE=Ethernet
BOOTPROTO=none
DEVICE=em1
ONBOOT=yes
SLAVE=yes
MASTER=bond0
cat ifcfg-em2
TYPE=Ethernet
BOOTPROTO=none
DEVICE=em2
ONBOOT=yes
SLAVE=yes
MASTER=bond0
cat ifcfg-bond0
DEVICE=bond0
TYPE=Bond
NAME=bond0
BONDING_MASTER=yes
BOOTPROTO=static
USERCTL=no
ONBOOT=yes
IPADDR=1.1.1.1
NETMASK=255.2555.255.0
GATEWAY=1.1.1.254
DNS1=1.1.1.2
BONDING_OPTS="mode=0 miimon=100"