/arcade

TTL

Every router takes one. Zero is the end.

Steer a packet to its host. Each router it passes is a hop: its TTL (Time to Live) drops by one and its trail grows by one, and the router that takes the TTL to zero discards the packet and sends back an ICMP (Internet Control Message Protocol) Time Exceeded message, the answer traceroute maps a path with. Twelve packets a day, each leaving with a TTL one higher than the last.

See the TTL scoreboard

Kept in this browser · My desk

Streak 0Best streak 0Played 0Where it comes from
100%

Setting up the board…

Where it comes from

The Time to Live (TTL) field comes from RFC 791 (Request for Comments 791), the Internet Protocol's specification of September 1981. It was set in seconds, but since every module that processes a datagram must take at least one off it, the RFC says the TTL "must be thought of only as an upper bound on the time a datagram may exist"; its intention is "to cause undeliverable datagrams to be discarded". The registry of the IANA (Internet Assigned Numbers Authority) gives 64 as the current recommended default.

RFC 1812, the requirements for IPv4 (Internet Protocol version 4) routers, of June 1995, makes it a hop count: "When a router forwards a packet, it MUST reduce the TTL by at least one", and the router that takes it to zero must discard the packet and send an ICMP (Internet Control Message Protocol) Time Exceeded message, code 0, to the source; RFC 792 numbers that message type 11. The hop count, RFC 1812 adds, is what keeps routing problems from "causing packets to loop infinitely in the network". A host, by contrast, must not discard a datagram "just because it was received with TTL less than 2" (RFC 1122).

IPv6 (Internet Protocol version 6) renamed the field: RFC 8200 records that the IPv4 "Time-to-Live" field "was renamed 'Hop Limit' in IPv6". Its ICMPv6 Time Exceeded message, type 3 in RFC 4443, "indicates either a routing loop or too small an initial Hop Limit value", the same two things that end a run here.

Traceroute turns the rule into a map. RFC 1393, of January 1993, describes it: a packet goes out with a TTL of 1, the first hop answers that the TTL expired, then the packet goes again with a TTL of 2, and so on until the destination is reached, the source of each answer recorded as one hop of the path. The FreeBSD manual credits the program to Van Jacobson, "from a suggestion by Steve Deering"; the Linux one still says "We start our probes with a ttl of one and increase by one", up to 30 hops by default.

The addresses on the board are the blocks set aside for documentation: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 (RFC 5737) and, in the IPv6 view, 2001:db8::/32 (RFC 3849). By RFC 5737, none of the three should appear on the public Internet.

More on this site

Sources

  1. RFC 791: Internet Protocol, RFC Editor (accessed 8 November 2026)
  2. Internet Protocol Version 4 (IPv4) Parameters, IANA (accessed 8 November 2026)
  3. RFC 1812: Requirements for IP Version 4 Routers, RFC Editor (accessed 8 November 2026)
  4. RFC 792: Internet Control Message Protocol, RFC Editor (accessed 8 November 2026)
  5. RFC 1122: Requirements for Internet Hosts - Communication Layers, RFC Editor (accessed 8 November 2026)
  6. RFC 8200: Internet Protocol, Version 6 (IPv6) Specification, RFC Editor (accessed 8 November 2026)
  7. RFC 4443: Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification, RFC Editor (accessed 8 November 2026)
  8. RFC 1393: Traceroute Using an IP Option, RFC Editor (accessed 8 November 2026)
  9. traceroute(8), FreeBSD Manual Pages (accessed 8 November 2026)
  10. traceroute(8), Linux manual page, man7.org (accessed 8 November 2026)
  11. RFC 5737: IPv4 Address Blocks Reserved for Documentation, RFC Editor (accessed 8 November 2026)
  12. RFC 3849: IPv6 Address Prefix Reserved for Documentation, RFC Editor (accessed 8 November 2026)