RFC 1519: CIDR: Classless IP networks
Summary
In September 1993, Vince Fuller, Tony Li, Jessica Yu and Kannan Varadhan described Classless Inter-Domain Routing, CIDR for short, in RFC 1519. Instead of fixed network classes, a prefix length states how large a network is, and providers aggregate their customers’ networks into a few routes. The text explicitly saw itself as an interim solution until a long-term answer to the scarce 32-bit address space had been found.
Two problems with a deadline
RFC 1519 names three looming problems: class B networks were running out, routing tables were growing beyond what software, hardware and people could handle, and eventually the entire IPv4 space would be exhausted. The authors expected the first two within one to three years. The class system itself was part of the cause: a class C network with 254 addresses was too small for mid-sized organisations, a class B network with 65,534 addresses far too large.
The figures in the text are stark: on 25 February 1992, 5,467 of 16,382 class B networks had been allocated, and their number was doubling roughly every year. All of them would have been used up in about 15 months.
Aggregation instead of classes
CIDR allocates contiguous blocks of suitable size, for example several class C networks as one block, and providers announce only the aggregated prefix to the outside. For overlapping entries, routers choose the longest matching prefix. This way the global routing table grows more slowly than the number of connected networks.
Slash notation such as 192.168.0.0/16 became everyday practice through CIDR. RFC 4632 replaced RFC 1519 as a Best Current Practice in August 2006; the idea itself did not change.
Ideas
- Prefix lengths replace the rigid network classes A, B and C.
- Providers aggregate customer networks into a few routes.
- The longest matching prefix wins in route selection.
- Address blocks are allocated by need rather than by class.
- CIDR buys time but does not solve address scarcity.
- Changing provider may require renumbering.
Insights
- Address allocation and routing are linked: how addresses are distributed determines how large the tables on the internet become.
- A solution meant as interim kept IPv4 alive for decades and took urgency away from the move to IPv6.
- Aggregation rewards order in the address plan and punishes scattered allocation with growing complexity.
Facts
- RFC 1519 appeared in September 1993 and replaces RFC 1338.
- In February 1992, 5,467 of 16,382 class B networks had been allocated.
- A class C network offered 254 and a class B network 65,534 host addresses.
- RFC 4632 from August 2006 replaces RFC 1519 as Best Current Practice.
References
- RFC 1519: Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy
- RFC 4632: Classless Inter-domain Routing (CIDR) (2006)
Remarks
- Terms such as class C network for a /24 persist today, although they have played no technical role since 1993.
Recommendations
- Lay out internal address plans in aggregatable blocks along the topology.
- Announce only required and preferably aggregated prefixes to the outside.
- When troubleshooting routing, use ip route get to check which prefix actually applies.
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.