从hyper-v虚拟机ping主机时,它可以与ipv4或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
当从主机ping Hyper-V虚拟机时,ipv4超时。
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),
而ipv6了
Ping request could not find host win-hyperv. Please check the name and try again.
为什么主机使用IPv4而另一种方式使用IPv6?
你有没有在虚拟机上检查基于主机的防火墙? 它允许ICMPstream量? 这可以解释为什么虚拟机可以ping主机而不是相反