Fix Pinging Own Machine Returning IPv6 Instead of IPv4

dhcpip addressipv6ping

When I ping my own machine I get an IPv6 address:

Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms
Reply from fe80::1004:p8f0:9e40:a42c%10: time<1ms

I used to get the IPv4 address (eg. 192.168.1.5) from the router.

Why has it changed?

Best Answer

This could be due to caching or the DNS. On a Windows Server 2008 issue on Server Fault they suggest:

If they are resolving to IPv6 they might be cached or have ipv6 addresses registered in DNS.

You can also add a -4 to the ping:

ping example.com -4

Related Question