apt upgrade on PVE8.0.4 Causes all VMs lose their IP

nsc117

New Member
Jan 10, 2023
17
0
1
what i do :apt upgrade on PVE8.0.4 host,
then:the core Linux 6.2.16-14 update to Linux 6.2.16-15
then i restart host,
after that all VMs lose their IPs.
It seems that the original network card is missing and replaced by a new network card, but the mac address has not changed, and the IP and DNS are empty.
This resulted in all VMs being unable to connect remotely and I had to reconfigure the IP via the VNC console
 
Dont do apt upgrade, do apt dist-upgrade.
apt upgrade can break your system because dependencies of packages will not be taken care of if you use it.

Regarding your issue: this might be a problem with udev. you can fix the interface names by using udev-rules that fix the name to a specific parameter like pcie-location. cp /usr/lib/systemd/network/99-default.link /etc/systemd/network/99-default.link and change parameter of location.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!