Skip to content
עברית

Guide

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.

Meaning and purpose

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.

How it works in context

For 192.0.2.0/24, the first 24 bits identify the network and the remaining eight bits vary. Conventional multi-access subnets reserve network and broadcast addresses, but /31 point-to-point links and /32 host routes follow different rules. Routers choose the most specific matching destination prefix, subject to available forwarding entries.

Technical terms in this section

IPv4 address structure

IPv4 addresses contain four octets; a prefix length identifies their network portion.

32-bit addressing

32-bit addressing defines IPv4’s finite address space, including reserved and special-purpose ranges.

IPv4 address classes (historical)

Classful IPv4 used fixed address classes; CIDR supports flexible prefix lengths instead.

CIDR notation

CIDR writes an address with a prefix length indicating the network-bit count.

Subnet masks

A subnet mask identifies network bits and usually corresponds to a contiguous prefix length.

Subnetting

Subnetting divides a prefix into smaller networks by increasing prefix length.

Supernetting

Supernetting summarizes suitably aligned contiguous prefixes using a shorter covering prefix.

Network addresses

A network address is the normalized base address of a prefix with host bits cleared.

Broadcast addresses

IPv4 broadcast targets a local broadcast domain; IPv6 uses other mechanisms instead.

Default gateways

A default gateway is a next hop used when no more specific forwarding route matches.

IPv4 exhaustion

IPv4 exhaustion limits readily available new allocations and motivates sharing, transfers and IPv6 deployment.

IPv4 address allocation

IPv4 allocations distribute address resources under registry and operator policies.

IPv4 address markets

IPv4 markets trade resource-use or transfer arrangements subject to registry policy and due diligence.

IPv4 transfers between organizations

Inter-organization transfers update resource registration through applicable regional or inter-regional procedures.

IPv4 fragmentation

IPv4 fragmentation splits oversized packets when allowed; reassembly occurs at the destination.

IPv4 header structure

The IPv4 header carries addresses, length, TTL, protocol and fragmentation information.

IPv4 routing

IPv4 forwarding uses destination-prefix lookup and a selected next hop or local delivery action.

Operational checks and security

Check the address, prefix length, gateway and actual route together. A gateway normally must be reachable on the local link unless special routing is configured. Do not apply the familiar “minus two addresses” formula indiscriminately to every prefix length.

Read-only example

These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.

ip -4 address show
ip -4 route get 192.0.2.10

Sources and further reading

These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.

Zaltzman.net · Your choice

Privacy preferences

Choose whether to link returning visits and remember display settings. Public content remains available without optional cookies.

Essential cookies

Always on

Secure forms, login sessions and your privacy choice.

What is included?

Session and CSRF protection, your privacy choice for up to 180 days, and Cloudflare security services. These do not authorise optional visitor analytics.

Analytics & returning visits

Store page history, visit times, IP and approximate location under one browser identifier, including return visits after an IP change.

How is this information used?

Authorised administrators use the history to understand usage and improve the site. No targeted ads, keystroke recording or fingerprinting. Turning this off deletes the history linked to your current identifier from the active database.

Remember display preferences

Save text size, contrast and other accessibility choices locally for your next visit.

Download my browser history

Turning analytics off deletes the current history and stops new collection.

Website operator: The Zaltzman Family
[email protected]

Zaltzman.net · Display settings

Accessibility tools

Adjust reading and navigation to suit you. Analytics consent is not required.

Text size
100%