Routers and routes
TTL
A counter in every IP packet, lowered by each router; at zero the packet is dropped.
It stops packets from circling forever in a routing loop. The router that drops a packet sends an ICMP time exceeded back, which is what traceroute relies on. A reply's TTL hints at how many routers it crossed: 64 minus the hops, for Linux senders.
Read next
- Traceroute Lists the routers on the way to a destination, by sending packets with TTL 1, then 2, then 3.
- ICMP The network's messages about packets: echo for ping, unreachable, time exceeded, too big.
- Router A device on several networks that forwards packets between them, by destination address.
- Null route A route that drops what matches it: for addresses a router announces but does not have.
- Counting to infinity Routers in a loop each believe the next about a lost route, raising its metric one step at a time.
- OS fingerprinting Guessing a machine's operating system from how its network code answers a few odd probes.
- Firewalking Using a port the firewall allows, plus TTL-limited probes, to map the routers and hosts hidden behind it.