Classful vs. Classless IP Addressing: A Deep Dive into Networking Evolution

IP addressing is the backbone of modern networking, enabling devices to communicate across local networks and the internet. Every device—whether a smartphone, server, or IoT sensor—requires a unique IP address to send and receive data.
However, the original IP addressing system (classful addressing) struggled to scale with the internet’s explosive growth. This led to inefficiencies like IPv4 address exhaustion and rigid network structures. The solution? Classless Inter-Domain Routing (CIDR), a flexible system that replaced classful addressing in 1993.
Key Takeaway: Classless addressing (CIDR) solved IPv4 shortages by eliminating fixed network classes and enabling efficient subnetting.
This article, “Classful vs. Classless IP Addressing,” is the continuation of my previous articles about the IP addresses, which are the following:
Unicast, Multicast, and Broadcast Communication
Mastering Host Address, Network Prefix, Network ID, and Broadcast ID in 2025
IP address Classes- Exclusive Explanation
Positional Number System and Examples (Updated 2025)
Network and Host Portion of IPv4 Address
So, you need to study the above article to understand it better before reading it. If you have already covered the above topics, let’s dive straight into this article.
Classful Addressing
The IETF published the first major addressing scheme in September 1981 in RFC 790. The IP addressing scheme was 32 bits long and had three classes, A, B, and C, corresponding to 8-bit, 16-bit, and 24-bit prefixes. No other prefix lengths were allowed then, and there was no concept of nesting a group of 24-bit prefixes, such as within a 16-bit prefix.
Class D and E addresses were also defined, but neither of these two address classes was normally used. Class D addresses are reserved for multicasting, and Class E addresses are reserved for experimental and future use. The easiest way to distinguish between different address classes is to use the first decimal number in the IP address. Classful networks use the classful subnet mask according to the leading bits in the first block of the IP address. The figure below illustrates the key information of the Classful address scheme.

