Guide and reference
IPv4
IPv4 uses 32-bit addresses, commonly written as four decimal octets. A prefix length identifies the network portion. CIDR replaced classful allocation as the practical routing and allocation model. The finite address space led to address sharing, transfer markets and continued deployment of IPv6.
IPv4
IPv4 uses 32-bit addresses, commonly written as four decimal octets. A prefix length identifies the network portion. CIDR replaced classful allocation as the practical routing and allocation model. The finite address space led to address sharing, transfer markets and continued deployment of IPv6.
ReferenceIPv4 address structure
IPv4 addresses contain four octets; a prefix length identifies their network portion.
Reference32-bit addressing
32-bit addressing defines IPv4’s finite address space, including reserved and special-purpose ranges.
ReferenceIPv4 address classes (historical)
Classful IPv4 used fixed address classes; CIDR supports flexible prefix lengths instead.
ReferenceCIDR notation
CIDR writes an address with a prefix length indicating the network-bit count.
ReferenceSubnet masks
A subnet mask identifies network bits and usually corresponds to a contiguous prefix length.
ReferenceSubnetting
Subnetting divides a prefix into smaller networks by increasing prefix length.
ReferenceSupernetting
Supernetting summarizes suitably aligned contiguous prefixes using a shorter covering prefix.
ReferenceNetwork addresses
A network address is the normalized base address of a prefix with host bits cleared.
ReferenceBroadcast addresses
IPv4 broadcast targets a local broadcast domain; IPv6 uses other mechanisms instead.
ReferenceDefault gateways
A default gateway is a next hop used when no more specific forwarding route matches.
ReferenceIPv4 exhaustion
IPv4 exhaustion limits readily available new allocations and motivates sharing, transfers and IPv6 deployment.
ReferenceIPv4 address allocation
IPv4 allocations distribute address resources under registry and operator policies.
ReferenceIPv4 address markets
IPv4 markets trade resource-use or transfer arrangements subject to registry policy and due diligence.
ReferenceIPv4 transfers between organizations
Inter-organization transfers update resource registration through applicable regional or inter-regional procedures.
ReferenceIPv4 fragmentation
IPv4 fragmentation splits oversized packets when allowed; reassembly occurs at the destination.
ReferenceIPv4 header structure
The IPv4 header carries addresses, length, TTL, protocol and fragmentation information.
ReferenceIPv4 routing
IPv4 forwarding uses destination-prefix lookup and a selected next hop or local delivery action.