What are the different classes of IP address? What is the range of classes A, B, C, D, E?
I am explaining the use and range of each IP class in detail with examples.
Internet Protocol (IP) is a network layer, host-to-host delivery protocol. It means it delivers a packet from one host to the other with no knowledge about the ports within the host.
It is a connection-less protocol that makes it unreliable. Hence, it is often clubbed with TCP. TCP is a reliable protocol from the transport layer.
There are two versions of the IP address. These are IPv4 and IPv6.
In this article, we discuss IPv4 address space and its different classes of IP addresses.
Table of Contents
An IP address uniquely identifies each host and router. This IP address is 32 bits long.
One of the usual IP addresses that we see.
For example, 145.10.34.3.
This address is a 32-bit address represented within the system in binary form:
10010001.00001010.00100010.00000011
An IP address format is usually divided into two parts:
Two hosts in the same network have the same network ID part but different host ID part.
You can also write a Python program to validate the IP address.
On the basis of this division, IP addresses are classified into various classes.
Following are the different classes of IP address:
We can use IP address classes A, B, and C for subnetting and supernetting in a computer network.
You can use a simple online tool to find out the class of any IP address.
Summarizing different classes of IP address with its range and applications:
Class | IP Address Range (Theoretical) | Start-Bits | Application / Used for |
---|---|---|---|
A | 0.0.0.0 to 127.255.255.255 | 0 | Very large networks |
B | 128.0.0.0 to 191.255.255.255 | 10 | Medium networks |
C | 192.0.0.0 to 223.255.255.255 | 110 | Small networks |
D | 224.0.0.0 to 239.255.255.255 | 1110 | Multicast |
E | 240.0.0.0 to 247.255.255.255 | 1111 | Experimental |
The IP address ranges for a different class in the table are theoretically calculated. There are some special IP addresses that are reserved for a special purpose.
Suppose,
IP addresses having all zero’s or one’s either in the network id or host id are ruled out from all the IP address classes. These IP addresses are used for a special purpose.
A related article that you may like to read: How does Computer Network Work?
thanks alot
What ‘alot’ helped you with ??
what are types of networks that falls under the network classes?
Emmarentia,
Can you please elaborate the term “types of network” in your case?
What are the different up addresses?
I think you mean IP addresses. Basically, there are two main IP address protocols- IPv4 and IPv6.
Thank you.
There is a misspelling at Class D. You refer to it in the desc as Class C.
Thanks Asif for the correction. Edited.
thank you so much
You’re welcome!
Hi Aniruddha, I was reading this for my thesis on Networking. Thanks for this simple IP address classification and easy guide.
You’re welcome, Charles! Best wishes for your thesis.
So I am getting my degree in Cybersecurity and one of our discussion questions are: You are a network manager for a large organization that consists of 6000 users. You need to build a network for the entire organization.
What IP scheme(s) will you use and why? Please provide technical details.
So I thought Class A would be the best solution. Subnetting is also something I feel would be good to implement.
References to websites or perspectives would be great.