centos7+kvm + bond + bridge 搭建方法

前端之家收集整理的这篇文章主要介绍了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

猜你在找的CentOS相关文章