4
submitted 1 year ago by nobloat@lemmy.ml to c/debian@lemmy.ml

I've just switched from Fedora to Debian 12 and I can't seem to get bridge networking to work. I've followed the official guide and edited the /etc/network/interfaces. I double checked and everything is correct. I rebooted the system but my ethernet stopped working altogether. Are there any updated guides and common pitfalls that I should keep in mind. I need the bridge for kvm.

top 3 comments
sorted by: hot top controversial new old
[-] suprjami@lemmy.sdf.org 2 points 1 year ago

I'd get rid of that old networking and use NetworkManager like on Fedora.

You need to add the IP on the bridge, not the underlying NIC, but you probably know that already.

[-] nobloat@lemmy.ml 1 points 1 year ago

Yes I tried that but the VMs still can't connect to it. I did the same setup as in Fedora but it doesn't work

[-] bartlbee@lemmy.sdf.org 1 points 1 year ago

I can't find my notes on how I got this to work on Debian 11 but, if I recall correctly, I had to disable NetworkManager and setup networking directly via /etc/network/interfaces. I no longer have Debian running but at the time this worked for me:

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# allow-hotplug eno1
auto br0
iface br0 inet dhcp
    bridge_ports eno1
this post was submitted on 23 Jul 2023
4 points (100.0% liked)

Debian operating system

2718 readers
1 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS