Ping Returns IPv6 Address, Ping IPv4?
If your computer and a remote device are located on the same IP network, VLAN, or subnet – you will probably notice that if you ping such a device by its hostname it will return an IPv6 address.
windows 10 啟用Hyper-V服務後,ping localhost,會回應iipv6之IP,如果要改回ipv4優先,可下下列指令,將ipv4改為優先,連線順序數字越大,優先性愈高:
netsh interface ipv6 set prefix ::/96 55 4
netsh interface ipv6 set prefix ::ffff:0:0/96 60 3
沒有留言:
張貼留言