Obviously this is more for the homelab folks.
Be cautious upgrading to Proxmox 8. There’s a newer driver that doesn’t like some of the Realtek chipsets.
Here’s the fix that worked for me:
-
Run
lspci -v
to make sure you’re actually running the problematic driver. (r8169, in this case.) -
Add the non-free debian repository to your sources.list and update your apt cache.
deb http://ftp.de.debian.org/debian bookworm main non-free
-
Make sure you have the
pve-headers
package installed.apt install pve-headers
. For some reason this was missing on my system. -
Install the r8168-dkms package.
apt install r8168-dkms
-
Blacklist the r8169 driver.
modprobe -r -v r8169
-
Reboot.
-
Run
lspci -v
again to make sure you’re running r8168 now.
Hopefully this saves someone the headache that I had yesterday.