What is IPv4 IP Address?

In Computer Networking understand the IP or Internet Protocol Address is crucial. If you are a Backend Developer or DevOps Engineer this is essential topic to understand.

Internet Protocol

IP Address is a set of unique numbers assigned to each network device such as Compute, Tablet, Mobile in order to identify that device. For example, this is an IP Address.

There are two kinds of IP address available,

  • IPv4
  • IPv6

In this post we will learn about IPv4 address.

IPv4 Address

This is the version four of Internet Protocol. IPv4 is a 32 bits or 4 bytes address integer which generally expressed in Decimal Notation. this is an IPv4 IP Address.

In here the range of each segment must be in between 0 to 255.

IPv4 has Public & Private IP.

Classes of IPv4

ClassFirst Octet ValuePublic IP Range
A1 to 1271.0.0.0 to
B128 to 191128.0.0.0 to
C192 to 223192.0.0.0 to
D224 to 239224.0.0.0 to
E240 to 255240.0.0.0 to

These are the Classes for IPv4.

Class A: Class A IP addresses are for networks with large number of total hosts communicating with each other.

Class B: Class B IP addresses are for medium to large sized number of hosts.

Class C: Class C IP addresses are used in small local area networks (LANs).

Class D: Class D IP addresses are used for multicasting. Multicasting allows a single host to send a single stream of data to thousands of hosts across the Internet at the same time. It is often used for audio and video streaming.

Class E: Class E IP addresses are used for Research purposes.

Note that, the IP starts with 127 is called Loopback Address. The purpose if it is to test TCP/IP configuration of a host.

Parts of IPv4

Network Part

The network part indicates the unique number that is assigned to your network. The network part also identifies the class of network that is assigned.

Since our IP starts with 123.89 so we can say the class for it is Class A. Remember that Class A has only one Network Part.

Like that Class B has two Network Parts and two Host Parts. Class C has three Network Parts and one Host Part.

Host Part

The Host part uniquely identifies this machine on your network.

This is a summary of IPv4.

Leave a Comment

Your email address will not be published. Required fields are marked *