Penguin
Note: You are viewing an old revision of this page. View the current version.

When the Internet? was first invented they decided that since they'd be lucky to have perhaps 1,000 computers on the Internet, that they could do some smart stuff with the IP addresses. So the first few bits of an IP address said how large the network the IP was in was.

|^Bits|^Name|^Size|^Bit length|Range |<0|Class A|128 networks of 16777216 hosts each|/8|>0.0.0.0 - 127.255.255.255 |<10|Class B|2^14 networks of 65536 hosts each|/16|>128.0.0.0 - 191.255.255.255 |<110|Class C|2^21 networks of 256 hosts each|/24|>192.0.0.0 - 223.255.255.255 |<1110|Class D|2^28 multicast ID's| |>224.0.0.0 - 239.255.255.255 |<11110|Class E|2^27 Reserved addresses| |>240.0.0.0 - 247.255.255.255

There was a lot of use of Class C networks since a lot of people had about 250 odd machines, and a lot of people using Class B addresses, however not many people required more than that. Now half the address space was "Wasted" reserved for "A" spaces and B and C spaces were running out fast. So the idea was to stop using the class bits and store the network information independantly.

The notation commonly called "CIDR notation" is to suffix / and the number of bits that form the network. For example, the "10.1.1.1" Class A address would be shown as "10.1.1.1/8". The idea is that any length of bits from 1 to 32 can be used after "/". Its fairly unlikely you'll ever see anything greater than a /8 however.

The introduction of CIDR meant that RouteAggregation could be implemented effectively.