Skip to main content

KVM Bridge Interface

(2020-02-11)

Creating A Bridge Interface for KVM VMs

# nmcli connection add type bridge autoconnect yes con-name br0 ifname br0
# nmcli connection modify br0 ipv4.addresses 10.255.0.5/24 ipv4.method manual ipv4.gateway 10.255.0.1
# nmcli connection modify br0 ipv4.dns 10.255.0.10 +ipv4.dns 1.1.1.1
# nmcli connection delete enp3s0
# nmcli connection show
# nmcli connection add type bridge-slave autoconnect  yes con-name enp3s0 ifname enp3s0 master br0
# nmcli connection up br0
# nmcli connection show

Commentary

I'll admit that it's not clear to me why you have to give the Fedora system an IP on the bridge interface.