Sandbox99 Chronicles

What is an IPv4 Address and Why Should You Care?

Understanding IPv4 Address

Written by Jose Mendez

Hi, Iโ€™m Jose Mendez, the creator of sandbox99.cc. with a passion for technology and a hands-on approach to learning, Iโ€™ve spent more than fifteen years navigating the ever-evolving world of IT.
๎€ฅ

Published Mar 24, 2025 | Last updated on Mar 26, 2025 at 5:05PM

Reading Time: 4 minutes

๐Ÿš€ Understanding IPv4: A Comprehensive Overview

Curious about how devices communicate on the internet? In this post, I dive into the fundamentals of IPv4 addresses โ€” the backbone of modern networking. From public and multicast addresses to loopback and subnetting concepts, youโ€™ll gain a solid understanding of how IPv4 works and why itโ€™s essential knowledge for IT professionals.

Letโ€™s explore the world of IPv4! ๐ŸŒ

Introduction

In the world of computer networking, understanding IP addresses is crucial. Every device connected to the internet needs an address to communicate, just like how homes have street addresses. In this post, weโ€™ll dive into IPv4 (Internet Protocol version 4) โ€” the most widely used IP addressing system.

What is an IP Address?

An Internet Protocol (IP) address is a unique numerical label assigned to each device connected to a network. It serves two main purposes: identifying the host and providing the location.

๐Ÿ“œ Brief History of IPv4

The concept of IP addresses ๐Ÿ“ก was introduced during the early stages of the internet ๐ŸŒ, which started as ARPANET in the 1960s. IPv4 was established in 1981 under RFC 791. It uses a 32-bit address format, allowing approximately 4.3 billion unique addresses.

IPv4 Development Timeline
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
1981: IPv4 Officially Standardized (RFC 791)
      โ”‚
      โ”œโ”€โ”€ 1983: ARPANET Adopts IPv4
      โ”‚
      โ”œโ”€โ”€ 1990s: Internet Boom (IPv4 Dominance)
      โ”‚
      โ”œโ”€โ”€ 1999: IPv6 Introduced (RFC 2460)
      โ”‚
      โ””โ”€โ”€ 2010s+: IPv4 Exhaustion & IPv6 Adoption Growth
          โ”‚
          โ”œโ”€โ”€ 2011: Last IPv4 Blocks Allocated (IANA)
          โ”‚
          โ””โ”€โ”€ Present: Dual-Stack (IPv4 + IPv6) Transition

Understanding RFC1918 and Its Relevance

RFC 1918 defines private IP address ranges used for local networks ๐Ÿข. These addresses are not accessible on the public internet ๐Ÿšซ.

Private IPv4 Address Ranges:

The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets:
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

Public IPv4 Addresses: What They Are and Their Range

Public IP addresses are globally unique and used for devices directly connected to the internet. Organizations obtain these addresses from Regional Internet Registries (RIRs).

๐ŸŒ List of Public IP Ranges:

  • 1.0.0.0 to 9.255.255.255
  • 11.0.0.0 to 100.63.255.255
  • 126.0.0.0 to 223.255.255.255

These ranges exclude special-purpose addresses like private and reserved ranges.

๐ŸŒ **World Map Overview**  
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
1. **AFRINIC** (Africa)  
   โ”‚ ๐Ÿ“ Covers: Entire African continent  
   โ”‚ ๐Ÿ”ข Manages: 102.0.0.0 - 105.255.255.255 (IPv4 example)  

2. **APNIC** (Asia-Pacific)  
   โ”‚ ๐Ÿ“ Covers: Asia, Australia, Pacific Islands  
   โ”‚ ๐Ÿ”ข Manages: 1.0.0.0 - 1.255.255.255, 14.0.0.0 - 14.255.255.255  

3. **ARIN** (North America)  
   โ”‚ ๐Ÿ“ Covers: USA, Canada, Caribbean  
   โ”‚ ๐Ÿ”ข Manages: 7.0.0.0 - 7.255.255.255, 23.0.0.0 - 23.255.255.255  

4. **LACNIC** (Latin America & Caribbean)  
   โ”‚ ๐Ÿ“ Covers: Mexico โ†’ Argentina (excluding Caribbean)  
   โ”‚ ๐Ÿ”ข Manages: 177.0.0.0 - 177.255.255.255, 179.0.0.0 - 179.255.255.255  

5. **RIPE NCC** (Europe, Middle East, Central Asia)  
   โ”‚ ๐Ÿ“ Covers: EU + Russia + Middle East  
   โ”‚ ๐Ÿ”ข Manages: 5.0.0.0 - 5.255.255.255, 62.0.0.0 - 62.255.255.255  
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

