Cannot ping a VM from a Hyper-V host

dhcpdomain-name-systemhyper-vpingvirtualization

I am facing a weird situation in my network environment.

My infrastructure looks like this:

I have a D-LINK DIR-635 acting as my default gateway (192.168.0.1)
A physical Windows 2012 Server (192.168.0.10) with the following roles: DHCP, DNS, AD DS and Hyper-V.
A virtual Windows 2012 Server (192.168.0.50) which I intent to use as an IIS server (Role is not deployed yet).

My virtual machine was able to get an IP address from the DHCP server and is working perfectly (I can ping the default gateway [by IP, FQDN or DNS Alias], the Hyper-V host and any site on the Internet (CNN.com for example).

However I cannot ping the VM from my host.
It says: Request Timed Out.

Do you guys know what I might be doing wrong?

Any support is appreciated!

Thanks!

Best Answer

Sounds like you're using a private virtual switch as your hyper-v switch for that guest. You can review the different types of switches in hyper-v and their effects here.

If this isn't the case, try running a tracert and adding the results here so we can have a better idea of what's going on.

For this particular instance however the issue was caused by the ICMPv4-In rule being disabled. In other words the guest OS firewall was the cause.