Nepedia
Back to Discover
Advanced Reader
💻

IPv4

technology Maturity 7-9 Next article →

Internet Protocol version 4, or IPv4, is a fundamental set of rules for digital communication. It serves as a standalone specification for internetworking across packet-switched networks.

IPv4 Packet-en
IPv4 Packet-en

As a core protocol, it enables the Internet Protocol Suite to function at the internet layer. Its primary job is to provide a global-scale logical addressing system. This system allows data packets to travel from a source host to a specific destination. The protocol guides these packets through routers, moving them one hop closer to their goal with each step.

IPv4 operates using a connectionless model known as best-effort delivery. This means the protocol sends data packets without guaranteeing they will arrive at their destination. It also does not ensure that packets arrive in the correct sequence or prevent duplicate deliveries. To manage these potential issues, engineers use upper-layer transport protocols. Examples include the Transmission Control Protocol (TCP) or the QUIC protocol, which handle reliability.

IPv4 Packet-en
IPv4 Packet-en

Every device in an IPv4 network requires a unique identifier. These identifiers are 32-bit addresses, which provide a total address space of 4,294,967,296 unique addresses.

IPv4 address structure and writing systems-en
IPv4 address structure and writing systems-en

Because these addresses are binary, they are often written in dot-decimal notation. This notation uses four octets, which are groups of numbers, separated by periods. For instance, an address might look like 192.168.0.1. Another way to write these is through CIDR notation. This method uses a slash and a number to show the routing prefix in a compact format.

Historically, the development of IPv4 changed how computers connected. Earlier versions of the protocol were combined with TCP in a single specification called TCP/IPv3. In September 1981, the IETF published RFC 791, which established IPv4 as its own separate specification. This replaced an earlier definition from January 1980. In March 1982, the US Department of Defense adopted the TCP/IP suite as the standard for all military networking. IPv4 saw its first production deployment on SATNET in 1982, followed by the ARPANET in January 1983.

As the internet grew, the way addresses were assigned also evolved. Originally, the address was split into a network identifier and a host identifier. This old system only allowed for 256 network identifiers, which was not enough. To fix this, engineers introduced classful networking in 1981. This system created five different classes, such as Class A, B, and C, to provide different capacities for hosts. Later, in 1993, Classless Inter-Domain Routing (CIDR) was introduced. CIDR allowed for much more flexible repartitioning of address space for users.

By the late 1980s, experts realized the pool of IPv4 addresses was depleting too quickly. This was not expected in the original design. In the 1990s, market forces accelerated this depletion. More people began using mobile computing devices like laptops, PDAs, and smartphones. High-speed, always-on internet access also increased the demand.

IPv4 exhaustion time line-en
IPv4 exhaustion time line-en

This led to a crisis called IPv4 address exhaustion. To slow this down, technologies like Network Address Translation (NAT) were used. NAT allowed many devices to share addresses, which helped preserve the limited supply.

Specific blocks of addresses are reserved for special purposes rather than general use. For example, about 18 million addresses are set aside for private networks.

IPv4 address structure and writing systems-en
IPv4 address structure and writing systems-en

These private addresses are not routable on the public internet. Other blocks are used for multicast traffic, which involves sending data to a group of recipients. The IANA maintains the primary address pool, and they officially exhausted the main pool on February 3, 2011. This exhaustion prompted the transition to IPv6, a successor designed with a much larger address space. While IPv6 is the long-term solution, IPv4 remains vital for routing much of today's internet traffic.

IPv4 exhaustion time line-en
IPv4 exhaustion time line-en
610 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:IPv4 Packet-en.svg
IPv4 Packet-en.svg
File:IPv4 exhaustion time line-en.svg
IPv4 exhaustion time line-en.svg
File:IPv4 address structure and writing systems-en.svg
IPv4 address structure and writing systems-en.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.