Skip to content

What is CIDR Notation and Why Should We Pay Attention to It?

CIDR Conversion Table

Classless inter-domain routing (CIDR) is a set of Internet Protocol (IP) standards that is used to create unique identifiers for networks and individual devices. The IP addresses allow particular information packets to be sent to specific computers. Shortly after the introduction of CIDR, technicians found it difficult to track and label IP addresses, so a notation system was developed to make the process more efficient and standardized. 

That system is known as CIDR notation. This guide covers everything you need to know about CIDR and has a CIDR table to help you understand how the IP assigning process works.

How does CIDR work?

CIDR IP addresses consist of two groups of numbers, which are also referred to as groups of bits. The most important of these groups is the network address, and it is used to identify a network or a sub-network (subnet). The lesser of the bit groups is the host identifier. The host identifier is used to determine which host or device on the network should receive incoming information packets.

In contrast to classful routing, which categorizes addresses into one of three blocks, CIDR allows for blocks of IP addresses to be allocated to internet service providers. The blocks are then split up and assigned to the provider’s customers.

Until recently, IP addresses used the IPv4 CIDR standard, but because IPv4 addresses are nearly exhausted, a new standard known as IPv6 has been developed and will soon be implemented.

Development and History of CIDR

When the Domain Name System (DNS) was first established, the classful routing system was used for IP addresses. But early internet developers soon discovered that it included a serious flaw — it lacked scalability.

To solve this problem, the Internet Engineering Task Force created the IPv4 standard in 1993. In addition, CIDR was created as a system of routing the new IPv4 addresses. These standards were originally published under the names RFC 1518 and RFC 1519. In 2006, a new version of the standard was published as RFC 4632.

According to the CIDR standard, the first part of an IP address is a prefix, which identifies the network. The prefix is followed by the host identifier so that information packets can be sent to particular computers within the network. With the classful routing system, individual networks were either limited to 256 host identifiers or overburdened with 65,536 identifiers. For many network enterprises, 256 identifiers were not enough and 65,536 were too burdensome to be used efficiently.

In the 1980s, as TCP/IP grew into the modern internet, the need for a more flexible routing system was recognized. This need prompted the development of CIDR and subnets. CIDR and the process of variable-length subnet masking (VLSM) allow network administrators to divide individual networks into subnets of various sizes. In addition, addresses for related operations can be grouped together to create a simple system of categorization. Internet providers are also able to allocate a scalable number of addresses, in blocks, to organizations based on how many addresses are needed.

These new routing and categorization systems solved most of the problems with IP addresses, and the only remaining problem was deciding how to identify them efficiently. Eventually, CIDR notation was established and accepted as the standard. In CIDR notation, IP addresses are written as a prefix, and a suffix is attached to indicate how many bits are in the entire address. The suffix is set apart from the prefix with a slash mark.

For instance, in the CIDR notation, the prefix or IP address is, and the suffix or total number of bits in the address is 24.

Advantages of CIDR

The biggest benefit of CIDR has been more efficiency in networking. Some of the other major advantages are:

  • IP addresses aren’t limited to network size: The previous system for assigning IP addresses — putting networks into three classes based on their size — depleted available IP addresses rapidly. CIDR, on the other hand, is classless and can organize IP addresses into multiple subnets. This system of networking allows routers to reach traffic destinations much more quickly.
  • Amalgamated subnets: Using CIDR allows you to combine subnets into a supernet, making one routing table entry that represents an entire aggregation of networks. It’s much more efficient and saves space for stating network addresses in routers.
  • More IP address allocation: Although the 128-bit IP addresses with IPv6 is a long-term solution to our problem of running out IP addresses, IPv6 isn’t widely implemented yet. Classless addressing with CIDR has become the medium-term solution to the IP address exhaustion problem until IPv6 is more common.

Disadvantages of CIDR

Most system administrators and network architects would agree that CIDR is a good thing on the whole. Using it does come with one challenge, though: It’s more complex.

When you use classful addressing (the system in place before CIDR), you can always tell what the subnet is from the IP address. With CIDR, you have to explicitly define network masks. There’s more to learn and more addresses to keep straight.

What is a CIDR block?

The ability to group blocks of addresses into a single routing network is the hallmark of CIDR, and the prefix standard used for interpreting IP addresses makes this possible. CIDR blocks share the first part of the bit sequence that comprises the binary representation of the IP address, and blocks are identified using the same decimal-dot CIDR notation system that is used for IPv4 addresses.

For example, is an address prefix with 32 bits, which is the highest number of bits allowed in IPv4. Addresses with identical prefixes and the same number of bits always belong to the same block. In addition, larger blocks can be easily distinguished from smaller blocks by the length of the prefix. Short prefixes allow for more addresses while large prefixes identify small blocks.

CIDR notation is also used for the newer IPv6 standard, and the syntax is the same. The only difference is that IPv6 addresses may contain up to 128 bits instead of the 32-bit maximum of IPv4. Even though IPv6 addresses may be up to 128 bits in length, it is important to note that subnets on MAC layer networks always use 64-bit host identifiers.

