[root@server02 network-scripts]# cat ifcfg-enp14s0 DEVICE=enp14s0 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no [root@server02 network-scripts]# cat ifcfg-enp14s0.35 DEVICE=enp14s0.35 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes VLAN=yes BRIDGE=br35 NM_CONTROLLED=no [root@server02 network-scripts]# cat ifcfg-br35 DEVICE=br35 TYPE=Bridge BOOTPROTO=none ONBOOT=yes IPADDR=10.64.35.92 PREFIX=24 GATEWAY=10.64.35.1 DNS1=10.64.28.200 DNS2=10.64.28.201 DOMAIN=acme.com NM_CONTROLLED=no
原文:https://gist.github.com/dutchiechris/30c6a1758ec13c4a04f7cc18018130dd#file-ifcfg-vlan-bridge-example