Skip to content

Traceroute

Medium — good to knowNetworking

ELI5 — The Vibe Check

Traceroute is like ping but it shows you every stop along the way. When your data travels from your computer to a server, it hops through many routers. Traceroute maps each hop and how long each leg takes. Great for finding where the slowdown or blockage is.

Real Talk

Traceroute (tracert on Windows) sends packets with incrementing TTL values to discover the path packets take through a network. Each router that decrements TTL to zero sends back an ICMP Time Exceeded message, revealing its IP and the hop latency.

Show Me The Code

# Unix/Mac
traceroute google.com

# Windows
tracert google.com

# Output example:
#  1  192.168.1.1      1.2 ms   (your router)
#  2  10.10.10.1       8.4 ms   (ISP gateway)
#  3  72.14.194.130   11.2 ms   (Google)
#  4  142.250.80.46   12.5 ms   (destination)

When You'll Hear This

"Run traceroute to see where the packet loss is happening." / "Traceroute shows the request is getting stuck at the ISP."

Made with passive-aggressive love by manoga.digital. Powered by Claude.