You can use the -a option to resolve an address to a hostname.
-a Resolve addresses to hostnames.
Example from Windows command prompt
C:\Users\Bob>ping google.com -a
Pinging google.com [18.104.22.168] with 32 bytes of data:
Reply from 22.214.171.124: bytes=32 time=8ms TTL=44
Error when trying to ping
ping: socket: Operation not permitted
Looks like it is a permissions issue. To resolve it, find where your ping binary is and change the permissions on it
sudo chmod 4711 /usr/bin/ping
$ which ping
$ sudo chmod 4711 /usr/bin/ping
$ ping incredigeek.com
Looks like to get the audible tone to work the terminal window needs to be inactive. So open up a terminal windows and launch ping with
ping -a ipaddress
and then select a different window. Once the IP is available it should put out an audible tone.
Open up Windows Firewall with Advanced Security.
You can do this by going to
Control Panel –> System and security –> Windows Firewall –> Advanced settings
Or hit the Windows key and type in firewall and hit enter
Select Inbound rules and then add a New Rule. On the New Inbound Rule Wizard select Custom for the type of rule and hit next. Allow All programs and then hit next again. Select ICMPv4 as the Protocol type and if you want you can specify the ICMP types by clicking on the Customize button. Finish running through the wizard give it a name etc. and click Finish when your done.