What Is CIDR?
What Is CIDR?
What Is CIDR?
CIDR, which stands for Classless Inter-Domain Routing, is an IP addressing scheme that improves the
allocation of IP addresses. It replaces the old system based on classes A, B, and C. This scheme also
helped greatly extend the life of IPv4 as well as slow the growth of routing tables.
With Classless Inter-Domain Routing (CIDR), IP assignments are not limited to the three classes.
The whole unicast range (any IP address with a first octet of 0 – 223) can be allocated in any size
block. In effect, the whole concept of IP address classes is done away with entirely.
This creates a system in which IP address ranges are assigned with a much, much smaller rate of
wasted IP addresses.
What is Classful?
The idea behind Classful address assignments was, if you were a company that …
▪ … needed 200 IP addresses, a /24 IP address block from the Class C range would be
assigned.
▪ … needed 50,000 IP addresses, a /16 IP address block from the Class B range would be
assigned.
▪ … needed over 65,000~ IP addresses, a /8 IP address block from the Class A range
would be assigned.
However, this led to a lot of wasted IP addresses. If, for instance, you only needed 300 IP addresses,
a Class C would not suffice, so you would end up with a Class B and nearly 60,000 IP addresses would
be wasted. In classless routing, hello messages are used for checking status. In classless routing,
subnet mask is not same throughout, it may vary for all devices, we can see it in the given picture.