What are the steps to set up a Hyper-V solution with one NIC

hyper-vnetworkingnicwindows-server-2008-r2

I have successfully installed centos on a virtual machine via Hyper-V on Windows Server 2008 R2. This server has one NIC.

I have created a virtual NIC, and virtual subnet, and within the virtual machine (via console) I can ping the gateway. But not google. Is there certain steps I am missing, I feel like I'm one setting away.

Im not sure what other information would be useful.

Here is the ipconfig of the host:

Ethernet adapter vNIC losangeles1_1:

Connection-specific DNS Suffix .. :
IPv4 Address. . . . . . . . . . . : 10.10.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :


Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix .. :
IPv4 Address. . . . . . . . . . . : 72.51.43.43
Subnet Mask . . . . . . . . . . . : 255.255.255.192
Default Gateway . . . . . . . . . : 72.51.43.1 

Here is the Virtual Network Manager of the host:

enter image description here

Best Answer

When you created your virtual network, you probably chose an 'Internal' type. This does not allow traffic out of the machine (unless you monkey around installing a loopback adapter on your host and route the traffic through that).

You need to create an External virtual network.