微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

centos7+kvm + bond + bridge 搭建方法

bond搭建方法

http://www.centoscn.com/CentOS/Intermediate/2016/0130/6726.html

bond + bridge 搭建方法

http://www.07net01.com/2015/08/918445.html

配置文件

enp0s8

[root@localhost network-scripts]# cat ifcfg-enp0s8

TYPE=Ethernet
BOOTPROTO=none
NAME=enp0s8
DEVICE=enp0s8
ONBOOT=yes
MASTER=bond0

enp0s9

[root@localhost network-scripts]# cat ifcfg-enp0s9

TYPE=Ethernet
BOOTPROTO=none
NAME=enp0s9
DEVICE=enp0s9
ONBOOT=yes
MASTER=bond0

bond0

[root@localhost network-scripts]# cat ifcfg-bond0

TYPE=Bond
BOOTPROTO=none
PEednS=yes
BONDING_MASTER=yes
NAME=bond0
DEVICE=bond0
ONBOOT=yes
BRIDGE=br0

br0

[root@localhost network-scripts]# cat ifcfg-br0

TYPE=Bridge
BOOTPROTO=static
PEednS=yes
NAME=br0
DEVICE=br0
ONBOOT=yes
IPADDR=192.168.0.204
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
DNS1=8.8.8.8
USERCTL=no

原文地址:https://www.jb51.cc/centos/380996.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。