I am running Windows 10 and am having some connectivity problems with the Internet and my WiFi router. While investigating this, I saw some strange behavior while trying to ping external websites. The command prompt defaults to IPv6, and the pings appear to be blocked. If I provide a -4 flag on the ping, it goes through.
C:\Users\User>ping google.com
Pinging google.com [2607:f8b0:4009:816::200e] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 2607:f8b0:4009:816::200e:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
C:\Users\User>ping google.com -4
Pinging google.com [172.217.6.110] with 32 bytes of data:
Reply from 172.217.6.110: bytes=32 time=31ms TTL=56
Reply from 172.217.6.110: bytes=32 time=36ms TTL=56
Reply from 172.217.6.110: bytes=32 time=31ms TTL=56
Reply from 172.217.6.110: bytes=32 time=31ms TTL=56
Ping statistics for 172.217.6.110:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 31ms, Maximum = 36ms, Average = 32ms
Any ideas how I can either default to the IPv4 ping or hopefully successfully ping a IPv6 address? When I test my IPv6 compatibility through the Google test site (http://ipv6test.google.com/), I get this response:
Ready for the future of the Internet?
No problems detected.
You don’t have IPv6, but you shouldn’t have problems on websites that add IPv6 support.