Recenly I got confused setting up VLAN and deliver it to my virtualization server(s). I pretty sure my VLAN configuration was working fine and double check the logic is working. I have 10 (Ten) KVM Host, 9 nine of them was properly connected to networks (bridged interface(s)) and the other is having problem because of the bridge interface won’t up.
The interface can’t connect to existing networks, it can be caused by manual bridge interface creation.
Since the network configuration is a bit differents between EL6 and EL7, nmcli is the key here. Trying to hook up manual configuration by adding
brX interface on
/etc/sysconfig/networks-script, but no luck.
Have you setup your bridge interface using this
old configuration ?
If yes, trying to avoid that, and you should (must!) using
To create bridge interface, you just only type this in your servers.
[root@linux ~]# nmcli con add type bridge ifname br0 stp yes priority 36864
[root@linux ~]# nmcli con add type ethernet ifname enp1s0f0 master bridge-br0
enp1s0f0 is the interface and change with your real interface name, then
br0 is new bridge interface, you can named it, and it’s not always br0 (can be br1, br2, etc). And if you want to see script files inside
/etc/sysconfig/networks-script/, it should be like this :
If you’re using NetworkManager on EL7, you should avoid creating or editing network configuration located under
/etc/sysconfig/networks-script. Use NetworkManager (available on
nmtui) instead of manual.