Debian VM drops connectivity (outward ) after a few hours

superczar

Active Member
Feb 11, 2018
5
1
43
44
I have a Debian VM running wireguard.
The VM seems to lose outbound connectivity after anywhere between a few to several hours.

To expand further, when this happens, I can still ssh to it from elsewhere on the the LAN but if I try pinging any IP from the SSH (or proxmox console) session, it does not work.

The only way to fix it is via systemctl networking restart followed by a VM reboot

The interfaces file:
Code:
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug ens18
iface ens18 inet static
address 192.168.5.251
netmask 255.255.255.0
gateway 192.168.5.1
dns-nameserver 8.8.8.8

I have literally no idea where to start troubleshooting this..
The vmbr does not have a hardware or config problem as other VMs on the same bridge continue to work fine