question

AdolphZeng-9775 avatar image
0 Votes"
AdolphZeng-9775 asked AdolphZeng-9775 commented

The Hyper-V host network crashes after running for about 24 hours.

What Happend:
On a Windows 11 machine with Hyper-V turned on, the network will crash every 24 hours or so.
The specific symptom is that the network status in the lower right corner is displayed as not connected.
I don't find any events related to Hyper-V and networking in the system's Event Viewer.
The router's log shows only a disconnect, no errors.
At the same time other network devices found no problems.

What have I tried?

  • Reinstalled OS without Hyper-V enabled: succesful, it worked for a month without the same problem.

  • Execute ipconfig /renew command when disconnected: command failed.

  • Disable NIC and re-enable NIC: No effect.

  • Replug the network cable: no effect.

  • Run sfc /scannow: No integrity issues were found.

  • Rebooting the OS: Works, but the problem reappears after about 24 hours.

  • Using Windows Network Diagnostics: The problem can be found and fixed, but the problem still occurs after about 24 hours. Problems found: "The default gateway is unavailable(默认网关不可用 默认网关是将本地网络或计算机连接到 Internet 的设备。宽带调制解调器或路由器通常就是默认网关。重置“以太网 2”适配器此操作有时可以解决不稳定问题。)"

  • Setting the correct gateway manually instead of getting it automatically: doesn't work.

Environmental information:
System - Windows 11 Professional Workstation, 22000.376
NetWork Card - Realtek PCIe 2.5GbE Family Controller
Router System - Openwrt 19.07


windows-11windows-10-networkwindows-10-hyperv
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered AdolphZeng-9775 commented

Hello @AdolphZeng-9775

I can understand you are facing with Hyper-V VM networking.

  1. I can see that you have Realtek Network adapter and will suggest you to update its network drivers and also update BIOS firmware of your Windows 11 PC.

  2. Please also try disable Fast startup using below command with elevated prompt.

    powercfg -h off

  3. Disable any Antivirus program or Windows firewall you may have for temporary purpose.

  4. Delete and Re-Create Hyper-V vSwitch as it may be corrupted or malfunctioning .


--If the reply is helpful, please Upvote and Accept as answer--

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your suggestion, I will reply after I test it.

0 Votes 0 ·