My Ping result are returning an IPv6 instead of IPv4

Solution 1:

To ping using IPv4, simply use the -4 option, e.g.

ping -4 google.com

The -4 option is used for many command line tools to force use of IPv4. To force use of IPv6, -6 can be used.

As you can see, I get IPv6 address. I expected I'll get IPv4.

I've yet to come across any pure IPv6 deployments in the wild. Almost all IPv6 deployments are dual stack with IPv4 and IPv6 connectivity.