Aller au contenu

Troubleshooting network connectivity using traceroute and ping

Ce contenu n’est pas encore disponible dans votre langue.

When you experience slow loading times, intermittent outages, or complete inability to reach a website or server, two of the most useful diagnostic tools are traceroute and ping. These tools help you determine whether a host is reachable and where potential network issues occur along the path.

  • Ping: Tests if a remote host is available and measures round-trip time.
  • Traceroute (or tracert on Windows): Shows the path packets take from your computer to the destination, listing each “hop” along the way.
  1. Open the Command Prompt (Start → Run → type cmd).

  2. Type:

    Terminal window
    ping example.com

    Review the output:

    • Successful replies show response times in milliseconds.
    • Packet loss or no replies may indicate connectivity issues.
  1. Open Terminal.

  2. Type:

    Terminal window
    ping example.com
  3. Stop the test with Ctrl + C.

  4. Review the statistics (packet loss, average latency).

  1. Open Command Prompt.

  2. Type:

    Terminal window
    tracert example.com
  3. Each line shows a “hop” (router or server) along the path, with response times.

    • Look for unusually high latency or timeouts (* * *) to spot issues.
  1. Open Terminal.

  2. Type:

    Terminal window
    tracert example.com
    Review the hops and timings.
  • MTR (My Traceroute) combines ping and traceroute into a continuous test.
  • On Windows, use WinMTR; on Linux, install mtr.
  • It provides real-time monitoring of packet loss and latency across all hops.

Cette page vous a-t-elle aidé ?