Ping is a computer network administration tool that measures the round-trip time for messages sent from one host to another and back. Ping uses the ICMP protocol’s mandatory ECHO_REQUEST datagram to elicit an ICMP ECHO_RESPONSE from the target host.
Ping operates by sending an ICMP ECHO_REQUEST to the target host, which responds with an ICMP ECHO_RESPONSE. By default, ping measures the time it takes for the ICMP ECHO_RESPONSE to return. Ping can also measure the packet loss rate between the hosts.
Ping is often used to diagnose network problems, by sending ping requests to multiple hosts and comparing the response …