go to  www.allaboutip.com   
AllAboutIP
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Examples
 
Subject: Examples
Author: IpGuru
In response to: CIDR -- Classless Inter-Domain Routing
Posted on: 12/17/2010 03:23:04 PM

10.11.12.13     -->  10.11.12.13/32   ==>  match

10.11.12.13     -->  10.11.12.0/24    ==>  match

10.11.12.13     -->  10.11.0.0/16     ==>  match

10.11.12.13     -->  10.0.0.0/8       ==>  match


 

> On 12/17/2010 03:17:57 PM IpGuru wrote:

CIDR stands for Classless Inter-Domain Routing which is a methodology of allocating IP addresses and routing Internet Protocol packets.

An IP address is interpreted as composed of two parts: a network-identifying prefix followed by a host identifier within that network.

CIDR blocks are identified using a syntax similar to that of IPv4 addresses: a four-part dotted-decimal address, followed by a slash, then a number from 0 to 32: A.B.C.D/N.

The number following the slash is the prefix length, the number of shared initial bits, counting from the most significant bit of the address.

An IP address is part of a CIDR block, and is said to match the CIDR prefix, if the initial N bits of the address and the CIDR prefix are the same.




References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.