Skip to content
uencoder

IPv4

IPv4 is the 32-bit network addressing protocol, written in dotted decimal (e.g., 192.168.1.1), with roughly 4.3 billion addresses—now exhausted.

Purpose

It provides the Internet's addressing scheme and is being replaced by IPv6 as its address space runs out.

Mechanism

The 32 bits appear as four 8-bit decimal octets. Address classes (A/B/C/D/E) were superseded by CIDR. Private addresses (RFC 1918) reach the public Internet through NAT. Special addresses include 0.0.0.0 (any), 127.0.0.0/8 (loopback), and 255.255.255.255 (broadcast).

Use cases

  • LAN addressing
  • NAT and port forwarding
  • Legacy system compatibility
  • Networking education

Examples

  • Input
    10.0.0.1
    Output
    A private class A address

    RFC 1918

Common errors

Public IPv4 is exhausted; new deployments cannot obtain addresses
Migrate to IPv6 or use NAT

Related terms

Related tools

References