Previously, we showed you how to use Hyper-V, available in Windows 10 Pro only. here’s how to set up a virtual machine with another copy of Windows.
Previously, we showed you how to use Hyper-V, available in Windows 10 Pro only, to set up a virtual machine with another copy of Windows. I recently needed to perform some testing but realized I would need the Internet for this to work. Unfortunately, Hyper-V’s out of box networking support is not really intuitive. It can be done but is a bit involved. To share your computer’s Internet connection with a Hyper-V virtual machine, you will need to set up a virtual switch through your Internet connection. In this article, we show you how to do it.
Share Your Network Connection with a Hyper-V Virtual Machine
If you don’t have already have a virtual machine setup, check out our previous article for instructions. If you already do, proceed to launch the Hyper-V manager. Select your virtual machine, then click Virtual Switch Manager under the Actions pane.
Select New virtual network switch, select Internal, then click Create virtual switch.
Enter a name for your switch, then select Internal Network. Click Apply then OK.
Select your virtual machine, then click Settings under the Actions pane.
Select the Add Hardware tab; select Legacy Network Adapter, then click Add.
Click on the Virtual switch list box, then select the connection created earlier; mine is Groovy Connect. Click Apply then OK.
Right-click the network icon in the connection icon in the Notification area, then click Network and Sharing Center. There you will see your newly created connection.
In the same window, click Change Adapter Settings, select your network connection through which your computer connects to the Internet. Right-click the connection, click Properties, select the Sharing tab, then check the box All other network users to connect through this computers Internet connection.
You should now have the Internet set up in your virtual machine. This works whether you are using a wired or wireless connection.
If you run another edition such as Windows 10 Home, you can use a third-party virtual machine utility such as Oracle VirtualBox. VirtualBox handles the networking part of configuring and sharing Internet connections much easier.