环境说明:
服务器bond mode=4,需要交换机侧配置lacp
ifcfg-em1
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
IPV4_FAILURE_FATAL=no
NAME=em1
DEVICE=em1
ONBOOT=yes
MASTER=bond0
SLAVE=yes
ifcfg-em2
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
IPV4_FAILURE_FATAL=no
NAME=em2
DEVICE=em2
ONBOOT=yes
MASTER=bond0
SLAVE=yes
ifcfg-br0
TYPE=Bridge
DEVICE=br0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.8.18
NETMASK=255.255.255.0
GATEWAY=192.168.8.184
DNS1=192.168.0.201
DNS2=192.168.0.202
ifcfg-bond0
DEVICE=bond0
TYPE=bond
BONDING_MASTER=yes
BONDING_OPTS="mode=4 miimon=100"
ONBOOT=yes
BOOTPROTO=static
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
BRIDGE=br0