How CIDR blocks get assigned

The assignment of CIDR blocks is handled by the Internet Assigned Numbers Authority (IANA). One of the duties of the IANA is to issue large blocks of IP addresses to regional internet registries (RIRs). These blocks are used for large geographical areas, such as Europe, North America, Africa, and Australia. It is then the duty of each RIR to create smaller, but still quite large, blocks of IP addresses to be assigned to local internet registries (LIRs).

Depending on the organization of regional and local registries, blocks may be subdivided further until they are assigned to end users. The size of blocks assigned to end users is dependent on how many individual addresses will be required by each user. Most end users receive their blocks from a single internet service provider (ISP), but organizations that make use of multiple ISPs must obtain provider-independent blocks directly from an LIR or RIR.

Note that for routed subnets bigger than /31 or /32, two reserved addresses need to be subtracted from the number of available host addresses: the largest address, which is used as the broadcast address, and the smallest address, which is used to identify the network itself. In addition, any border router of a subnet typically uses a dedicated address.

What are IPv4 CIDR blocks?

An IPv4 CIDR block is a block of IP addresses that follow the IPv4 standard. IPv4 addresses have 32 bits, whereas IPv6 addresses have 128 bits. An IPv4 address can have fewer than 32 bits, however and addresses with identical prefixes and the same number of bits belong to the same CIDR block.

What are IPv6 CIDR blocks?

An IPv6 CIDR block is a block of IP addresses that follow the IPv6 standard. We started running out of IP addresses to assign every device that was going online using the IPv4 standard, so IPv6 was developed. IPv6 addresses are much longer and contain 128 bits instead of 32 bits, like IPv4 addresses. 

CIDR and subnet masks

Once blocks of IP addresses are assigned to end users, CIDR allows them to be further divided within a private network, which is a process known as subnetting (or sub-networking).

How subnet masks work

Computers and other connected devices within a particular subnet can be identified because they all use the same IP address prefix. The subnet identifier then becomes the most significant portion of the host identifier. Then, the last part of the host identifier is used to distinguish individual computers on a subnet.

The subnet identifiers within a network are assigned according to the network’s subnet mask, which is a binary pattern that is used to determine how many subnets are available in a network. In its binary form, a subnet mask begins with a series of ones and ends with a series of zeros. However, subnet masks are usually expressed using the familiar dot-decimal notation used for IP addresses and network prefixes. In this notation, the series of ones become the number 255.

For example, the most common subnet mask expressed using this notation is This subnet mask is known as subnet zero, and it is used when only one subnet is required or as the first of multiple subnets.

How CIDR makes subnetting easier

A specific subnet mask is created by designating a portion of the host identifier, and larger subnets are created by moving more bits from the host identifier to the subnet mask. The final subnet of a network is designated in binary with all ones. When using the CIDR dot-decimal notation, the final subnet is expressed as

Before CIDR, subnet masks with all zeros ( and subnet masks with all ones ( could not be used because they could become confused with network identifiers, but CIDR-compliant equipment uses the prefixes and suffixes of CIDR notation to distinguish between the two.


CIDR has made assigning IP addresses much more efficient for the time being. Although it can be more complicated than the classful system we used before, it will ensure we don’t waste or run out of IP addresses before IPv6 becomes more widespread.

Related Articles

  • All
  • Easy Prey Podcast
  • General Topics
  • Home Computing
  • IP Addresses
  • Networking Basics: Learn How Networks Work
  • Online Privacy
  • Online Safety
Ethics of Facial Recognition Technology

Ethical Considerations in Facial Recognition Technology

Facial recognition software is no longer just the fodder of movies like the Mission:Impossible franchise and Minority…

[Read More]
Customizing Blockchain for Cybersecurity

Blockchain’s Role in Cybersecurity: Benefits and Uses

As the digital landscape evolves, the quest for robust cybersecurity solutions has led us to blockchain, a…

[Read More]
Unveiling the Dark Web

Unveiling the Dark Web: Understanding Its Mechanics and Dangers

Like an iceberg, the internet has hidden depths lurking below the surface that most people see. The…

[Read More]
Enhance Your Smart Home Security

Enhance Your Smart Home Security: Protect Your IoT Ecosystem

Technology continues to revolutionize our lives in ways that can enhance every aspect of our daily routines….

[Read More]
Clayton Cranford talks about what parents need to know about children and technology.

Mental Health, Exploitation, and More: What Tech is Doing to Our Kids and Why Parents Need to Know

Nobody thinks it could happen to their family. But assuming it couldn’t happen to you is the…

[Read More]
Strategies for Detection of and Protection From Deepfakes

How to Spot and Protect Yourself Against Deepfakes

For decades, popular science fiction movies like 2001: A Space Odyssey and The Terminator have warned us…

[Read More]