This article can also be read at my new website: http://www.theitbros.com.
If 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 with a 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.





Hello from Russia!
Can I quote a post in your blog with the link to you?
Yes feel free to quote me as long as you provide a link back.
Have a great day!
You are a genius! I’ve spend hours trying to figure out why I could not get ipv4 return from pinging. I have a home LAN with 5 computers. Would this qualify for what you are saying “on the same network?” I just never heard this before. Thanks for your help.