Sunday 30 October 2011

CIDR(Classless inter Domain Routing)

What Is CIDR?
CIDR is a new addressing scheme for the Internet which allows for more efficient allocation of IP addresses than the old Class A, B, and C address scheme.
Why Do We Need CIDR?
There is a maximum number of networks and hosts with a new network being connected to the Internet every 30 minutes the Internet was faced with two critical problems: 
  • Running out of IP addresses 
  • Running out of capacity in the global routing tables 


Running Out of IP Addresses
There is a maximum number of networks and hosts that can be assigned unique addresses using the Internet's 32-bit long addresses. Traditionally, the Internet assigned "classes" of addresses: Class A, Class B and Class C were the most common. Each address had two parts: one part to identify a unique network and the second part to identify a unique host in that network. Another way the old Class A, B, and C addresses were identified was by looking at the first 8 bits of the address and converting it to its decimal equivalent. 


Address Class# Network Bits# Hosts BitsDecimal Address Range
Class A8 bits24 bits1-126
Class B16 bits16 bits128-191
Class C24 bits8 bits192-223
Using the old Class A, B, and C addressing scheme the Internet could support the following: 
  • 126 Class A networks that could include up to 16,777,214 hosts each 
  • Plus 65,000 Class B networks that could include up to 65,534 hosts each 
  • Plus over 2 million Class C networks that could include up to 254 hosts each 


(Some addresses are reserved for broadcast messages, etc.). Because Internet addresses were generally only assigned in these three sizes, there was a lot of wasted addresses. For example, if I needed 100 addresses I would be assigned the smallest address (Class C), but that still meant 154 unused addresses. The overall result was that while the Internet was running out of unassigned addresses, only 3% of the assigned addresses were actually being used. CIDR was developed to be a much more efficient method of assigning addresses. 
Global Routing Tables At Capacity
A related problem was the sheer size of the Internet global routing tables. As the number of networks on the Internet increased, so did the number of routes. A few years back it was forecasted that the global backbone Internet routers were fast approaching their limit on the number of routes they could support. 
Even using the latest router technology, the maximum theoretical routing table size is approximately 60,000 routing table entries. If nothing was done the global routing tables would have reached capacity by mid-1994 and all Internet growth would be halted.
How Were These Problems Solved?
Two solutions were developed and adopted by the global Internet community: 
  • Restructuring IP address assignments to increase efficiency 
  • Hierarchical routing aggregation to minimize route table entries 

TRANSMISSION TYPE



Unicast  Vs Multicast


 Multicast - is the delivery of a single stream or information to a group of destination host simultaneously in a single transmission from the source creating copies automatically in other network using Network Devices like routers for efficient bandwidth utilization.

For example Radio:
                As you want to listen Radio , you will tune to particular Radio frequency and you can listen it. It’s same in multicast, you can join the multicast group you will access the real time applications.
Multicast is majorly used in Real time applications like, Voice, Video, Stock Broking applications, etc.

Why Multicast:
–    Used when sending same data to multiple receivers
      Better bandwidth utilization
      Used when addresses of receivers unknown
      Used when simultaneous delivery of information for a group of receivers is required


 KINDLY COMMENT IF YOU LIKE THIS POST
For any queries send your mail id with question..