IPv4 Address Classes Explained: A, B, C, D, E for the Network+ Exam
Before CIDR, IPv4 addresses were divided into fixed classes determined by the leading bits of the first octet. Classful addressing has been obsolete in practice since 1993, and yet it is still examined — partly because the vocabulary survives in everyday speech, and partly because understanding why it failed is the fastest route to understanding why CIDR exists. Classful addressing fixed the network-host split at three possible points. CIDR let it fall anywhere, and that flexibility is what saved IPv4. The Five Classes Class First octet Leading bits Default mask Networks Hosts each A 1–126 0 255.0.0.0 (/8) 126 16,777,214 B 128–191 10 255.255.0.0 (/16) 16,384 65,534 C 192–223 110 255.255.255.0 (/24) 2,097,152 254 D 224–239 1110 Multicast — no mask — — E 240–255 1111 Experimental — reserved — — Note the gap: 127 is missing from class A because 127.0.0.0/8 is reserved for loopback. That is why class A runs 1–126 rather than 1–127, and it is a detail exams ask about direct...