Multicast IP Addresses: What They Are and Their Range

Multicast addresses are used for one-to-many or many-to-many communication. They allow devices to receive the same data simultaneously.

๐Ÿ“ก Multicast Range:

  • 224.0.0.0 to 239.255.255.255

This range is primarily used for video streaming, conferencing, and data distribution.

[ Sender ]  
   โ”‚  
   โ–ผ (Multicast Packet: e.g., 224.1.2.3)  
[ Router ] (First Hop - Replicates Traffic)  
   โ”œโ”€โ”€โ”€โ–ถ [ Receiver A ]  
   โ”œโ”€โ”€โ”€โ–ถ [ Router B ] โ”€โ”€โ”€โ–ถ [ Receiver C ]  
   โ””โ”€โ”€โ”€โ–ถ [ Router C ] โ”€โ”ฌโ”€โ–ถ [ Receiver D ]  
                       โ””โ”€โ–ถ [ Receiver E ]  

Loopback IP Address: Why Is It Important?

A loopback IP address is a special address ๐Ÿง‘โ€๐Ÿ’ป used to test network functions within a device. The most common is 127.0.0.1.

Importance of Loopback Address:

  • ๐Ÿ› ๏ธ Testing: Useful for troubleshooting.
  • ๐Ÿ”— Local Communication: Enables apps on the same machine to talk.
  • ๐Ÿ›ก๏ธ Security: Isolates testing without external exposure.
  +---------------------+
| [Device] |
| +-------------+ |
| | Network | |
| | Stack | |
| +-------------+ |
| โ–ฒ | |
| | โ–ผ |
| [127.0.0.1] |
| (Loopback) |
+---------------------+

How It Works:

  1. The device sends a packet (e.g., ping 127.0.0.1outbound.
  2. The OS loops it back internally without hitting any physical network.
  3. The packet returns as an inbound response, confirming the stack is functional.

Network and Broadcast Addresses

Every IPv4 subnet has two reserved addresses:

  • ๐Ÿ—‚ Network Address: First in a range, used to identify subnets. Example: 192.168.1.0/24
  • ๐Ÿ“ข Broadcast Address: Last in a range, used for one-to-all messages. Example: 192.168.1.255/24

Why They Are Not Usable:

  • ๐Ÿข Network address identifies subnets, not devices.
  • ๐Ÿ“ฃ Broadcast address sends messages to all devices in a subnet.

Since theyโ€™re reserved, they cannot be assigned to devices.

    [Router]
      โ”‚
      โ–ผ (Network: 192.168.1.0/24)
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚ Switch    โ”‚
  โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”
      โ”‚     โ”‚   โ”‚
  [PC1] [PC2] [Server]
  (192.168.1.2) (192.168.1.3) (192.168.1.10)
  
  Broadcast Address: 192.168.1.255

What is Subnet Mask and Its Relationship to Usable IP Addresses

A subnet mask defines the range of IP addresses within a network. It separates the network portion from the host portion of the IP address.

๐Ÿงฎ Example:

  • ๐Ÿ–ฅ IP Address: 192.168.1.10
  • ๐Ÿง‘โ€๐Ÿ’ป Subnet Mask: 255.255.255.0 (/24)
  • ๐ŸŒ Network Address: 192.168.1.0
  • ๐Ÿ“ฃ Broadcast Address: 192.168.1.255
  • ๐Ÿ”Ž Usable Addresses: 192.168.1.1 to 192.168.1.254

This knowledge is essential for configuring networks and troubleshooting connectivity issues.

Final Thoughts

IPv4 addressing is the foundation of modern networking. Understanding concepts like public and private addresses, multicast, loopback, and subnetting is essential for anyone working in IT.

  • ๐ŸŒ IPv4 uses 32-bit addresses, providing 4.3 billion unique addresses.
  • ๐Ÿ–ง Public addresses are essential for internet-facing devices.
  • ๐Ÿ“ก Multicast addresses enable efficient data distribution.
  • ๐Ÿ›  Loopback addresses are useful for diagnostics.
  • ๐Ÿ—‚ Network and broadcast addresses have special roles and cannot be assigned to devices.
  • ๐Ÿง‘โ€๐Ÿ’ป Subnet masks define network boundaries and usable addresses.

Further Reading

Want to go deeper? Here are some recommended topics for further reading:

  • ๐Ÿ“š Subnetting and CIDR Notation
  • ๐ŸŒ NAT (Network Address Translation)
  • ๐Ÿ–ฅ DHCP and Static IP Configurations
  • ๐Ÿš€ IPv6: The Successor to IPv4 (Coming in a future blog post)

Related Post

0 Comments

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.