An IP Address (Internet Protocol Address) is a unique logical address assigned to each device in a network so that it can be identified and communicate with other devices.
👉 Think of it like the phone number of a device on a network.
Without it, devices cannot send/receive data properly.
✅ Types of IP Addresses
- IPv4 (Internet Protocol version 4)
- IPv6 (Internet Protocol version 6) – newer, because IPv4 addresses are running out.
✅ IPv4 (Internet Protocol version 4)
- Most widely used IP version today.
- 32-bit address (4 bytes).
- Written as 4 decimal numbers separated by dots.
- Each number ranges from 0–255.
- Example:
192.168.1.10 10.0.0.5 172.16.254.1
🔹 IPv4 Address Classes
IPv4 is divided into classes (for different network sizes):
| Class | Range (First Octet) | Example | Usage |
|---|---|---|---|
| A | 1 – 126 | 10.0.0.1 | Very large networks |
| B | 128 – 191 | 172.16.0.1 | Medium networks |
| C | 192 – 223 | 192.168.1.1 | Small networks |
| D | 224 – 239 | 224.0.0.1 | Multicast |
| E | 240 – 255 | 240.0.0.1 | Experimental |
✅ Types of IPv4 Addresses
- Public IP – Unique, used on the internet.
- Private IP – Used inside local networks (not routable on internet).
- Ranges:
10.0.0.0 – 10.255.255.255172.16.0.0 – 172.31.255.255192.168.0.0 – 192.168.255.255- Loopback Address –
127.0.0.1→ Used to test your own machine.
✅ Difference Between IPv4 & IPv6 (Quick View)
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address Size | 32-bit | 128-bit |
| Example | 192.168.1.1 | 2001:0db8:85a3::8a2e:0370:7334 |
| Total Addresses | ~4.3 billion | Almost unlimited |
| Usage | Still most common | Growing adoption |
👉 In short:
- IP Address = Unique logical address of a device.
- IPv4 = 32-bit address, written in dotted decimal, still the most widely used.
Leave a comment