Glossary

IPv4

What is IPv4

IPv4, short for Internet Protocol version 4, is the fourth generation of the Internet Protocol system used to identify and locate devices on a network. It assigns a unique numerical address to every device connected to the internet, allowing computers, servers, and mobile devices to send and receive data accurately.

IPv4 was introduced in the early 1980s and remains the most widely used protocol for routing global internet traffic today. Every device using the internet — whether it’s a laptop, phone, or smart TV — relies on an IP address to communicate, and IPv4 provides that foundation.



How IPv4 Works

IPv4 uses 32-bit addressing, which means each IP address consists of four groups of numbers (called octets) separated by periods. Each octet can range from 0 to 255.

For example: 192.168.0.1

Each address has two parts:

  • Network ID: Identifies the network to which the device belongs.
  • Host ID: Identifies the specific device within that network.

When data travels across the internet, IPv4 ensures it’s sent to the correct device by matching the network and host identifiers. Routers use these addresses to determine the best path for the data to reach its destination.



The Structure of IPv4

An IPv4 address is made up of 32 binary digits (bits), typically represented in decimal format for easier reading.

For example:

Binary: 11000000.10101000.00000000.00000001

Decimal: 192.168.0.1

IPv4 addresses are grouped into classes based on the size of the network and number of devices supported:

ClassAddress RangeUse Case
Class A1.0.0.0 – 126.255.255.255Very large networks
Class B128.0.0.0 – 191.255.255.255Medium networks
Class C192.0.0.0 – 223.255.255.255Small networks
Class D224.0.0.0 – 239.255.255.255Multicasting
Class E240.0.0.0 – 255.255.255.255Experimental use

Most consumer devices operate within Class C, which is suitable for home or small business networks.



The Limitations of IPv4

Because IPv4 uses 32 bits, it supports a maximum of 4.3 billion unique addresses (2³²). While this number seemed vast when IPv4 was created, the explosive growth of internet-connected devices quickly exhausted available addresses.

This shortage led to the introduction of Network Address Translation (NAT) and later IPv6, which provides far more address combinations.

Key Challenges with IPv4

  • Address exhaustion: There are not enough IPv4 addresses to serve every connected device worldwide.
  • Reliance on NAT: To extend its lifespan, many devices share a single public IP address using NAT, which complicates routing and tracking.
  • Limited scalability: IPv4 was not designed for the modern internet, where billions of devices and IoT systems require unique connections.
  • No built-in security: IPv4 does not include native encryption or authentication features. Security must be added at other layers (for example, via IPsec or VPNs).


IPv4 vs IPv6

FeatureIPv4IPv6
Address length32-bit128-bit
Address formatDecimal (e.g., 192.168.1.1)Hexadecimal (e.g., 2001:0db8:85a3::8a2e:0370:7334)
Address capacity4.3 billion340 undecillion
SecurityOptional (add-on)Built-in with IPsec
ConfigurationManual or DHCPAuto-configuration supported
CompatibilityUniversalGradually expanding

IPv6 was designed to overcome IPv4’s address limitations, but full migration has been gradual since IPv4 remains deeply embedded in existing infrastructure.



Why IPv4 Still Matters

Despite its limitations, IPv4 remains the backbone of the modern internet. It is supported by almost every router, operating system, and device in the world.

Transitioning fully to IPv6 takes time because:

  • Many systems and networks are built around IPv4.
  • Dual-stack approaches (running both IPv4 and IPv6) are common during migration.
  • Some legacy applications depend entirely on IPv4 infrastructure.

In short, IPv4 continues to route the majority of global traffic while IPv6 adoption steadily grows.



FAQs

What does IPv4 stand for?

IPv4 stands for Internet Protocol version 4, the fourth version of the system that defines how data is sent and received over the internet.

Why is IPv4 running out of addresses?

Because IPv4 uses 32-bit addresses, it can only create about 4.3 billion unique identifiers — not enough for today’s billions of connected devices.

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit numerical addresses, while IPv6 uses 128-bit alphanumeric addresses, offering vastly more unique combinations and enhanced features.

Can IPv4 and IPv6 work together?

Yes. Many systems use a dual-stack configuration, allowing both IPv4 and IPv6 to operate simultaneously during the transition period.

Will IPv4 ever be replaced completely?

Eventually, but not soon. IPv6 adoption is growing, yet IPv4 will remain in use for years due to legacy systems and compatibility requirements.



Related Terms

  • IP Address
  • IPv6
  • Network Address Translation (NAT)
  • IPsec
  • Router
  • CIDR (Classless Inter-Domain Routing)
  • DNS (Domain Name System)
  • Internet Protocol