How does ping test whether a target is reachable?
ping
It rewrites every router's forwarding table.
It sends ICMP echo requests and waits for ICMP echo replies.
It changes the target's DNS record and waits for propagation.
It logs in to the target over TCP and runs a shell command.