网卡绑定配置
# cat ifcfg-em1
TYPE=Ethernet
BOOTPROTO=none
DEVICE=em1
ONBOOT=yes
MASTER=bond0
SLAVE=yes
# cat ifcfg-bond0
DEVICE=bond0
TYPE=Bond
NAME=bond0
BONDING_MASTER=yes
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
ONBOOT=yes
BONDING_OPTS="mode=5 miimon=100"
BRIDGE="cloudbr0"
# cat ifcfg-cloudbr0
DEVICE="cloudbr0"
TYPE="Bridge"
NAME="cloudbr0"
BOOTPROTO="static"
ONBOOT="yes"
IPADDR=*.*.*.*
PREFIX=16
GATEWAY=*.*.*.*
DNS1=*.*.*.*
DNS2=*.*.*.*
注:bond大小写与BOOTPROTO后面跟的协议要按上面写,bond为5模式,0,1,均可,6模式存在反映慢。所以改成5.