Introduction
IPv4 classful addressing is a network addressing architecture used in the early Internet, where IP addresses were divided into fixed classes based on the first few bits of the address. It was used from 1981 to 1993.
Definition
Classful addressing divides the 32-bit IPv4 address space into five classes (A, B, C, D, E) where each class has a fixed network and host portion. Classes A, B, and C are used for unicast addressing, Class D for multicast, and Class E for experimental purposes.
Classes Overview
Example
IP address 150.200.15.10 belongs to Class B because the first octet (150) falls in the range 128-191. The default subnet mask is 255.255.255.0, meaning the first 16 bits represent the network and the last 16 bits represent hosts.
Limitations
Classful addressing led to inefficient use of IP addresses and wastage of address space, which led to the development of classless addressing (CIDR).
Introduction
IPv4 classless addressing, also known as CIDR (Classless Inter-Domain Routing), was introduced in 1993 to overcome the limitations of classful addressing. It allows for flexible allocation of IP addresses.