首页 > 其他 > 详细

Centos bonding +vlan

时间:2018-05-30 20:26:15      阅读:243      评论:0      收藏:0      [点我收藏+]
[root@node01 network-scripts]# cat ifcfg-enp1s0f0
TYPE=Ethernet
BOOTPROTO=none
NAME=enp1s0f0
DEVICE=enp1s0f0
ONBOOT=yes
MASTER=bond0
SLAVE=yes

[root@node01 network-scripts]# cat ifcfg-enp1s0f1
TYPE=Ethernet
BOOTPROTO=none
NAME=enp1s0f1
DEVICE=enp1s0f1
ONBOOT=yes
MASTER=bond0
SLAVE=yes

[root@node01 network-scripts]# cat ifcfg-bond0
TYPE=Ethernet
NAME=bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=4 miimon=100 xmit_hash_policy=layer3+4"


[root@node01 network-scripts]# cat ifcfg-vlan36
TYPE=Ethernet
NAME=vlan36
DEVICE=vlan36
ONBOOT=yes
PHYSDEV=bond0
VLAN=yes
BOOTPROTO=static
IPADDR=192.168.36.x
PREFIX=24
GATEWAY=192.168.36.xxx

 

Centos bonding +vlan

原文:https://www.cnblogs.com/gaozhengwei/p/9112892.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!