bond mode4 配置

[root@compute-3-17 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
TYPE=Bond
NAME=bond0
BONDING_MASTER=yes
BOOTPROTO=none
USERCTL=no
ONBOOT=yes
BONDING_OPTS="mode=4 miimon=100"
________________________________________________________________________
[root@compute-3-17 network-scripts]# cat ifcfg-bond0.3015
DEVICE=bond0.3015
NAME=bond0.3015
BOOTPROTO=none
USERCTL=no
ONBOOT=yes
IPADDR=10.152.3.17
PREFIX=24
GATEWAY=10.152.3.254
VLAN=yes
_________________________________________________________________________
[root@compute-3-17 network-scripts]# cat ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=none
NAME=eth0
DEVICE=eth0
ONBOOT=no
[root@compute-3-17 network-scripts]# cat ifcfg-eth1
TYPE=Ethernet
BOOTPROTO=none
NAME=eth1
DEVICE=eth1
ONBOOT=no
[root@compute-3-17 network-scripts]# cat ifcfg-eth2
TYPE=Ethernet
BOOTPROTO=none
DEVICE=eth2
ONBOOT=yes
MASTER=bond0
SLAVE=yes
[root@compute-3-17 network-scripts]# cat ifcfg-eth3
TYPE=Ethernet
BOOTPROTO=none
DEVICE=eth3
ONBOOT=yes
MASTER=bond0
SLAVE=yes
_____________________________________________________________________________________
 
原文地址:https://www.cnblogs.com/openstack-elk/p/7079502.html