Introduction: The Sonar of the Web

When the internet seems broken, the first thing any engineer does is open a terminal and type ping google.com. This simple command is the sonar of the digital world. It sends a tiny pulse of data to an IP address and listens for the echo.

The ICMP Protocol

Unlike web traffic, which uses TCP or UDP, `ping` uses the ICMP (Internet Control Message Protocol). ICMP is built specifically for diagnostics, not data transfer. A 'ping' generates an ICMP Echo Request. The destination server receives it and immediately fires back an ICMP Echo Reply. The command line tool then calculates the exact millisecond difference between the send and the receive.

Conclusion

Ping is proof of life for an IP address. It is the fundamental diagnostic heartbeat of networking. Test your ping response here.