Networking interface won't start after snapshot restore

GP123

Member
Dec 20, 2021
10
0
6
34
Hello all,

I had something weird happen today, and I can't seem to figure out the root cause of it. The issue actually stumped my entire company and it was recommended to me that I just rebuild the VM entirely. I obviously don't want to do that, as it has important stuff on it, and it would require many man hours.

This VM hasn't been restarted in over 100 days because it's a production box for the company I work at, so a change could have been done a while ago and it would just now be causing issues.

The issue: I took a snapshot of one of my VMs because I was doing work on it - I did not touch anything networking related. I had an issue and had to revert back to the snapshot. When I reverted back, the networking interface decided to crap the bed, and I can't seem to figure out why. I am doing PCIE passthrough for the NIC to the VM, never had an issues with it before. I triple checked my VMs networking config, and I can only find one odd thing in dmesg.

I am running PVE 7.1-7
VM is ubuntu 18.04.4

ip a
2: ens16: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_IP> mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether 02:42:d3:c5:60:3c brd ff:ff:ff:ff:ff:ff

dmesg | grep -e ixgbe -e enp
[ 1.247113] ixgbe 0000:00:10.0 ens16: renamed from eth0 [ 8.398511] ixgbe 0000:00:10.0: registered PHC device on ens16 [ 166.209337] ixgbe 0000:00:10.0: removed PHC on ens16 [ 946.736109] ixgbe 0000:00:10.0: registered PHC device on ens16 [ 955.648170] ixgbe 0000:00:10.0: removed PHC on ens16
This flip flop of the ens16 interface getting added and removed goes on for a while before it gives up.

Censored IP addresses.
/etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity' network ethernets: ens16: addresses: - xxx.xxx.xx.xxx/30 gateway4: xxx.xxx.xx.xxx nameservers: addresses: - xxx.xxx.xx.xx - xxx.xxx.xx.xxx search: [] version: 2
 
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!