ping 返回IPV6地址

Posted by Kerwen Blog on July 31, 2019

在ping一台局域网虚拟机时发现总是返回IPV6的地址
img

解决方案1:

在ping时添加一个 -4 后缀 IMG

方案2:

open an elevated Command Prompt, and execute 2 commands:

1
2
netsh interface ipv6 set prefix ::/96 60 3
netsh interface ipv6 set prefix ::ffff:0:0/96 55 4

Reference:
https://theitbros.com/ping-returns-ipv6-address-ping-ipv4/