Protected: Linux SELinux

This content is password protected. To view it please enter your password below:

Advertisements

KVM Bridging and Bonding

[root@MTEST ~]# cat /etc/sysconfig/network-scripts/ifcfg-
ifcfg-bond0 ifcfg-br0 ifcfg-enP1p1s0f2 ifcfg-enP2p1s0f2 ifcfg-lo
[root@MTEST ~]# ls -l /etc/sysconfig/network-scripts/ifcfg-bond0
-rw-r–r–. 1 root root 85 Nov 7 2016 /etc/sysconfig/network-scripts/ifcfg-bond0
[root@MTEST ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BONDING_OPTS=’mode=1 miimon=100′
BRIDGE=br0
NM_CONTROLLED=no

[root@MTEST ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
ONBOOT=yes
TYPE=Bridge
IPADDR=10.81.189.51
NETMASK=255.255.255.192
GATEWAY=10.81.189.1
NM_CONTROLLED=no

[root@MTEST ~]# cat /etc/sysconfig/network-scripts/ifcfg-enP1p1s0f2
TYPE=Ethernet
BOOTPROTO=no
NAME=enP1p1s0f2
UUID=22a0a65e-1212-48f5-ae4e-d5491a867657
DEVICE=enP1p1s0f2
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=98:be:94:68:9e:a2

 

[root@MTEST ~]# cat /etc/sysconfig/network-scripts/ifcfg-enP2p1s0f2
TYPE=Ethernet
BOOTPROTO=no
NAME=enP2p1s0f2
UUID=bcd70f87-19d8-4f3d-914c-b08250866d69
DEVICE=enP2p1s0f2
ONBOOT=yes
MASTER=bond0
SLAVE=yes
HWADDR=98:be:94:68:8f:7e
https://docs.fedoraproject.org/en-US/Fedora/24/html/Networking_Guide/sec-Network_Bridge_with_Bond.html
https://docs.solusvm.com/display/DOCS/KVM+Bridge+Setup