CITS3002 Computer Networks  
prev
next CITS3002 help3002 CITS3002 schedule  

Classless Inter-Domain Routing (CIDR)

With the advent of CIDR, the classful restrictions no longer exist. Address space may be allocated and assigned on bit boundaries, and routers may use one aggregated route (like 194.145.96.0/20) instead of advertising 16 class C addresses [RFC-1518].

addrsbitsprefixclassmask
10/32-255.255.255.255
21/31-255.255.255.254
42/30-255.255.255.252
83/29-255.255.255.248
164/28-255.255.255.240
..........
5129/232C255.255.254.0
1K10/224C255.255.252.0
..........
64K16/161B255.255.0.0
128K17/152B255.254.0.0
256K18/144B255.252.0.0
512K19/138B255.248.0.0
1M20/1216B255.240.0.0
2M21/1132B255.224.0.0
4M22/1064B255.192.0.0
..........
128M27/58A248.0.0.0
256M28/416A240.0.0.0
512M29/332A224.0.0.0
1024M30/264A192.0.0.0

where:

  • 'addrs' represents the number of addresses available; note that the number of addressable hosts normally is 2 less than this number because the host parts with all equal bits (all 0s and all 1s) are reserved.
  • 'bits' represents the size of the allocation/assignment in bits of address space.
  • 'prefix' represents the length of the route prefix covering this address space. This is sometimes used to indicate the size of an allocation/assignment.
  • 'class' represents the size of the address space in terms of classful network numbers.
  • 'mask' represents the network mask defining the routing prefix in dotted decimal notation.



CITS3002 Computer Networks, Lecture 7, The TCP/IP protocol suite, p11, 17th April 2024.