IP Classes

0
233
ip-classes

Internet Protocol

The Internet Protocol (IP) is a fundamental protocol in the Intenet. An IP address is a unique number to identify a computer or any other device on the Internet. It allows a device to communicate with other devices over an IP-based network like the Internet. IPv4 and IPv6 are the two versions of IP addresses used on the Internet.

The original IPv4 protocol is used on both the Internet and many corporate networks. These are actually 32-bit binary numbers with two subaddresses. IPv4 is composed of two parts in which the first numbers specify the network part and the latter number specify the specific host. There are five classes of available IP ranges in IPv4 which are mentioned below.

IPv6 is the newer version of the IP protocol. It uses 128-bit addresses of data to store an address. The size of IPv6’s address space is 340 Duodecillion which is much larger than IPv4.

IP CLASSES:

TCP/IP defines five classes of IP in IPv4 addresses. Each class has a range of valid IP addresses. The following are the five classes of IP addresses

1)Class A
2)Class B
3)Class C
4)Class D
5)Class E

Class A:
Class A IPs are ranging from 1.0.0.0 to 127.0.0.0. But 127.0.0.0 is used as a loopback address so the range is considered up to 126.255.255.254. Basically, it is used for LAN purposes. The default subnet mask of Class A is 255.0.0.0. It is nothing but Class A can have 126 networks and 16777214 hosts.

Class B:
Class B IPs are ranging from 128.0.0.1 to 191.255.255.254. Class B IPs are used for MAN purposes. Class B can have 65534 hosts. The default subnet mask of class B is 255.255.0.0. Out of 32 bits, 16 bits are used as network bits and the remaining 16 are used as host bits.

Class C:
Class C IPs are ranging from 192.0.0.1 to 223.255.255.254. It is used for WAN purposes. The default subnet mask is 255.255.255.0 that means Class C can have 254 hosts. Out of 32 bits, 24 bits are considered as network bits and 8 bits are used as host bits.

Class D:
Class D IP ranges between 224.0.0.1 to 239.255.255.255. Class D does not have the subnet mask. It is reserved for multicasting purposes.

Class E:
Class E IP ranges from 240.0.0.1 to 255.255.255.254. The class E also does not have the subnet mask and it is used for the research and development purposes.

 NOTE:
1)Network IDs:
-10.0.0.0
-128.0.0.0
-192.0.0.0
2)Broadcast IDs:
-126.255.255.255
-191.255.255.255
-223.255.255.255

LEAVE A REPLY

Please enter your comment!
Please enter your name here