Traceroute
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."
Related Terms
IP Address
An IP address is your device's home address on the internet.
Latency
Latency is the delay before data starts moving — the time it takes for a request to go from your device to the server and back.
Ping
Ping is the simplest network test — you shout at a server ('hello?') and measure how long it takes to shout back ('yo!').
Router
The router is the traffic cop of your backend.