After Hyper-V has created a virtual machine, there is no network connection under the default configuration, which requires a simple configuration that allows the virtual machine to connect to the external network:
- In Hyper-V Manager, right-click on the menu that appears and select "Virtual Switch Manager"
- Select "External" in the list on the right and click on the "Create Virtual Switch" button
- In the drop-down menu of the interface that appears, select the network card that you can connect to the external network, and then click the OK button
- When this option is present, the point "OK" continues, it breaks the net for a few seconds, and then automatically recovers
- Another 360 security guards, such as "security protection" software may be blocked, to manually select Allow
- After the network recovery, open the virtual machine, set the IP (if the router turned on DHCP, then choose to automatically obtain an IP address), you can successfully network
Hyper-V virtual machine connects to external network