Share Your Network Connection with a Hyper-V Virtual Machine
If you don’t have already have 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. 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 in 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.