Interview Prep/Networking/Command-Line Tools & Diagnostics

What does `ping` tell you and what does it not?

BeginnerConceptCommand-Line Tools & Diagnostics
Answer

It sends ICMP echo and reports round-trip time and loss, proving basic L3 reachability. It does not prove a service works, and many networks and cloud security groups block ICMP, so no reply is not proof of failure.

ping -c 4 -M do -s 1472 10.0.1.5     # MTU probe with Don't Fragment set
All Networking questions Roadmap: Networking for DevOps

More on Command-Line Tools & Diagnostics