Classful IP addressing represents the original framework for Internet Protocol version 4 (IPv4) allocation and routing, established during the formative years of network engineering. This system divided the 32-bit address space into five distinct classes—A, B, C, D, and E—based on the leading bits of the address to automatically determine the network and host boundaries. Before the widespread adoption of Classless Inter-Domain Routing (CIDR), classful addressing was the standard method for organizing IP networks, influencing how routers handled packet forwarding and how administrators managed subnetworks.
The Structure of Classful Addressing
The classification of an IP address is determined by its first few bits, which serve as a prefix to identify the class and the default subnet mask associated with it. Each class has a specific range and a fixed format for dividing the address into network and host portions, eliminating the need for complex calculations in routing tables during the early days of the internet. This rigid structure simplified the design of routers but proved inefficient as the internet scaled.
Class A Networks
Class A addresses range from 1.0.0.0 to 126.255.255.255, with a default subnet mask of 255.0.0.0. The first octet identifies the network, while the remaining three octets are available for host addresses, allowing for over 16 million hosts per network. This class was intended for massive organizations and government entities, providing the largest possible address block within the classful system.
Class B Networks
Class B addresses span from 128.0.0.0 to 191.255.255.255, utilizing a default subnet mask of 255.255.0.0. Here, the first two octets define the network segment, and the last two octets accommodate host devices, supporting up to 65,534 hosts per network. This class was designed for medium-to-large enterprises and universities, striking a balance between network quantity and host capacity.
Class C Networks
Class C addresses cover the range from 192.0.0.0 to 223.255.255.255, with a standard subnet mask of 255.255.255.0. The first three octets identify the network, leaving the final octet for host addressing, which allows for 254 usable hosts per network. This class was suitable for small local area networks (LANs) and became the most commonly assigned type of address due to its efficiency for small organizations.
Limitations and Special-Purpose Classes
Beyond the primary classes, Class D and Class E addresses serve specialized functions that highlight the limitations of a purely classful system. Class D is reserved for multicast communication, enabling efficient one-to-many data delivery, while Class E addresses are set aside for experimental and research purposes. These allocations demonstrate how the classful model attempted to reserve space for future technological needs, though it ultimately could not adapt to the rapid growth of the internet.
The inefficiencies of classful addressing became increasingly apparent as organizations often required more IP addresses than their class allowed, leading to significant waste of the finite IPv4 address space. For instance, a medium-sized company forced to use a Class B address would reserve thousands of unused host IDs, exacerbating the looming address exhaustion problem. This inflexibility paved the way for the development of CIDR, which introduced variable-length subnet masking (VLSM) to allocate IP addresses more granularly and efficiently.