Solved
Hyper-V host with single NIC
Posted on 2013-01-15
I have Windows Server 2012 Hyper-V host with single NIC, and two public static IPs assigned to the NIC. My aim was to use the same NIC for both: host Internet access, and VM Internet access, by assigning one IP to the host, and the second IP to the guest VM.
I'm aware that Microsoft recommends that at least two NICs should be used (one for managing the host, and others for VMs), but I've understood that it is not mandatory, and that it can be done with just one NIC with multiple IPs. (I'm using the same setup with vSphere for years.)
What I've done:
I've created external virtual switch, with "allow host to use..." selected, I've connected the VM to the created switch, and assigned appropriate IP to it.
The result is:
The host can access the internet without any problems, host and guest VM can ping each other, but guest VM can't ping any external IP, and it doesn't have Internet connection.
Is it possible (and how) to get things done with just one NIC?
Thanks