The advantage of pinging IPs is that you don’t have to have a working DNS setup to test your connection. If DNS does work, then your connection probably works, too.
In this case one should run "ping -n", otherwise ping will hang trying to resolve the IP into an hostname, if the DNS is misbehaving or not responding.
what default(included in OS) ping utility tries to reverse-lookup an address before pinging, and hangs if it can't.
I've never observed this in any version of Windows nor Linux.