أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
- check connectivity between devices
- Check if your DNS resolving probably
Check the availabilty of the device on the same or different network
Check the connection speed and the TTL (time to live) - Hop count, to the device.
Check if the IP address to be pinged will resolve to a name
Ping is a command utility to check the the connectivity of devices. Ping -a is used to resolve address to host name. In Linux -a stands for audible ie; the system will generate beep sound while the peer is reached.
ping -a command option generally we use to get HOSTNAME information
Ping with syntax -a command perform reverse name resolution on destination ip address. if success, it retrieve the corresponding host name.
ping -a
- determines whether your computer can communicate with another computer
- check DNS Service is working and Will Resolve IP to Name
- determine the connection latency (delay) between the two computers.
C:\\Users\\Userx>ping -a192.168.25.4
Pinging BDM-DB-2K8 [192.168.25.4] with32 bytes of data: // IP to Name Resolved With ping -a
Reply from192.168.25.4: bytes=32 time=1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Ping statistics for192.168.25.4: Packets: Sent =4, Received =4, Lost =0 (0% loss),Approximate round trip times in milli-seconds: Minimum =0ms, Maximum =1ms, Average =0ms
C:\\Users\\Userx>ping192.168.25.4
Pinging 192.168.25.4 with32 bytes of data: // No IP to Name Resolved Using just Ping
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Reply from192.168.25.4: bytes=32 time<1ms TTL=128
Ping statistics for192.168.25.4: Packets: Sent =4, Received =4, Lost =0 (0% loss),Approximate round trip times in milli-seconds: Minimum =0ms, Maximum =0ms, Average =0ms
Ping works on Network layer of OSI models which uses ICMP protocol to check the connectivity between devices
"Packet Internet Groper" - PING : Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer.
A beep is produced when a peer is reachable.
Ping Command have a lot of options (-a) is one of them and its going to ping and resolve addresses to hostnames from DNS.
resolves address to host names.