[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Create bridge for KVM on local workstation



Hi,

I have Debian Trixie with KDE installed on my local HP Z440 workstation.

In the default configuration network is managed by NetworkManager. I have a router in my local network, and the workstation is a DHCP client.

# ip -brief -family inet address show
lo               UNKNOWN        127.0.0.1/8
enp3s0           UP             192.168.2.3/24
# nmcli con show
NAME                UUID                                  TYPE      DEVICE
Wired connection 1  bfe0ecbc-1a65-4487-b7d8-5aaa563286ff  ethernet  enp3s0
lo                  3552564c-088e-4907-ad2d-3b285a8439cc  loopback  lo

I'd like to create a br0 bridge with enp3s0 as a bridge slave, so I can have virtual machines on this machine connect to the local network.

What's the Debian way of doing this? Create a bridge with NetworkManager using nmtui? Edit /etc/network/interfaces or some configuration file stub around there?

I'm a long-time Linux user (25 years of experience) but I'm just back from a very (!) long break from Debian.

Cheers,

Niki

--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://www.microlinux.fr/blog
Mail : info@microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12


Reply to: