Hyper-V Host Can’t Get to the Internet
Windows 8.1 Pro with the Hyper-V Role installed. One physical NIC with a static IP address.
Configure an External Virtual Switch bound to the physical adapter.
Virtual machines can get to the Internet just fine but the Hyper-V server cannot.
Hyper-V server can’t even ping Bing.
Hmmmm…can’t even resolve bing.com. Looking at the IPv4 properties of the vEthernet (External) NIC there is no DNS configured.
Add the IP of the router (or whatever DNS server you use) back in for the DNS server(s). Now the Hyper-V server can access the Internet.
When creating the External Virtual Switch a dialog box popped up that said, “Pending changes may disrupt network connectivity. This computer may loose blah, blah, blah”. But then it says, “These changes also may overwrite some static changes. If that happens, you must reapply the static changes to restore network connectivity.”
So there you go. When configuring Hyper-V to use a NIC that has a static IP configured you may loose some or all of it when it moves those settings to the vEthernet NIC.