I'm facing a problem with one of my VMs after live migrating several from one host to another. Unlike the others that are working fine, this particular VM can't seem to grab an IP from the DHCP server. I've attempted to set a static IP, but it still can't access the internet. All the VMs, including those that are functioning without issues, are connected to the same virtual switch. Here's what I've already tried: disabling and re-enabling the NIC, uninstalling and reinstalling the Hyper-V network adapter via Device Manager, setting a static MAC address for the NIC, and rebooting the VM. Just to note, the network setup is flat; there are no VLANs. Has anyone else experienced this issue?
5 Answers
You might want to try removing the NIC entirely and then re-adding it to see if that resolves the issue. It could be a simple fix!
Have you tried adding a secondary NIC that's connected to the same virtual switch? Sometimes that can help in grabbing a DHCP lease. Just a thought!
The virtual switch has two physical NICs bonded to it, so I don't think that's the problem.
This seems like a common issue that can stem from network adapter or virtual switch settings. Double-check the NIC and vSwitch settings to make sure both DHCP and static IP are configured correctly.
The vSwitch is set up correctly. It's a SET switch specifically, and the other VMs on the host are operating without issues.
Make sure to turn off the firewall since it could be interfering with connectivity. Also, check how the NIC appears in the Device Manager. Are all protocols and clients enabled on the NIC? Don't forget to ensure guest services are enabled on the VM.
Have you tried uninstalling the network adapter from Device Manager and making sure any hidden network adapters are uninstalled as well? Then you can try discovering new hardware.

I tried that, but unfortunately it didn’t work.