Traceroute is a network diagnostic tool that displays the path packets take from the source to a destination. It shows each router (hop) along the way and measures the time it takes to reach each one.
How it Works
Traceroute sends packets with incrementally increasing TTL (Time To Live) values. When a packet's TTL expires at a router, that router sends back an ICMP "Time Exceeded" message, revealing its IP address and the round-trip time.
Common Uses
- Network Troubleshooting: Identify where packets are getting delayed or dropped.
- Path Discovery: See all the intermediate routers between you and a destination.
- Latency Analysis: Measure response times at each hop to find bottlenecks.
- ISP Routing: Understand how your traffic is being routed across networks.