Get the App
SLTechnology News&Howtos  ›  Servers  › 

Network connection problem of Microsoft Hyper-V virtual host

Shulou Source: shulou.com Published: 2022-06-03 09:33:54 12月06日 Update

This problem often occurs, my Host host version is Windows Server 2012 R2, the version is older, on the new Windows Server 2019, this problem is not found.

The fault phenomenon is that the virtual host of Hyper V is suddenly inaccessible, and you can also open this virtual host through the Host host, and then the IP address configuration of that network card is normal, that is, ping is not available.

The general IT will simply restart the HOST server, and the problem can be solved.

As a second-class IT, I don't do that. Just change the problematic virtual host to a virtual switch right away. Don't tell me that there are only two network cards in your server. I usually require at least four network cards when purchasing a server. When I do a virtual switch, I do at least three, and allocate the use of virtual network cards according to the number of virtual machines.

If you want to show off the technology, do not use GUI to operate, as an administrator to open Powershell.

Get-VMNetworkAdapter, and then Set-VMNetworkAdapter

The command does not know how to use it, hehe, go to see the document. I can't read English. I'll give you a dictionary, and then I'll give you a how to look it up.

Https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vmnetworkadapter?view=win10-ps

If you want to learn how to solve the problem, the problem will be solved easily. Of course, can be solved with the command line, less mouse, or different guilds will look down on you, steal your teacher, learn your skills, but also corrupt you behind.

Tags: Problems hosts network cards servers services virtual hosts switches commands dictionaries that is versions one three two addresses rare technology failures quantity documents Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information MySQL Linux Microsoft MariaDB