Classful IP addressing represents the original scheme for assigning IP addresses, a foundational concept that shaped the early architecture of the Internet. This method, defined in RFC 791, divided the 32-bit IP address space into five distinct classes based on the leading bits of the address. Each class provided a specific range of network and host identifiers, determining the scale at which a network could operate. Understanding this system is crucial for grasping the evolution of IP technology and the motivations behind the shift to more flexible mechanisms.
Defining the Five Address Classes
The classification was primarily determined by the initial binary pattern of the address, which dictated the default network mask and the intended scale of deployment. Class A, B, and C were designated for unicast communication, allowing for a hierarchical structure of global to local networks. Class D was reserved for multicast groups, enabling one-to-many communication models, while Class E was earmarked for future experimental use. This rigid segmentation was the core of how the early Internet managed routing and identification.
Class A: Supporting Massive Networks
Class A addresses range from 1.0.0.0 to 126.255.255.255, with the first octet indicating the network and the remaining three octets available for host addresses. This structure supports over 16 million hosts per network, making it suitable for extremely large organizations or early internet backbone providers. The default subnet mask for Class A is 255.0.0.0, which simplifies the identification of the network portion when analyzing an address.
Class B: The Standard for Enterprise
Falling in the range of 128.0.0.0 to 191.255.255.255, Class B was designed for mid-sized networks, such as universities and large corporations. It allocates two octets for the network identifier and two for the host identifier, allowing for up to 65,534 hosts on each of its 16,384 networks. The corresponding default mask of 255.255.0.0 clearly delineates the network boundary from the host segment.
Class C: Efficiency for Small Networks
Class C addresses span from 192.0.0.0 to 223.255.255.255 and were intended for small local networks, such as those within a department or a small business. This class uses three octets for the network part and one for the host, limiting each network to 254 usable host addresses. The default mask 255.255.255.0 ensures that even smaller networks can be managed efficiently without wasting address space on unused hosts.
Limitations and the Advent of CIDR
The classful addressing model suffered from significant inefficiencies, primarily due to its inflexible structure. The system led to substantial waste of IP space, as organizations were forced to choose a class that often far exceeded their immediate needs, preventing the efficient aggregation of routes. This scarcity and rigidity directly fueled the development of Classless Inter-Domain Routing (CIDR), which replaced the classful system with a more dynamic method of subnetting and address allocation.
Special-Purpose and Reserved Classes
Within the classful framework, specific addresses were reserved for special functions rather than general network use. Class D addresses, ranging from 224.0.0.0 to 239.255.255.255, are dedicated to multicast traffic, allowing data to be sent to multiple destinations simultaneously. Class E, spanning 240.0.0.0 to 255.255.255.254, was保留 for experimental purposes and research, ensuring the address space could evolve with future technological demands.