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

Adolph Zeng 1 Reputation point
2022-01-11T04:08:51.623+00:00

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

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,560 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,276 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,295 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,396 Reputation points
    2022-01-17T20:52:15.587+00:00

    Hello @Adolph Zeng

    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--