8 Steps to Understanding IP Subnetting

Step 6 - CIDR IP Addressing

Having spent a whole bunch of time learning about IP addresses and classes, you might be surprised that in reality they are not used anymore other than to understand the basic concepts of IP addressing.

Instead, network administrators use Classless Internet Domain Routing (CIDR), pronounced "cider", to represent IP addresses. The idea behind CIDR is to adapt the concept of subnetting to the entire Internet. In short, classless addressing means that instead of breaking a particular network into subnets, we can aggregate networks into larger supernets.

CIDR is therefore often referred to as supernetting, where the principles of subnetting are applied to larger networks. CIDR is written out in a network/mask format, where the mask is tacked onto the network address in the form of the number of bits used in the mask. An example would be What is most important to understand about the CIDR method of subnetting is the use the network prefix (the /25 of, rather than the classful way of using the first three bits of the IP address to determine the dividing point between the network number and the host number.

The process for understanding what this means is:

  1. The “205” in the first octet means this IP address would normally contain 24 bits to represent the network portion of the address. With eight bits to an octet, the arithmetic is 3 x 8 = 24, or looking at it the other way around, “/24” means no bits are being borrowed from the last octet.
  2. But this is “/25,” which indicates it is “borrowing” one bit from the host portion of the address.
  3. With only one bit, there can only be two unique subnets.
  4. So this is the equivalent of a net mask of, where there is a maximum of 126 host addresses addressable on each of the two subnets.

So why did CIDR become so popular? Because it’s a much more efficient allocator of the IP address space. Using CIDR, a network admin can carve out a number of host addresses that’s closer to what is required than with the class approach.

For example, say a network admin has an IP address of to work with. This block consists of 16,384 IP addresses. But if only 900 host addresses are required, this wastes scarce resources, leaving 15,484 (16,384 – 900) addresses unused. By using a subnet CIDR of though, the network would address 1,024 nodes, which is much closer to the 900 host addresses required.

Share this:
Written by Dale Janssen
Profile Picture of Dale Janssen
Dale Janssen is a co-founder of Techopedia and has been involved in the IT Industry for most of his career. He purchased his first computer in 1978 - an Ohio Scientific computer with a whopping memory size of 48K, operating a relic of an operating system called CPM. In fact, his roots go so far back in the computing biz that when he graduated from university, there was no such thing as a computer science department.