Networking Tutorials

IP Address Classes Explained: A, B, C, D and E

The original IPv4 scheme split addresses into five classes (A–E) by their leading bits. Though CIDR has replaced rigid classes in practice, the ranges still appear in exams and shape how we talk about addresses.

The five classes

ClassFirst octetDefault maskUse
A1–126/8Very large networks
B128–191/16Medium networks
C192–223/24Small networks
D224–239Multicast
E240–255Experimental

(127 is reserved for loopback.)

Why classes gave way to CIDR

Classful allocation was wasteful — an organisation needing 300 addresses had to take a whole Class B (65,000). CIDR replaced classes with flexible slash notation so networks can be any size, and it enabled route summarisation. Classes remain useful vocabulary but not how modern addressing is actually assigned.

Frequently asked questions

What are the IP address classes?

Class A (1–126), B (128–191), C (192–223) for regular addressing, D (224–239) for multicast, and E (240–255) experimental. 127 is loopback.

What is the default subnet mask for Class C?

/24, or 255.255.255.0, giving 254 usable host addresses per network.

Are IP classes still used?

Not for allocation — CIDR replaced classful addressing — but the class ranges still appear in exams and networking discussion.

VS
Vipul Sir — Lead Instructor, Attila Technologies20+ years in Cisco networking. Teaching CCNA, CCNP, CCIE & CyberOps in Ahmedabad since 2004.

Want hands-on training?

Learn this on real Cisco lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.