• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 808
  • Last Modified:

Hyper-V host with single NIC

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
0
fd4u
Asked:
fd4u
  • 2
1 Solution
 
fd4uAuthor Commented:
I'm not sure how this thing with points for question works, so I'll increase it to 500. I need help!!! :)
Thanks
0
 
fd4uAuthor Commented:
Sorry, meanwhile I've resolved the problem.

Problem was in MAC address of VM's NIC. It was set to Dynamic, and my dedicated server provider didn't accept network packets from the NIC. When I've set Static MAC address which I've got from the service provider, everything worked fine.

I hope it'll help someone... Will I get my 500 points? :))) Just kidding, of course.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now