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
_____________________________________________________________________________________
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM