Internet Protocol
Written by GPT-6 Luna from the web 21 of 74 sentences cited
An AI wrote this article, and it can be wrong.
Internet Protocol (IP) is the network-layer protocol that carries datagrams from a source to a destination across interconnected computer networks. It supplies the addressing and forwarding rules that allow networks using different link technologies to exchange packets, and is the basis for both Internet Protocol version 4 (IPv4) and version 6 (IPv6).12
IP matters because it gives higher-level protocols a common way to communicate without requiring every network along a path to use the same underlying technology. Its service is deliberately limited: IP attempts to deliver each datagram independently, but does not itself promise delivery, preserve order, or recover lost data. Those services, when needed, are provided by transport or application protocols. This relatively simple common layer helped make the Internet an internetwork—a network of networks—rather than a single network built to one design.13
Role and scope
IP operates between local network technologies and protocols that use the network to exchange data. A sending host passes data to its IP layer, which places it in a datagram with source and destination addresses and information identifying the next protocol. IP then hands the datagram to the local network for delivery to a nearby router or to the destination host. At the receiving end, IP identifies the data’s next protocol and passes it upward. The arrangement allows the same higher-level protocols to operate over different kinds of networks.1
The protocol specifies a service, not a guaranteed outcome. A datagram may be lost, duplicated, delayed, or delivered out of order, and IP does not retransmit it or regulate the rate at which a sender transmits. Applications that need reliable, ordered delivery commonly use a transport protocol such as TCP; others can use protocols such as UDP and handle any required recovery themselves. The separation lets applications choose among different transport services while using the same basic IP delivery system.13
Origins
The work that led to IP grew from efforts to connect packet-switching networks with differing internal designs. The Internet Society’s history describes the early goal as linking networks without requiring changes to each one, using gateways to pass packets between them. The early architecture also favored “best effort” delivery: the network attempted to forward packets, while endpoints and higher-level protocols handled recovery when necessary.3
Early work treated transmission control and inter-network forwarding as parts of a broader protocol design. As experience accumulated, the functions were separated: IP handled addressing and forwarding individual datagrams, while TCP provided transport services such as sequencing and recovery from lost data. The 1974 RFC 675 described an earlier Internet Transmission Control Program, while the 1981 IP specification, RFC 791, set out IP as a distinct protocol.413
On January 1, 1983, the ARPANET changed its standard host protocol from the Network Control Protocol to TCP/IP, in a coordinated transition that required connected hosts to convert. The U.S. Department of Defense had adopted TCP/IP as a standard in 1980, and the transition helped establish the protocol suite across the research and defense networks that developed into the Internet. IP’s lasting role came from its use as a common forwarding layer, rather than from dependence on a particular application or physical network.35
Datagrams and forwarding
An IP datagram contains a header and a payload. In IPv4, the header includes the source and destination addresses, the total length, a field identifying the payload protocol, and a time-to-live value, among other fields. The destination address guides forwarding; the protocol field allows the receiving IP layer to pass the payload to the appropriate next protocol. IPv6 uses a different header format, but likewise identifies source, destination, and the next header.12
A router examines an incoming datagram’s destination address and uses its routing information to select a next hop. It forwards the packet toward that next hop over a directly connected network, where the local link technology carries it onward. The datagram may cross many such networks and routers; each router makes its forwarding decision without needing a connection established for that particular datagram. Routes are maintained and selected through systems and protocols beyond IP’s basic datagram format.16
The IPv4 time-to-live field, commonly used as a hop limit, is reduced as routers forward a packet; if it reaches zero, the packet is discarded. This prevents a packet caught in a routing loop from circulating indefinitely. IPv6 calls the corresponding field “Hop Limit” and likewise requires forwarding nodes to decrease it. Diagnostic tools can make use of this behavior to discover routers along a path.12
Addresses and routes
An IP address identifies a network-layer source or destination; it is not the same thing as a human-readable name or a route. RFC 791 distinguishes names, addresses, and routes: a name identifies what is sought, an address indicates where it is, and a route describes how to reach it. Systems such as the Domain Name System can map names to IP addresses, while routing mechanisms determine how datagrams addressed to those locations move through networks.1
IPv4 addresses are 32 bits long, commonly written as four decimal numbers separated by dots. The original addressing arrangements included fixed network classes, but the modern system uses classless prefixes, which indicate how many leading bits identify a network block. Classless Inter-Domain Routing (CIDR) supports allocation and aggregation of address blocks, helping networks advertise routes in a scalable way.17
IPv4 provides 2³² possible address values, although not all are available for ordinary public unicast use. The finite supply led to techniques such as private address ranges and network address translation, which allow multiple devices to share public IPv4 addresses in some network designs. Address sharing can conserve public addresses, but introduces operational complications because intermediaries must translate traffic and maintain mappings.89
IPv4 and IPv6
IPv4 is the version specified by RFC 791 in September 1981. Its 32-bit address space and header fields, including fragmentation information and a header checksum, have been modified or clarified by later standards. For example, RFC 6864 updated the rules for the IPv4 Identification field, limiting its defined purpose to fragmentation and reassembly. Thus, RFC 791 remains foundational, but it is not the only document needed to describe current IPv4 behavior.110
IPv6 was developed as the next generation of IP, in part to address limitations in IPv4 addressing capacity. Its standardized address length is 128 bits, providing a vastly larger address space. The IPv6 base header is different from IPv4’s, and optional network-layer information is carried in extension headers. IPv6 also changes fragmentation: routers do not fragment packets in transit; a source can fragment a packet, and routers can report that a packet is too large for a link.112
IPv4 and IPv6 are separate packet formats and are not directly interchangeable, so deployment has required transition arrangements, including operating both versions on the same networks. IPv6 is specified by RFC 8200, published in 2017 and subsequently updated in some areas. The versions coexist in present-day networks; IPv6 adoption is substantial but varies across providers and regions. Google’s published measurement of users reaching its services over native IPv6 was 48.7% on October 9, 2026; that statistic describes Google’s measured user connectivity, not a direct census of all Internet traffic.212
Limits and adaptations
The protocol’s minimal service has trade-offs. Since IP does not provide reliable delivery, applications that need it must depend on a higher layer. Because routers forward datagrams independently, packets from the same communication can take different paths or arrive in a different order. These properties support flexible routing and allow networks to recover from some failures through alternate paths, but reliability and ordering cannot be assumed from IP alone.16
Fragmentation enables a datagram larger than a network link’s maximum transmission unit to be divided into smaller pieces, then reassembled at the destination. However, fragments can be dropped or mishandled by network devices, and losing one fragment can prevent reconstruction of the original datagram. The IETF’s 2020 best-current-practice document describes fragmentation as a source of fragility and recommends that new protocols and applications avoid relying on it where possible, for example by adapting packet sizes to the path.113
IP’s basic forwarding role has also been affected by network devices that inspect or alter traffic as it passes through. Address translators, firewalls, and other middleboxes may maintain state or apply policies beyond the original model of simple, independent datagram forwarding. Such devices serve practical network-management purposes, but can complicate communication and make some protocols or packet features less reliable across different paths.613
Standards and use
IP is maintained through the Internet standards process, principally through technical specifications published as Requests for Comments (RFCs). RFC 791 established the IPv4 specification, while RFC 8200 specifies IPv6; later RFCs update particular fields, procedures, or operational recommendations. The standards describe protocol behavior shared by hosts and routers, while leaving many implementation and network-policy choices to vendors and operators.12
In ordinary use, IP is not usually visible to a person using an application. A browser, phone, or server relies on operating-system networking and network equipment to prepare, address, forward, and receive packets. IP can carry data for many different protocols and applications, which is why it supports services ranging from email and web access to real-time communications. Its continuing significance lies in this general-purpose function: it provides a shared method for moving datagrams between networks without dictating what those networks or applications must be.13
References
13 sourcesInternet History | Computer History Museumcomputerhistory.org
rfc-editor.org/rfc/rfc1122.htmlrfc-editor.org· cited 3×
RFC 8900: IP Fragmentation Considered Fragilerfc-editor.org· cited 2×