Windows VM NIC disconnects and how to fix it

alexc

Active Member
Apr 13, 2015
123
4
38
As we moved to PVE 6.2 (just several hosts, not huge install), we noticed that Windows server VMs we used to run on PVE are to see sudden NIC stop working. The fix is really simple: set NIC to not connected (no link) in PVE web interface, apply changes, the connect it again and apply again - all become fine until next lost of network.

Several VMs with different Windows versions, different Virtio drivers (both E100 and Virtio NICs are tested) - no luck. This shouldn't be that way I suppose.

All hosts are of the same hardware paltform, so host NICs are the same, too, Not tried to replace drivers/modules due to our policy to use pure PVE (no upgrades beside pure Debian system utility upgrade) so hosts should remains the same.

So the first question is how to fix that?

and the second question if I can set NIC to "no link" and then to "link" on PVE side via some API call, so I can do that nightly via cron?
 
Hi,

this is not normal behavior. What NICs do you use on these nodes (HW)?
Yes you can set it with an API call

HTTP: GET /api2/json/nodes/{node}/qemu/{vmid}/config
CLI:pvesh get /nodes/{node}/qemu/{vmid}/config
 
This is onboard NIC which lists this way:
Code:
1c:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 1GbE (rev 09)
1c:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 1GbE (rev 09)
What kind of info should I collect more for you?
 

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!