CIDR Full Form

CIDR stands for Classless Inter-Domain Routing. It is an IP address assigning method that improves the efficiency of address distribution. It is also known as supernetting that replaces the older system based on classes A, B, and C networks. By using a single CIDR IP address many unique IP addresses can be designated. CIDR IP address is the same as the normal IP address except that it ends with a slash followed by a number.
172.200.0.0/16 It is called IP network prefix.

CIDR-Full-Form

Characteristics of CIDR

It dynamically allocates the IP addresses by using CIDR blocks on the requirement of the user based on certain rules. The assignment of the CIDR block is handled by the Internet Assigned Number Authority (IANA). CIDR block consists of IP addresses and it consists of some rules:

  • All IP addresses which are allocated to host must be continuous.
  • The block size must be of power 2 and equal to the total number of IP addresses.
  • The size of the block must be divisible by the first IP address of the block.

Advantages

  • CIDR provide efficient address space allocation i.e. with CIDR addresses are allocated in sizes of any binary multiple.
  • It eliminates the class imbalance, i.e. there are no more class networks so you can widely use some portion of the address space and neglect others.
  • It allows efficient routing entries i.e. a Large number of networks can be represented by a small number of routing entries.
  • No separate subnetting method is required, It implements the concept of subnetting within the internet itself.
  • It aggregates the network description and represents by a single entry.

Disadvantage

The main benefit of the older system based on classes was its simplicity. You can determine how many bits of an IP address represents the network ID and how many the host ID by just looking at the first octet. But it is no longer possible, the main drawback of CIDR is its complexity.

Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: DSA Self Paced. Become industry ready at a student-friendly price.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.