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