Setup Virtual server in Hyper-V connect to Internet (Exam 70-462)
Setup up External Virtual Switch
From Hyper-V manager, click on Virtual Switch Manager
In Create Virtual Switch Manager, that is 3 options (External;Internal;Private)
External
Creates a virtual switch that binds to the physical network adapter so that virtual machines can access a physical network.
Internal
Creates a virtual switch that can be used only by the virtual machines that run on this physical computer, and between the virtual machines and the physical computer. An internal virtual switch does not provide connectivity to a physical network connection.
Private
Creates a virtual switch that can be used only by the virtual machines that run on this physical computer.
I want setup virtual server to use internet to active my window license, in this case, I create external virtual switch.
I change the name to "External" and choose my network card.
When I press ok, it give me Apply networking changes warning, I press "Yes"
I can see the External Virtual switch created
From virtual server-> DC ->Settings
I select "Add Legacy Network Adapter" and press "Add"
I change Virtual switch option from "Not Connected" to "external"; the virtual switch I created just now and press "ok"
After complete setting, I start my virtual server and virtual server can connect to internet
The above is for Exam 70-462 lab setting environment.