IPv4 addresses are 32 bit addresses divided into 4 octets. In this article we’ll examine how IP addresses are divided into classes and what are they used for. Classful allocation of IP address space wasted many addresses, which exhausted the availability of IPv4 addresses. Today is used classless addressing system.
In next table you see the classification of IPv4 addresses.
|IP Address Class||First octet range (decimal/binary)||Octects for Network(N) and Hosts(H)||Default subnet mask||Nr of possible networks and hosts|
|N.H.H.H||255.0.0.0||126 nets (2^7);
16,277,214 hosts (2^24-2)
|N.N.H.H||255.255.0.0||16,384 nets (2^14);
65,534 hosts (2^16-2)
|N.N.N.H||255.255.255.0||2,097,152 nets (2^21);
254 hosts (2^8-2)
Designet to fit a very large numbers of IP addresses. There are 128 possible networks, from 0.0.0.0/8 to 127.0.0.0/8. It takes one-half of IPv4 addresses pool and uses default mask 255.0.0.0 (/8). Number of ip addresses per network are 224=16,277,216 and for hosts are used 16,277,216-2=16,277,214. First IP address is used as network address and last is broadcast address.
Designed for medium to large networks. There are 16,384 possible networks, from 18.104.22.168/16 to 22.214.171.124/16 with default mask 255.255.0.0 (/16). Number of ip addresses per network are 214= 65,536 and for hosts are used 65,536-2=65,534.
Class CThis class of addresses is designed for small networks. There are 2,097,152 possible networks, from 192.0.0.0 /24 to 126.96.36.199 /24 with default mask 255.255.255.0 (/24). Number of ip addresses per network are 28= 256 and for hosts are used 256-2=254.
Class D block of IP addresses is used for multicast applications such as IPTV.4006 views