For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > 31 > kvm > bridge interface

bridge interface

Created by dave. Last edited by dave, 4 years and 37 days ago. Viewed 888 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
(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.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt