Global addresses:

  • Properties:
    • Globally unique
    • Hierarchical: network + host
    • 4 billion IP Addresses, half are A type, 1/4 are B type, 1/8 are C type

Global address format

In the olden days, only fixed allocation sizes:

ClassMost significant bitsCIDRAddress rangeNotes
A0/80.0.0.0127.255.255.255126 different networks possible (0 and 127 reserved)
B10/16128.0.0.0191.255.255.255 networks possible
C110/24192.0.0.0223.255.255.255 networks possible, 254 hosts per network
D1110--For multicast groups
E11110--Reserved for future use

This is why people use dotted-quad notation

Problems with Classful Addressing

  • Wastage of addresses
  • Bigger tables to look up at routers
    • Because there’s a limited number of class A and class B networks, most people will have to use class C networks
    • But class C networks are not big enough for their purposes
    • So they’ll have to get themselves multiple class C networks instead of just one network of the right size
    • Hence, more entries in routing tables

Enter Classless Inter-Domain Routing (CIDR)