Skip to main content

CIDR Classless Inter-Domain Routing


Classless Inter-Domain Routing
Acronym. CIDR. Classless Inter-Domain Routing; normally an IP address notation such as 192.168.1.0/24 indicating a block of addresses. The number after the slash indicates how many bits are in the mask; bits to the right are not masked.

CIDR (Classless Inter-Domain Routing or supernetting)

CIDR (Classless Inter-Domain Routing, sometimes called supernetting) is a way to allow more flexible allocation of Internet Protocol (IP) addresses than was possible with the original system of IP address classes. As a result, the number of available Internet addresses was greatly increased, which along with widespread use of network address translation (NAT), has significantly extended the useful life of IPv4.


cidr calculator

Follow below link

http://www.subnet-calculator.com/cidr.php
http://jodies.de/ipcalc?host=192.16.0.1&mask1=16&mask2=


CIDR - Classless Inter Domain Routing


CIDR - Classless Inter Domain Routing - was adopted to help ease the load imposed on internet and large network backbone routers by the increasing size of routing tables.
Large routing tables have several adverse effects:
  • Routers require more memory in order to store and manipulate their routing tables which increases operation costs.
  • Routing latency is increased due to the large amount of data contained in the routing tables.
  • Network bandwidth usage is increased by routing updates when routers exchange their routing tables.
A solution to these problems was found in CIDR. CIDR permits IP Address aggregation which in turn reduces the size of routing tables and so addresses the problems listed above.

CIDR and IP Address Aggregation


So what is IP Address Aggregation? Quite simply, IP Address Aggregation means that several networks can be spanned by a single routing entry. Consider the following case:
Our router needs to route traffic for eight seperate networks through the same gateway (ip address 194.1.1.1):
ip route 66.100.50.0 255.255.255.224 194.1.1.1
ip route 66.100.50.32 255.255.255.224 194.1.1.1
ip route 66.100.50.64 255.255.255.224 194.1.1.1
ip route 66.100.50.96 255.255.255.224 194.1.1.1
ip route 66.100.50.128 255.255.255.224 194.1.1.1
ip route 66.100.50.160 255.255.255.224 194.1.1.1
ip route 66.100.50.192 255.255.255.224 194.1.1.1
ip route 66.100.50.224 255.255.255.224 194.1.1.1
Without CIDR, our routing table would need to maintain a seperate entry for each of the eight individual networks.
As the eight example networks are contiguous, i.e. their address spaces follow numerically with no gaps, we can encapsulate all eight with a single CIDR route by simply changing the subnet mask:
ip route 66.100.50.0 255.255.255.0 194.1.1.1
It's easy to see the benefit of IP Address Aggregation and CIDR when we see the difference in routing table entries between the "before CIDR" and "after CIDR" cases above. This is a very simple example but it is easy to imagine how CIDR can help in the real world with much larger aggregations.
CIDR brings with it its own simplified form of IP network address notation. Instead of using the network address and subnet mask, CIDR notation uses the network address followed by a slash ("/") and the number of mask bits. For example, taking the CIDR network from the above case:
66.100.50.0 255.255.255.0
would become  66.100.50.0/24

Comments

Popular posts from this blog

NVIDIA - Build powerful machine learning applications on cloud infrastructure

NVIDIA - Build powerful machine learning applications on cloud infrastructure with highest performing GPU-accelerated  FLEXIBLE, POWERFUL HIGH PERFORMANCE COMPUTING Unlike on-premises systems, running high performance computing on Amazon EC2 P3 instances offers virtually unlimited capacity to scale out your infrastructure, and the flexibility to change resources easily and as often as your workload demands NVIDIA (NASDAQ: NVDA) is a computer technology company that has pioneered GPU-accelerated computing. It targets the world’s most demanding users — gamers, designers and scientists — with products, services and software that power amazing experiences in virtual reality, artificial intelligence, professional visualization and autonomous cars NVIDIA Deep Learning AMI The NVIDIA Deep Learning AMI is an optimized environment for running the Deep Learning, Data Science, and HPC containers available from NVIDIA's NGC registry. The Docker containers available on the NGC...

NVIDIA - Amazon EC2 Instances with P, G and F Series Accelerate Computing

         NVIDIA - Amazon EC2 Instances with P and G Series New models will be faster on a GPU instance than a CPU instance. You can scale sub-linearly when you have multi-GPU instances or if you use distributed training across many instances with GPUs. Amazon EC2 P3 Instances have up to 8 NVIDIA Tesla V100 GPUs. Amazon EC2 P2 Instances have up to 16 NVIDIA NVIDIA K80 GPUs. Amazon EC2 G3 Instances have up to 4 NVIDIA Tesla M60 GPUs. Check out EC2 Instance Types and choose Accelerated Computing to see the different GPU instance options. New – Amazon EC2 Instances with Up to 8 NVIDIA Tesla V100 GPUs (P3) Driven by customer demand and made possible by on-going advances in the state-of-the-art, we’ve come a long way since the original  m1.small  instance that launched in  2006 , with instances that emphasize compute power, burstable performance, memory size, local storage, and accelerated computing...

AWS S3 Simple Storage Service

                             Amazon  S3  (Simple Storage Service) Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon  S3  has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. What Is Amazon S3? Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefit...