Posts Tagged ‘static ip addresses’

Hyper-V Host Can’t Get to the Internet

The Configuration

Windows 8.1 Pro with the Hyper-V Role installed. One physical NIC with a static IP address.

1 static ip

Configure an External Virtual Switch bound to the physical adapter.

2 virtual switch

The Problem

Virtual machines can get to the Internet just fine but the Hyper-V server cannot.

3 no internet

Hyper-V server can’t even ping Bing.

4 no bing ping

Hmmmm…can’t even resolve Looking at the IPv4 properties of the vEthernet (External) NIC there is no DNS configured.

5 no dns

The Solution

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.

The Cause

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.”

6 apply network changes

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.


Error Renaming Network Card

July 26, 2011 3 comments

After installing KB2521220 on a server I noticed that my NICs no longer had static IP addresses & were picking up IP addresses from DHCP. Digging a little deeper I noticed that the NICs were all identified as new devices. Kind of like if you were to move a NIC from one slot to the other. It’s the same NIC but the OS identified it as a new device.



I open Network Connections (ncpa.cpl) & see that the two NICs I had renamed are back to the default (Local Area Connection, Local Area Connection 2, etc.). I right click to rename the first one & get an error that says, “Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.”

I do a little Binging (yeah, I said it) & come across KB269155. It basically talks about orphaned devices & how to remove them. Following Method 1 in the article I see the six orphaned NICs.

  • From a command prompt type set devmgr_show_nonpresent_devices=1
  • Open Device Manager (devmgmt.msc).
  • Click View>Show hidden devices.

I right click each of the orphaned NICs & select Uninstall. (Do not uninstall the driver!!!) After that I’m able to go back & rename my NICs.

%d bloggers like this: