A Ticking Time Bomb
Imagine the early 1990s. The internet, once a quiet corner for academics and researchers, was starting to go mainstream. Companies, universities, and eventually the public were getting online at a dizzying pace. But behind this exciting growth, a terrifying
reality was dawning on the engineers who built the plumbing: the internet was about to run out of addresses. Every device connected to the internet needs a unique identifier, an IP address, like a phone number or a street address for data. The system in place, known as IPv4, had a theoretical limit of about 4.3 billion addresses. That sounds like a lot, but the way they were being handed out was so inefficient that experts predicted they would be completely gone by 1994. This wasn't a minor inconvenience; it was an existential threat. An internet that couldn't add new users was a dead-end street.
The Tyranny of the Class System
The core of the problem was a rigid, wasteful system called “classful addressing.” Think of it like a government agency that only issues building permits in three sizes: Small (for a shed), Medium (for a suburban housing development), and Large (for an entire city). There was nothing in between. In internet terms, these were Class C, Class B, and Class A blocks. A Class C block gave you 254 usable addresses. A Class B gave you 65,534. A Class A was a staggering 16.7 million. The issue? If your growing business needed 500 addresses, you couldn't get two Class C blocks. You had to request a Class B, instantly wasting over 65,000 addresses that nobody else could use. This was happening everywhere, leading to a catastrophic hemorrhaging of the internet’s most precious resource. The system was literally designed to be wasteful, a relic of a time when no one imagined millions of businesses would one day need their own slice of the internet.
The Elegant Hack: A Simple Slash
Facing a digital cliff, the Internet Engineering Task Force (IETF), the group responsible for the internet’s technical standards, needed a miracle. They got one in 1993 with the publication of RFC 1519. It introduced Classless Inter-Domain Routing, or CIDR (pronounced “cider”). CIDR’s genius was its simplicity. It did away with the rigid A, B, and C classes and replaced them with a flexible slider. Instead of being stuck with predefined blocks, CIDR uses a slash and a number (like `/24` or `/16`) after the IP address. This number tells routers exactly how many bits of the address define the network, allowing administrators to create a network of *any* size they needed. A company needing 500 addresses could now get a `/23` block (512 addresses), a nearly perfect fit. This simple notation stopped the bleeding overnight, allowing for hyper-efficient allocation and saving the internet from address exhaustion.
The Hidden, Second Miracle
Saving addresses was only half the battle. The other crisis brewing was the size of the internet’s “phone book”—the global routing tables. Every major router on the internet has to keep a list of all the network routes to know where to send data. Under the classful system, this table was growing exponentially and threatened to overwhelm the routers of the day. They simply didn’t have the memory or processing power to handle it. CIDR solved this, too, through a process called route aggregation or supernetting. Because network sizes were now flexible, a single internet provider could take a huge block of addresses and chop it up for its customers. But to the outside world, it could announce all of those thousands of smaller networks with one single entry in the routing table. It was like a post office replacing a phone book with thousands of individual names with a single entry for “Everyone at 123 Main Street.” This dramatically slowed the growth of the routing tables, keeping the internet fast and stable just as it was preparing for the commercial explosion of the dot-com era.











