📝 Introduction

When devices like computers, smartphones, or smart TVs connect to the internet or a local network, they need a unique identification number to communicate with each other. This identification number is called an IP address.

One of the most widely used versions is IPv4 (Internet Protocol version 4). It plays a very important role in making sure that data goes to the correct device, just like how a postal address ensures that a letter reaches the correct home.

🔢 What is an IPv4 Address?

An IPv4 address is a unique number assigned to each device connected to a network. Let’s understand its features in detail:

Example: When you connect to Wi-Fi, your device may get an IP address like:

IP Address: 192.168.0.101

This means your router assigned an IPv4 address to your device.

🏷️ IPv4 Address Classes

IPv4 addresses are divided into five different classes (A to E). These classes help in organizing addresses based on the size of the network. The classification is decided by the first octet (the first number in the IP address).

1️⃣ Class A

Example IP: 10.0.0.1

This example is often used in private networks.

2️⃣ Class B

Example IP: 172.16.0.1

3️⃣ Class C

Example IP: 192.168.1.1

This is a very common IP used in home routers.

4️⃣ Class D (Multicast)

5️⃣ Class E (Reserved)

📊 Quick Reference Table

ClassFirst Octet RangeSubnet MaskNumber of HostsUsage
A1 – 126255.0.0.0~16 millionVery large networks
B128 – 191255.255.0.0~65,000Medium networks
C192 – 223255.255.255.0~254Small networks
D224 – 239N/AN/AMulticasting
E240 – 255N/AN/AResearch/Experimental

🏁 Summary

An IPv4 address is a 32-bit unique number assigned to devices so that they can communicate over a network. IPv4 addresses are written in dotted-decimal format and divided into five classes (A to E). Class A is used for very large networks, Class B for medium networks, Class C for small networks, Class D for multicasting, and Class E for research. Understanding these classes helps in better network management and organization.