Content deleted Content added
m Reverted edits by 103.190.108.99 (talk) (AV) |
No edit summary Tags: Reverted references removed Visual edit Mobile edit Mobile web edit |
||
Line 2:
{{Redirect|CIDR}}
'''Classless Inter-Domain Routing''' ('''CIDR'''
IP addresses are described as consisting of two groups of
Whereas classful network design for
==Background==
Line 64:
* {{IPaddr|::1|128}} represents the IPv6 [[loopback]] address. Its prefix length is 128 which is the number of bits in the address.
In IPv4, CIDR notation came into wide use only after the implementation of the method, which was documented using [[dotted-decimal]] subnet mask specification after the slash, for example, {{IPaddr|192.24.12.0|22|netmask=dotted}}.<ref name="RFC 1519">{{cite IETF|rfc=1519|title=Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy|author1=V. Fuller|author2=T. Li|author3=J. Yu|author4=K. Varadhan|date=September 1993}}</ref> Describing the network prefix width as a single number ({{IPaddr|192.24.12.0|22}}) was easier for network administrators to conceptualize and to calculate. It became gradually incorporated into later standards documents<ref>{{cite ietf |rfc=1878 |title=Variable Length Subnet Table For IPv4 |author1=T. Pummill |author2=B. Manning |date=December 1995}}</ref><ref>{{cite ietf |rfc=2167 |title=Referral Whois (RWhois) Protocol V1.5 |author1=S. Williamson |author2=M. Kosters |author3=D. Blacka |author4=J. Singh |author5=K. Zeilstra |date=June 1997 |quote=IP networks are also lexically hierarchical labels using the Classless Inter-Domain Routing (CIDR) notation, but their hierarchy is not easily determined with simple text manipulation; for example, 198.41.0.0/22 is a part of 198.41.0.0/16, which is a part of 198.40.0.0/15.}}</ref> and into network configuration interfaces.
The number of addresses of a network may be calculated as 2<sup>address length − prefix length</sup>, where ''address length'' is 128 for IPv6 and 32 for IPv4. For example, in IPv4, the prefix length {{IPaddr||29}} gives: 2<sup>32−29</sup> = 2<sup>3</sup> = 8 addresses.
|