CIDR (Classless Inter-Domain Routing)

CIDR lets you size IPv4 networks precisely by choosing the right prefix length instead of wasting addresses with fixed classes. In this lesson you will plan subnets step by step and validate usable hosts with confidence.

  • CIDR (Classless Inter-Domain Routing) is a method introduced in 1993 by the IETF to improve IPv4 address allocation and reduce IPv4 waste.

    It replaced the old classful system, where networks were rigidly defined as:

    • Class A → fixed /8 prefix

    • Class B → fixed /16 prefix

    • Class C → fixed /24 prefix

    Diagram showing the evolution of IPv4 addressing, from Class A, B, and C in 1981, to subnetting in 1985, and finally to CIDR in 1993 which allows choosing any prefix length.

    Figure 1 – IPv4 evolution: classes, subnetting, CIDR.

    Before CIDR, in 1981, IPv4 addresses were assigned to hosts by using three fixed classes, a system that quickly led to significant address waste.

    In 1985, Subnetting was introduced, allowing Class A, B, and C networks to be divided into smaller segments. For example, a Class A network could be split into Class B or Class C networks.

    However, subnetting still required using the default class-based prefixes of /8, /16, and /24. This meant you still couldn’t choose an arbitrary prefix length.

    In 1993, CIDR solved this limitation by removing fixed classes entirely, allowing any prefix length.

    Answer the question below