Ping

Networking
Ping vs Tracert/Traceroute: Reachability vs Path Troubleshooting

Use ping for ICMP reachability and round-trip time, and traceroute for answering probe hops; compare actual application behavior before treating silence or an intermediate delay as failure.

Read this guide