test me

Site Search:

CIDR network address



As the growth of public networks, we are facing shortage of the 32-bit IPv4 addresses. The Class A and Class B address category were nearly depleted at the time. Although there are still numerous Class C network addresses, Class C addresses are limited to 254 hosts, which is too few for large organizations.

To address the IP address shortage issue, solutions have been developed in the past 20 years. One of them is IPv6, which is a 128-bit binary number and provides far more addresses than IPv4. Another solution is CIDR, which is a classless address scheme and allows for more efficient allocation of IP addresses.

The advantage of CIDR allows route aggregation, also known as supernetting. That is, CIDR can aggregate multiple smaller classful networks into a single larger network. In the above example, suppose we need to assign IP address to a network which have 700 hosts.  A Class C address can only provide 254 hosts, not meet our requirement. On the other hand, if we assign a Class B address to the network, it is too wasteful. A Class B address can support 65,534 hosts, but we only use 700 hosts. In stead of using classful address scheme, we use CIDR address instead. By doing so, we aggregated 4 class C networks into a single /22 address (the fourth one is, which can have 1022 hosts in it. Our requirement is met without using a Class B address.

As the above picture shows, the router can aggregates networks,, into one larger network Where /22 means the first 22 bits are the network part of the address, and the remaining 10 bits are the host part of the address.
The new network diagram looks like:

In suppernetting, CIDR borrow bits from network side, so that we aggregate smaller network blocks; on the other hand, sometimes we want to divide a large network into smaller sub network blocks. In later case, we use CIDR to borrow bits from host side, the process is called subnetting.

Maybe, your ISP is using CIDR right now. Your ISP might own a large address block such as, which consists of many Class C networks. The ISP assigns a small chunck of network to you, say network. The network allows you to have 510 hosts. (You can subdivide your network into even smaller chuncks such as,, and assign them to your own subnetworks.) In this example, your ISP takes the responsibility of managing the IP addresses within network, so that internet routers only need to keep this single summary route ( ), or supernet route, in order to route packets to your ISP's network. After packets get into your ISP's intranet, it is your ISP's intranet routers, that then keep the routes that are more specific to its customers' networks.

ICND1 and ICND2 break down

No comments:

Post a Comment