Linux/CentOS & RHEL

[Network] CentOS / RHEL Bridge 설정

짜꾸미의골골몽 2020. 9. 23. 13:45

Master connection not found or invalid 발생 시
-> service NetworkManager stop

[root@bridge network-scripts]# cat ifcfg-br0
DEVICE="br0"
BOOTPROTO="static"
IPV6INIT="no"
MTU="1500"
ONBOOT="yes"
TYPE="Bridge"
IPADDR="172.10.20.6"
NETMASK="255.255.255.0"
GATEWAY="172.10.20.1"

[root@bridge network-scripts]# cat ifcfg-enp2s0
# Generated by dracut initrd
NAME="enp2s0"
DEVICE="enp2s0"
ONBOOT=yes
NETBOOT=yes
UUID="b153fdb8-bc07-4c1d-9de7-f6af7d472d88"
BOOTPROTO=none
TYPE=Ethernet
#IPADDR=172.10.20.6
#NETMASK=255.255.255.0
#GATEWAY=172.10.20.1
BRIDGE="br0"