Overview
Traceroute identifies every router (hop) between a source and a destination. It works by sending a series of packets with increasing TTL values.
How it Works
- Send a packet with TTL=1. The first router drops it and sends an ICMP 'Time Exceeded' message. Traceroute records the router's IP.
- Send a packet with TTL=2. The second router drops it and sends the ICMP message.
- Repeat until the destination is reached or a maximum hop limit is hit.