RFC 2460: IPv6: A larger address space and a simpler header
Summary
In December 1998, Stephen Deering and Robert Hinden presented the specification of IPv6, the successor to IPv4, in RFC 2460. They enlarged addresses from 32 to 128 bits, simplified the header and moved options into chained extension headers. RFC 8200 replaced the document in July 2017 and made IPv6 an Internet Standard.
What IPv6 does differently
RFC 2460 summarises the changes in a few points: larger addresses with more hierarchy and simpler autoconfiguration, a simplified header, more efficient extensions, a 20-bit flow label for traffic flows requiring special handling, and mechanisms for authentication and confidentiality. Some IPv4 fields disappear entirely, including the header checksum.
Routers no longer fragment IPv6 packets along the way; only the sender may do so. In return every link must be able to carry at least 1,280 bytes. Paths with a smaller MTU have to handle this below IP themselves, and senders should discover the path MTU.
Extension headers in practice
Extension headers form a chain behind the base header, each pointing to the next with Next Header. This is flexible but makes filtering hard, because a firewall has to walk the chain to find the transport header. Packets with unusual headers are therefore often dropped on the internet.
One example of the consequences is the Type 0 routing header from RFC 2460: it allowed packets to bounce back and forth between routers and multiply traffic. RFC 5095 deprecated it in December 2007.
Ideas
- 128-bit addresses practically eliminate address scarcity.
- The base header has a fixed length and no checksum.
- Options move into chained extension headers.
- Only the sender fragments; routers do not.
- Every link must carry packets of 1,280 bytes.
- The hop limit replaces the IPv4 TTL.
Insights
- IPv6 corrects architectural limits of IPv4 but does not solve operational problems by itself; filtering, address planning and monitoring remain work.
- Flexibility in the packet format is paid for with complexity in every device that has to inspect packets.
- Almost two decades passed between the 1998 specification and the 2017 Internet Standard, during which IPv6 nevertheless ran in production.
Facts
- RFC 2460 appeared in December 1998 and replaces RFC 1883 from 1995.
- The flow label is 20 bits long.
- The minimum MTU for IPv6 is 1,280 bytes.
- RFC 5095 from December 2007 deprecated the Type 0 routing header.
- RFC 8200 from July 2017 replaces RFC 2460 as Internet Standard.
References
- RFC 2460: Internet Protocol, Version 6 (IPv6) Specification
- RFC 8200: Internet Protocol, Version 6 (IPv6) Specification (2017)
- RFC 5095: Deprecation of Type 0 Routing Headers in IPv6 (2007)
- RFC 4291: IP Version 6 Addressing Architecture (2006)
Remarks
- RFC 2460 still mentions the name IPng, for IP Next Generation, in its abstract; it dates from the selection phase in the mid-1990s.
Recommendations
- Use RFC 8200 rather than RFC 2460 for implementation and filter rules.
- Do not block ICMPv6 wholesale, because path MTU discovery and neighbor discovery depend on it.
- Monitor and filter IPv6 in your own network on an equal footing with IPv4, not as a by-product.
Read the RFC at the RFC Editor
Found a mistake or have something to add? Get in touch.
Links to the original source and the Web Archive open in a new tab.