Understanding IP Addresses: The Internet’s Address System

computer networks Feb 03, 2025

Introduction

Imagine we live in a big city, and every house has a unique address. This address helps the mail carrier deliver letters, packages, and even pizza to the right home. Without addresses, everything would be chaotic, and deliveries would get lost! The internet works the same way. Every device connected to a network (like our phone, laptop, or even a smart TV) needs a unique address to send and receive information. This unique address is called an IP address (Internet Protocol address).

What is an IP Address?

An IP address is a unique numerical label assigned to every device connected to the internet or a private network. It helps devices find and communicate with each other, just like a home address helps people send and receive mail.

Example:

  • Just like a house has an address like 123 Main Street, New York, a device on the internet may have an IP address like 192.168.1.1.

 

IPv4 vs. IPv6

Initially, all devices used IPv4 addresses, which are 32-bit numbers written in four parts (e.g., 192.168.1.1). However, as the internet grew, we started running out of IPv4 addresses.

To solve this problem, IPv6 was introduced. IPv6 uses 128-bit addresses, allowing for many more unique addresses (e.g., 2001:db8::ff00:42:8329).

  • IPv4 (Old version) ➝ 4 billion addresses (Not enough for today’s world)

  • IPv6 (New version) ➝ Almost unlimited addresses (Future-proof!)

 

Public vs. Private IP Addresses: Internet vs. Local Network

Just like some streets are public and others are private (like gated communities), IP addresses can be:

  • Public IP Addresses: Used on the internet, assigned by our internet provider.

  • Private IP Addresses: Used inside homes, offices, or companies (e.g., 192.168.1.1 for Wi-Fi routers).

Our home router has a public IP to connect to the internet but assigns private IPs to devices like phones and laptops inside your house.

 

Understanding Subnetting: Organizing the Internet

Subnetting is like dividing a city into different neighborhoods. It helps in organizing networks efficientlyInstead of giving every house in a city a random address, city planners divide areas into ZIP codes. Similarly, in networking, subnets divide large networks into smaller, more manageable parts. Example: 192.168.1.0/24 is a subnet that allows up to 256 devices.

What is CIDR (Classless Inter-Domain Routing)?

CIDR notation (e.g., /24 or /16) is a way of defining how many IPs belong to a network.

  • 192.168.1.0/24 ➝ Allows 256 devices (computers, phones, etc.).

  • 192.168.1.0/26 ➝ Allows only 64 devices (smaller network).

CIDR makes sure IP addresses are used efficiently.

 

How Does Your Device Find Websites? (DNS)

You might wonder: If websites have IP addresses, why do we type names like google.com instead of numbers?

That’s because of DNS (Domain Name System). It works like a phonebook:

  • When we type google.com, DNS translates it into an IP address (e.g., 142.250.190.78).

  • Our device then connects to that IP address to load the website.

Without DNS, we would have to remember numbers instead of website names!

 

Why Are Some IPs Reserved or Special?

Not all IP addresses are available for general use. Some are reserved:

  • Loopback (127.0.0.1): Used to test our own computer.

  • Multicast (224.0.0.0 - 239.255.255.255): Used for sending messages to multiple devices.

  • Private Ranges (192.168.x.x, 10.x.x.x, 172.16.x.x): Used inside networks like homes and offices.

 

Quick Fun Facts about IP Addresses

  1. IPv4 can only support about 4.3 billion addresses, while IPv6 can support trillions!

  2. The first IP address ever assigned was 0.0.0.0 (reserved for special use).

  3. The largest IPv4 address possible is 255.255.255.255.

  4. Every website you visit has an IP address behind the scenes!

 

Conclusion

IP addresses are a fundamental part of how the internet works. Without them, computers and websites wouldn’t know where to send or receive data.

This post covered the basics, but there’s much more to learn! In upcoming blog posts, we’ll dive deeper into:

  • Subnetting and CIDR in detail

  • How IP addresses are assigned in cloud computing

  • Understanding NAT (Network Address Translation)

  • How to check your own IP address

Stay tuned, and happy learning! 🚀

BUDDY SKILLS NEWSLETTER

Get invites to live sessions, labs, quizzes, and more—delivered straight to your inbox.

Sign up to receive invitations to live sessions, lab reviews, and quiz & talk sessions, along with weekly bite-sized insights to help you level up and stay ahead.

You're safe with me. I'll never spam you or sell your contact info.