IPv4

Protocols & Standards
The original internet protocol addressing scheme using 32-bit addresses like 192.0.2.1.
← Back to Glossary

What is IPv4?

IPv4 (Internet Protocol version 4) is the fourth version of the Internet Protocol and the first to be widely deployed, using 32-bit addresses to identify devices on networks and route traffic across the internet.

IPv4 Address Structure

IPv4 Address Format:

┌─────────┬─────────┬─────────┬─────────┐

│ Octet 1 │ Octet 2 │ Octet 3 │ Octet 4 │

│ 8 bits │ 8 bits │ 8 bits │ 8 bits │

└─────────┴─────────┴─────────┴─────────┘

192 . 0 . 2 . 1

Binary: 11000000.00000000.00000010.00000001

Decimal: 192.0.2.1

Total: 32 bits = 2^32 = 4,294,967,296 addresses

Address Classes (Historical)

ClassRangeDefault MaskNetwork BitsHost BitsNetworks
A1.0.0.0 - 126.255.255.255255.0.0.0824126
B128.0.0.0 - 191.255.255.255255.255.0.0161616,384
C192.0.0.0 - 223.255.255.255255.255.255.02482,097,152

Reserved Address Ranges

RangePurpose
10.0.0.0/8Private network (Class A)
172.16.0.0/12Private network (Class B)
192.168.0.0/16Private network (Class C)
127.0.0.0/8Loopback (localhost)
169.254.0.0/16Link-local (APIPA)
192.0.2.0/24Documentation (TEST-NET-1)
0.0.0.0/8Current network
255.255.255.255Broadcast

IPv4 vs IPv6 Comparison

FeatureIPv4IPv6
Address size32 bits128 bits
Address formatDotted decimalHexadecimal with colons
Total addresses~4.3 billion~340 undecillion
Example192.0.2.12001:db8::1
NAT requiredOftenRarely
ConfigurationDHCP/manualSLAAC/DHCPv6

IPv4 Exhaustion

IPv4 Address Depletion Timeline:

├── 2011: IANA pool exhausted

├── 2011-2015: Regional pools depleted (APNIC, RIPE, ARIN)

├── 2017: LACNIC exhausted

├── 2019: AFRINIC final /8

└── Present: Secondary market, NAT, IPv6 transition

Common Uses in DNS

DNS RecordPurposeExample
A RecordMaps domain to IPv4example.com A 192.0.2.1
PTR RecordReverse DNS1.2.0.192.in-addr.arpa PTR example.com

Mitigation Strategies

Best Practices

1. Plan for IPv6: New deployments should be dual-stack

2. Use private addresses internally: Reserve public IPs for edge services

3. Document allocations: Track IP usage to avoid conflicts

4. Implement proper subnetting: Efficient use of available addresses

5. Configure both A and AAAA records: Support both IPv4 and IPv6 clients

IPv4 remains the backbone of internet communication while IPv6 adoption grows to address exhaustion challenges.

Put This Knowledge to Work

Use DomScan's API to check domain availability, health, and more.