IPv4 Explained: How the Addressing System Works
SkillVeris Team
Cloud & Security Team

IPv4 addresses are 32-bit numbers written as four decimal numbers from 0 to 255 separated by dots, such as 192.168.1.1.
In this guide, you'll learn:
- A 32-bit address space allows a fixed, finite number of unique addresses, which is why the world eventually ran short of them.
- A subnet mask splits an IPv4 address into a network part and a host part, defining which addresses belong to the same local network.
- Private IP ranges like 10.0.0.0/8 and 192.168.0.0/16 are reserved for internal networks and are never routed on the public internet.
- Network Address Translation lets many devices on a private network share one public IPv4 address, easing address shortages.
1What Is IPv4?
IPv4, or Internet Protocol version 4, is the addressing system that gives every device on a network a unique numeric address so data packets know where to be delivered. It has been the backbone addressing scheme of the internet since the 1980s.
Every IPv4 address is a 32-bit number, almost always written in dotted-decimal notation as four numbers from 0 to 255 separated by periods, for example 192.168.1.1. That notation is just a human-readable version of the underlying 32 bits of binary data.
2Anatomy of an IPv4 Address
An IPv4 address is split into a network portion and a host portion, and it's the subnet mask that tells a device where that split falls.
The network portion identifies which network a device belongs to, while the host portion identifies the specific device within that network. Two devices with the same network portion can communicate directly; devices on different networks need a router to reach each other.
- 32 bits total, grouped into four 8-bit sections called octets.
- Each octet ranges from 0 to 255 in decimal.
- A subnet mask (e.g. 255.255.255.0) marks which bits are network bits versus host bits.
- CIDR notation (e.g. /24) is a shorthand for the same subnet mask information.
3Address Classes and Private Ranges
IPv4 addresses were originally organized into classes (A, B, and C being the common ones) that determined how many networks and hosts an address block could support, though modern networking mostly uses CIDR instead of strict classes.
A specific set of ranges is reserved for private networks and is never routed across the public internet, which is why your home router and your office network can both use overlapping private addresses without conflict.
- Class A range: 10.0.0.0 to 10.255.255.255 (large private networks).
- Class B range: 172.16.0.0 to 172.31.255.255 (medium private networks).
- Class C range: 192.168.0.0 to 192.168.255.255 (small/home private networks).
- 127.0.0.1 is reserved as the loopback address, referring to the local machine itself.
4Subnetting Basics
Subnetting is the process of dividing a larger network into smaller, more manageable segments, each with its own defined range of addresses.
A smaller subnet mask number, like /24 versus /16, means fewer bits are available for host addresses, and therefore fewer usable addresses per subnet. Network engineers choose subnet sizes based on how many devices a given segment actually needs to support, keeping broadcast traffic contained and organization clean.
Why Subnets Matter
Smaller subnets limit broadcast traffic to a manageable group of devices and let administrators apply different security or routing rules to different parts of a network.
5How NAT Stretches IPv4
Network Address Translation, or NAT, lets many devices on a private network share a single public IPv4 address by rewriting address information as traffic passes through a router.
This is why a home with a dozen connected devices only needs one public IP address from an internet provider. NAT was one of the key techniques that extended IPv4's useful life well past when its address space would otherwise have run out.
6IPv4 Address Exhaustion
IPv4's 32-bit address space allows a fixed, finite number of unique addresses, and global internet growth eventually consumed the pool of easily assignable addresses.
Techniques like NAT, private address ranges, and more efficient allocation policies delayed the practical impact of this limit for years, but the underlying scarcity is the core reason a successor protocol was designed at all.
🔑Key Takeaway
IPv4 exhaustion is a structural limit of a 32-bit address space, not a temporary shortage. It's the direct reason IPv6 exists.
7IPv4 vs IPv6
IPv6 was designed to fix IPv4's core limitation by using a vastly larger 128-bit address space, so address exhaustion stops being a concern for the foreseeable future.
IPv4 and IPv6 are not directly interoperable, which is why most networks today run both side by side during the long transition period, rather than switching over all at once.
- IPv4: 32-bit addresses, dotted-decimal notation, address exhaustion is an ongoing constraint.
- IPv6: 128-bit addresses, hexadecimal notation, effectively unlimited address space.
- Dual-stack networks run both protocols simultaneously during the transition.
8Practical Next Steps
The best way to internalize IPv4 addressing is to practice reading and calculating subnet masks by hand until the octet math becomes automatic.
From there, working through a structured computer networks study track that covers subnetting, routing, and the IPv4-to-IPv6 transition builds the foundation needed for networking certifications and day-to-day troubleshooting alike.
Related Reading
Get The Print Version
Download a PDF of this article for offline reading.
About the Publisher
SkillVeris Team
Cloud & Security Team
Our cloud and security experts break down complex infrastructure topics into practical, beginner-friendly guides.
View all postsRelated Posts
Never miss an update
Get the latest tutorials and guides delivered to your inbox.
No spam. Unsubscribe anytime.