Windows – Hyper-V vm can ping host but host cannot ping Hyper-V vm

hyper-vipv6networkingwindows

When ping host from hyper-v VM, it works both with ipv4 or ipv6.

Pinging MyHost [fe80::3549:ee49:a75c:619c%9] with 32 bytes of data:
Reply from fe80::3549:ee49:a75c:619c%9: time<1ms
Reply from fe80::3549:ee49:a75c:619c%9: time<1ms
Reply from fe80::3549:ee49:a75c:619c%9: time<1ms
Reply from fe80::3549:ee49:a75c:619c%9: time<1ms

Ping statistics for fe80::3549:ee49:a75c:619c%9:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

When ping Hyper-V VM from host, ipv4 time out.

Pinging win-hyperv [192.168.1.126] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.1.126:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

And ipv6 got

Ping request could not find host win-hyperv. Please check the name and try again.

Why host use IPv4 while another way use IPv6?

Best Answer

have you checked the host based Firewall on the VM? is it allowing ICMP traffic? this would explain why the VM can ping the host but not the other way round

Related Topic