Ping returns IPv6 Address instead of IPv4

Ping returns IPv6 Address instead of IPv4

 

If your Ping returns IPv6 Address instead of IPv4, and you are on the same network, or Vlan, or subnet as someone else you will probably notice that if you ping their hostname it will return an IPv6 address.

If you want to still see what their IPv4 address is then simply use the command below:

ping hostname -4

Simply add a “-4″ after your normal ping command.

 

This will return the standard IPv4 output you are used to seeing.

Leave a Reply