Historical Context: Why Classful Addressing Failed
The 1980s: The Era of Fixed Classes
In the early days of the internet, IP addresses were divided into five fixed classes (A, B, C, D, E) based on their first few bits. This system wasted addresses. For example, a company needing 500 hosts had to take a Class B (65k hosts), wasting 64,500 addresses. By 1992, 49% of Class B addresses were allocated, risking IPv4 exhaustion (RFC 1338).
1993: RFC 1519 and the CIDR Revolution
CIDR introduced classless addressing, where networks could be split into subnets of arbitrary size using a variable-length subnet mask (VLSM). For example:
192.168.1.0/24
= 254 hosts (subnet mask255.255.255.0
)10.0.0.0/16
= 65,534 hosts (subnet mask255.255.0.0
)
Result: ISPs could allocate precise address blocks, reducing waste by up to 70% (ICANN Report, 2000).
Technical Breakdown of Classful Addressing
Class A Networks (0.0.0.0 to 127.255.255.255): The Giants
The default subnet mask for this class is 255.0.0.0 or /8. This class supports an extremely large network with more than 16 million hosts. The first octet’s high-order bits of Class A addresses are zero, so the remaining 7 bits create 128 possible Class A networks. 0.0.0.0 is used for the default route, and the 127.0.0.0 network is reserved for local loop testing. So, the remaining network is from 1 – 126 total 126 networks.
- Range: 1.0.0.0 to 126.255.255.255
- Subnet Mask: 255.0.0.0 (/8)
- Hosts: 16,777,214 per network
- Use Case: Governments and telecom giants (e.g., MIT owns 18.0.0.0/8).
Limitation: Only 126 Class A networks existed globally, monopolized by early internet pioneers.
Class B Networks (128.0.0.0 – 191.255.255.255): The Middle Ground
The default subnet mask for the class B network is 255.255.0.0 or /16. Class B network support supports large networks with up to 65,000 host addresses. The high-order bits for the class B network are 10 in the first octet, and the remaining bits of the first 2 octets create over 16,000 networks. The network 169.254.0.0 is a special network for link-local addresses, also known as Automatic Private IP Addressing (APIPA).
- Range: 128.0.0.0 to 191.255.255.255
- Subnet Mask: 255.255.0.0 (/16)
- Hosts: 65,534 per network
- Use Case: Universities and mid-sized corporations.
Problem: Companies like Ford (19.0.0.0/8) hoarded Class A blocks, while smaller firms faced scarcity.
Class C Networks (192.0.0.0 – 223.255.255.255): Too Small for Growth
The default subnet mask for a Class C network is 255.255.255.0 or /24. Class C supports small networks with a maximum of 254 hosts. The first three bits of the octet indicate the high-order bit of the class. The remaining bits of the first three octets indicate the network, and the fourth indicates host addresses in this class. The high-order bit is 110. A Class C address has over 2 million possible networks.
- Range: 192.0.0.0 to 223.255.255.255
- Subnet Mask: 255.255.255.0 (/24)
- Hosts: 254 per network
- Use Case: Small offices.
Issue: Startups needing 300 hosts had to request multiple Class C blocks, complicating routing tables.
Class D (224.0.0.0 – 239.255.255.255)
The first four bits of the first octet in Class D IP addresses are high-order bits (HOB); the first four bits are 1110. The range of Class D addresses starts from 224.0.0.0 to 239.255.255.255. Class D is reserved for multicasting. In multicast communication, data is destined for multiple hosts, not for a particular host. The class has no subnet defined.
Class E (240.0.0.0 – 255.255.255.254)
The first five bits of the first octet are reserved HOB for Class E address. The HOB for Class E is 11111. The address range is 240.0.0.0 to 255.255.255.254. This class is reserved for experimental purposes only, such as R&D and study. Class E is also not equipped with a subnet mask like Class D.
Public IP Addresses
A public IP address range is defined for network devices, hosts, and servers like web servers and email servers to allow direct access to the Internet. Any server device using public IP addresses directly accessible from the Internet. A public IP address is globally unique and can only be assigned once to any device worldwide. Every device accessing the internet is using a unique IP address. Public IP addresses are also required for any publicly accessible network hardware, such as servers hosting websites. Public addresses are globally routed between different ISPs and routers. However, some addresses are not routable on the Internet. These addresses are called private addresses.
Private IP addresses
Private IPv4 addresses were introduced in 1990 because of reduced IPv4 addresses. The Private addresses are not unique and can be used repeatedly for internal networks. The computers at home, tablets, smartphones, network printers, and the computers within organizations are generally assigned private IP addresses. A computer with a private IP address can see and access the local network through its private IP address.
The computer and devices with a private IP address cannot directly access and communicate via the private IP address; however, using the router’s public IP addresses, the devices outside a private network can communicate. The NAT allows direct access to a local device assigned a private IP address. The range of private IP addresses is defined for all three classes.
10.0.0.0 /8 or 10.0.0.0 to 10.255.255.255
172.16.0.0 /12 or 172.16.0.0 to 172.31.255.255
192.168.0.0 /16 or 192.168.0.0 to 192.168.255.255
The Birth of Classless Addressing (CIDR)
Classless Addressing
CIDR replaces fixed classes with prefix lengths (e.g., /24, /17) to define networks. Classful addressing divides an IP address into the Network and Host portions along octet boundaries. It uses a fixed subnet mask, which is /8, /16 and /24, but classless addresses use a variable number of bits for the network and host portions of the address. The subnet mask is not fixed for a classless addressing system.
The classful addressing system assigned 50% of IPv4 addresses to Class A networks, 25% of IPv4 addresses to Class B, 12.5% of IPv4 addresses to Class C, and the remaining 12.5 % Shared to both Class D and E. The classful addressing plan wastes the most IP addresses, decreasing the availability of IPv4 addresses. For example, an organization with a network with more than 254 hosts would need a class B network with more than 65,000 addresses, wasting 64,700 IP addresses.
IETF introduced classless addressing to overcome the waste of IP addresses in 1993. There is no IP address class in a classless addressing system, but the addresses are still granted in blocks. In a classless addressing system, when an organization or individuals need connectivity to the Internet, it also grants a block or range of addresses according to the needs of the organization and individuals. For example, an individual requires only two addresses, and an organization is given thousands of addresses based on the number of its requirements.
Key Innovations:
- Aggregation: Combine multiple networks into a single route (e.g.,
192.168.0.0/16
covers all/24
subnets). - VLSM: Subnet a network into smaller chunks (e.g., split
/24
into four/26
subnets).
Classful vs. Classless: Side-by-Side Comparison
Feature | Classful Addressing | Classless Addressing (CIDR) |
---|---|---|
Flexibility | Fixed classes (A, B, C) | Custom prefix lengths (e.g., /24, /28) |
Subnetting | Limited to default masks (e.g., /8, /16) | VLSM allows variable-sized subnets |
Address Efficiency | High waste (e.g., 64k hosts for 500 needed) | Minimal waste (allocate exact needs) |
Routing Tables | Large tables (no aggregation) | Compact tables (route aggregation) |
Adoption Era | 1981–1993 | 1993–Present |
Example | 150.10.0.0 (Class B, /16) | 150.10.0.0/22 (1,022 hosts) |
Real-World Applications
Case Study 1: ISP Address Allocation
Comcast uses CIDR to allocate /29
blocks (8 addresses) to small businesses while reserving /20
blocks for enterprise clients.
Case Study 2: AWS VPC Subnetting
Amazon VPC allows users to create subnets like 10.0.1.0/24
for web servers and 10.0.2.0/28
for databases, optimizing security and cost.
To understand CIDR calculation, read our complete articles about IP address subnetting. Subnetting is essential for any networking technician and engineer. However, once you understand and pass your CCNA exam, then you can use our free online subnetting calculator for fast working.
FAQs
-
Classful IP Addressing divides IP addresses into fixed classes (A, B, C, D, E) based on their leading bits. Each class has a predefined subnet mask, which determines the division between the network and host portions. While simple, this method often leads to inefficient IP allocation in large networks.
VLSM » Networkustad
July 28, 2019 @ 6:40 pm
[…] we have already discussed in the previous lesson, but you can see that now we have saved many of IP addresses for future […]
October 8, 2020 @ 6:13 am
Simply wish to say your article is as surprising. The clearness for your submit is just spectacular and that I can assume you’re an expert in this subject.
Fine along with your permission let me to grab your RSS feed to stay updated with approaching post.
Thank you a million and please keep up the rewarding work.
March 25, 2021 @ 6:27 pm
Long Time No see such this pretty helpful website. Thanka
August 29, 2021 @ 6:26 pm
Thanks for the information, I will try to figure it out for more. Keep sharing such informative post keep suggesting such post.