Friday, 31 October 2025

How to trace all the routers from my computer to a website like www.google.com ?

tracert command is a windows based diagnostic tool that traces the each "hop" or router(s) to a destination along the way that route packets take.

How to use tracert command ?

  1. Open cmd prompt
  2. Type the command tracert followed by a destination
    • tracert www.google.com
  3. Press enter
  4. Review the results
Note:
  • tracert works for windows. use traceroute for Linux and MacOs.
  • Windows utility tracert uses Internet Control Message Packets (ICMP) packets to find the route.
  • By default, it will trace up to 30 hops. This can be changed using -h parameter.
    • tracert -h 40 www.google.com
  • Use -d parameter with tracert utility to speed up the trace, which prevents the command from IP addresses to hostnames.
  • Use -w parameter to specify the wait time for a reply in milliseconds.

C:\Users\Dinesh.Dontha>tracert www.google.com

Tracing route to www.google.com [2404:6800:4007:837::2004]

over a maximum of 30 hops:

  1    11 ms     1 ms     1 ms  2401:4900:1c27:f15b:8ea3:99ff:fefc:7fd0

  2     *        *        *     Request timed out.

  3     5 ms     5 ms     5 ms  2404:a800:3a00:2::209

  4     *        *        *     Request timed out.

  5    16 ms    15 ms    15 ms  2404:6800:8202:280::1

  6    21 ms    16 ms    16 ms  2404:6800:8202:280::1

  7    16 ms    16 ms    16 ms  2001:4860:0:1::5658

  8    15 ms    15 ms    15 ms  2001:4860:0:1::4878

  9    39 ms    16 ms    16 ms  2001:4860:0:1::880d

 10    16 ms    16 ms    16 ms  2001:4860:0:1::163f

 11    16 ms    15 ms    16 ms  lcmaaa-as-in-x04.1e100.net [2404:6800:4007:837::2004]

Trace complete.

No comments:

Post a Comment