The History of TCP/IP

Matt George

Fractional CTO · Founder of Injuria.ai

•19 min read•

The History of TCP/IP

The Transmission Control Protocol and the Internet Protocol (TCP/IP) constitute the foundational suite of communication protocols that interconnect network devices on the Internet.[37] Developed in the 1970s by Vinton Cerf and Robert Kahn[1] under the auspices of the United States Department of Defense Advanced Research Projects Agency (DARPA), TCP/IP solved the complex engineering problem of internetworking.[38] Prior to its invention, computer networks were isolated systems, using proprietary hardware and software that could not communicate across different physical mediums. TCP/IP introduced a layered architecture that abstracted the underlying physical network, allowing diverse systems to exchange data reliably regardless of the specific networking hardware in use.

The conceptual origins of TCP/IP trace back to the early 1960s, when researchers sought alternatives to traditional circuit-switched telephone networks. Circuit switching required a dedicated physical path between two communicating parties. If a single node on that path failed, the connection dropped. At the RAND Corporation[2], researcher Paul Baran explored ways to build survivable communications networks for the United States military that could withstand a nuclear strike.[39] Baran proposed a distributed network architecture that divided information into discrete message blocks. These blocks would route independently through a grid of interconnected nodes, automatically bypassing damaged sections of the network. Independently, British computer scientist Donald Davies[3] at the National Physical Laboratory developed a similar concept, coining the term "packet switching" to describe the technique. Packet switching proved highly efficient for computer data, which typically transmits in brief, high-speed bursts rather than continuous streams.

The architecture of TCP/IP is defined by its two primary protocols. The Transmission Control Protocol (TCP)[4] ensures reliable, ordered, and error-checked delivery of a stream of bytes between applications. The Internet Protocol (IP)[5] handles the routing and addressing of data packets across multiple interconnected networks. This separation of concerns, finalized in the late 1970s, allowed the suite to scale from a small military and academic research project into the global infrastructure of the modern digital economy. By standardizing how data is packetized, addressed, transmitted, routed, and received, TCP/IP enabled the creation of a decentralized network of networks.

The history of the Internet[6] and TCP/IP is a story of technical innovation, institutional pragmatism, and intense political competition. During the 1980s, TCP/IP faced severe rivalry from the Open Systems Interconnection (OSI) model, a competing standard backed by European telecommunications monopolies and international standards bodies. TCP/IP succeeded because of its early integration into the Berkeley Software Distribution (BSD) UNIX operating system, its strict mandate on the ARPANET, and its subsequent adoption by the National Science Foundation Network (NSFNET). These factors created a critical mass of working implementations that outpaced the bureaucratic development of competing protocols, establishing TCP/IP as the universal language of global telecommunications.

The Internetworking Problem (1969 to 1973)

The origins of TCP/IP are rooted in the limitations of the earliest packet-switched networks. In 1969, DARPA commissioned the ARPANET[7], the first wide-area packet-switched network, based on the theoretical queuing theory work of Leonard Kleinrock and the packet switching concepts of Baran and Davies. The ARPANET utilized a protocol called the Network Control Program (NCP)[8] to manage communications between host computers. NCP provided standard network interfaces and established reliable, flow-controlled connections between processes on different hosts. However, NCP was designed with a fundamental assumption: it operated on a single, homogenous network built on specialized minicomputers called Interface Message Processors (IMPs) connected by leased telephone lines. NCP assumed the underlying IMP network was inherently reliable and did not include mechanisms for end-to-end error checking across different types of networks.

By the early 1970s, DARPA began experimenting with new networking technologies to support mobile and remote military operations. These included the Packet Radio Network (PRNET), which used radio transmitters for mobile communications, and the Satellite Network (SATNET), which used geostationary satellites to link the United States with Europe. PRNET was heavily influenced by the ALOHAnet system developed by Norman Abramson at the University of Hawaii, which demonstrated how multiple radio transmitters could share a single radio frequency using packet switching.

These new networks had vastly different technical characteristics than the ARPANET. PRNET and SATNET suffered from high latency, frequent packet loss, and variable transmission speeds. In addition, each network used different maximum packet sizes and addressing schemes. NCP was completely incapable of routing data between the ARPANET, PRNET, and SATNET. If a packet moved from a reliable wireline network to a noisy radio network, NCP had no mechanism to detect if the packet was corrupted or lost in transit.

In 1972, Robert Kahn, an engineer who had worked on the ARPANET IMPs at Bolt, Beranek and Newman (BBN), joined DARPA to manage the packet radio program. Kahn immediately recognized the need for an open-architecture network where individual networks could retain their unique hardware and internal protocols, yet still communicate through a universal meta-protocol. Kahn envisioned a system of gateways (now known as routers) that would sit between networks, stripping off the local network headers and forwarding the raw data payload. To design the software logic for this system, Kahn recruited Vinton Cerf, a computer science professor at Stanford University who had previously helped design NCP. Together, Cerf and Kahn began drafting a protocol that could bridge these disparate networks without requiring any single network to change its internal operations.

The Cerf-Kahn Design and Early TCP (1974 to 1977)

In May 1974, Cerf and Kahn published a landmark paper in the IEEE Transactions on Communications titled "A Protocol for Packet Network Intercommunication"[9]. This paper introduced the concept of the Transmission Control Program (TCP). The design proposed a universal host-to-host protocol that would encapsulate data into uniform packets called datagrams. These datagrams would carry destination addresses recognized by the gateways, allowing the gateways to forward the packets from one network to another. The gateways would not retain any state information about the connections; they would simply forward packets on a best-effort basis. All the complex logic of ensuring reliability, reassembling packets in the correct order, and requesting retransmission of lost data was pushed to the host computers at the edges of the network.

The datagram concept was heavily influenced by the French CYCLADES[10] network, designed by Louis Pouzin in the early 1970s. Pouzin had demonstrated that pushing error correction to the host computers, rather than relying on the network itself, made the central network faster and cheaper to build. This concept became known as the end-to-end principle. Cerf and Kahn adopted the end-to-end principle as the core philosophy of TCP, ensuring that the intermediate gateways remained simple and fast.

The 1974 paper laid the conceptual groundwork, but the actual engineering specifications required extensive refinement. In December 1974, Cerf, along with Yogen Dalal and Carl Sunshine, published RFC 675[11], titled "Specification of Internet Transmission Control Program". RFC 675 provided the first detailed technical blueprint for TCP. It introduced the concept of a sliding window for flow control, ensuring that a fast sender would not overwhelm a slow receiver. It also defined a 32-bit sequence number for every byte of data, allowing the receiving host to reassemble packets that arrived out of order and detect missing data.

During this early phase, TCP was a monolithic protocol. It handled both the routing of packets across networks and the end-to-end reliability of the data stream. Between 1975 and 1977, researchers at Stanford, BBN, and University College London conducted a series of practical experiments to test the monolithic TCP. In 1977, a major demonstration successfully routed TCP packets from a mobile radio in a van in California, through the ARPANET to the East Coast, over SATNET to Norway and then via terrestrial link to London, and back to the United States. The test proved that the internetworking concept was viable, but it also exposed a structural flaw in the monolithic design of TCP.

The Split Between TCP and IP (1978 to 1981)

As testing expanded, researchers realized that combining routing and reliability into a single protocol created severe performance bottlenecks for certain types of applications. The monolithic TCP guaranteed delivery by forcing the sender to retransmit any unacknowledged packets. This was ideal for file transfers and remote logins, where data integrity was paramount. However, DARPA was also experimenting with packetized voice communications, the precursor to modern digital telephony.

At the Information Sciences Institute (ISI), engineer Danny Cohen was developing the Network Voice Protocol (NVP)[12] to transmit real-time digital speech over the ARPANET. NVP suffered under monolithic TCP. For real-time voice traffic, delayed packets were useless. If a packet was lost, the application needed to move on to the next packet immediately, rather than waiting for a retransmission that would cause a noticeable pause in the audio playback. The strict reliability of TCP was actively degrading the performance of real-time applications.

Engineers Jon Postel[13], Danny Cohen, and David Reed argued that the protocol needed to be separated into two distinct layers. One layer would handle the basic routing of datagrams without any guarantee of delivery, while a higher layer would sit on top to provide reliability only if the application requested it. In 1978, TCP version 3 formalized this separation. The routing and addressing functions were stripped out and placed into a new protocol called the Internet Protocol (IP). The reliability and flow control functions remained in the Transmission Control Protocol (TCP).

This modular architecture allowed developers to create alternative transport protocols for applications that did not require the heavy overhead of TCP. In August 1980, Jon Postel published RFC 768[14], defining the User Datagram Protocol (UDP). UDP provided a minimal, connectionless transport layer directly over IP, perfect for real-time applications like voice and video, as well as simple query-response services like the Domain Name System (DNS).

The split architecture was finalized in September 1981 with the publication of two foundational documents: RFC 791[15], which defined Internet Protocol version 4 (IPv4), and RFC 793[16], which defined the modern Transmission Control Protocol. IPv4 established the 32-bit addressing scheme that would define the Internet for the next four decades, allowing for approximately 4.3 billion unique addresses. The separation of TCP and IP cemented the hourglass model of the Internet, where a single, simple protocol (IP) sits at the narrow waist, supporting multiple transport protocols above it and running over any physical network below it.

The Protocol Wars and the OSI Model (1980s)

While DARPA was refining TCP/IP in the United States, the international telecommunications industry was developing its own networking standards. Throughout the 1980s, a fierce technical and political conflict known as the Protocol Wars[17] divided the computing world. On one side was TCP/IP, a pragmatic, government-funded project favored by academic researchers and the US military. On the other side was the OSI model[18], a highly structured, seven-layer networking standard developed by the International Organization for Standardization (ISO) and the International Telegraph and Telephone Consultative Committee (CCITT).[40]

The OSI model was backed by European state-owned telecommunications monopolies, the US Department of Commerce, and major corporate vendors. These institutions viewed TCP/IP as an unfinished academic experiment. They preferred OSI because it was designed by formal international committees and aligned with the X.25[19] standard, a packet-switched protocol used in commercial public data networks. X.25 placed the burden of reliability on the network itself, rather than the host computers, which suited the business models of telecommunications companies that wanted to meter and bill for network usage.

Corporate giants also promoted their own proprietary networking stacks, such as IBM Systems Network Architecture (SNA) and Digital Equipment Corporation DECnet. For a time, it appeared that TCP/IP would be marginalized. The United States government even attempted to force the adoption of OSI by publishing the Government Open Systems Interconnection Profile (GOSIP)[20], a mandate requiring all federal agencies to purchase OSI-compliant networking equipment.

However, TCP/IP possessed a distinct advantage: it actually worked. The OSI committees spent years debating theoretical models and drafting hundreds of pages of specifications before writing any software. In contrast, the TCP/IP community operated on a philosophy articulated by MIT researcher David Clark[21] in 1992: "We reject kings, presidents, and voting. We believe in rough consensus and running code." Because DARPA funded the development of TCP/IP, the protocols were freely available and implemented on actual hardware. As the OSI committees stalled over complex bureaucratic disagreements, TCP/IP was already connecting thousands of computers. The sheer momentum of working, deployed TCP/IP networks eventually rendered the OSI protocols obsolete, and the GOSIP mandate was quietly abandoned in the mid-1990s. The OSI seven-layer model survived primarily as a conceptual framework for teaching network architecture.

Flag Day and the BSD UNIX Integration (1983 to 1989)

The technical victory of TCP/IP over OSI was driven by two major historical events: the mandatory transition of the ARPANET and the integration of TCP/IP into the UNIX operating system.

By 1980, the ARPANET was still running on the outdated NCP protocol. DARPA recognized that to prove the viability of TCP/IP, the entire ARPANET had to adopt it. In November 1981, Jon Postel published RFC 801[22], the "NCP/TCP Transition Plan". The plan established a strict deadline of January 1, 1983, for all hosts on the ARPANET to switch from NCP to TCP/IP. On that date, known as Flag Day, DARPA operators disabled NCP on the core network routers. Any host computer that had not upgraded its software was immediately cut off from the network. The transition was highly successful and demonstrated that TCP/IP could manage a large-scale, production network.

Simultaneously, DARPA realized that TCP/IP needed to be easily accessible to university researchers. At the time, the UNIX operating system, originally developed at AT&T Bell Labs, was becoming the standard software environment in computer science departments. DARPA awarded contracts to BBN to write a TCP/IP implementation for UNIX, and to the University of California, Berkeley, to integrate that code into the Berkeley Software Distribution (BSD)[23], a highly popular academic variant of UNIX.[41]

At UC Berkeley, computer scientists Bill Joy[24] and Sam Leffler led the effort to rewrite and optimize the TCP/IP code for the release of 4.2BSD in 1983. Joy and his team created the Berkeley sockets Application Programming Interface (API). The sockets API abstracted the complex mechanics of TCP/IP into simple programming commands, allowing software developers to open a network connection as easily as opening a local file on a hard drive. During this development, Joy and Leffler also established the 127.0.0.1 loopback address, a standard documented years later in RFC 1122[25], which allowed a computer to send network traffic to itself for testing purposes.

Because BSD UNIX was distributed to universities for the cost of magnetic tape, TCP/IP spread rapidly across the academic world. When Bill Joy left Berkeley to co-found Sun Microsystems, he brought the BSD TCP/IP stack with him, integrating it into SunOS. This move established TCP/IP as the default networking standard for the booming workstation market. The combination of free software, the elegant sockets API, and commercial adoption by hardware vendors created an insurmountable lead for TCP/IP.

Commercialization, Scaling, and the NSFNET (1985 to 1995)

The widespread adoption of BSD UNIX laid the groundwork for the next major phase of TCP/IP history: the creation of the National Science Foundation Network (NSFNET)[26]. In 1981, the US National Science Foundation (NSF) funded the Computer Science Network (CSNET) to provide networking services to universities that did not have defense contracts and could not access the ARPANET. Building on the success of CSNET, the NSF initiated a program in 1985 to connect researchers to five newly funded supercomputing centers. Rather than building a proprietary network, the NSF mandated the use of TCP/IP.

The NSFNET began as a 56-kilobit-per-second backbone connecting regional academic networks. The demand for bandwidth was so intense that the network frequently suffered from congestion. In 1987, the NSF awarded a contract to a partnership consisting of Merit Network[27], IBM, and MCI to upgrade the backbone to T1 speeds (1.5 megabits per second). By 1991, the backbone was upgraded again to T3 speeds (45 megabits per second). The NSFNET effectively replaced the ARPANET, which was formally decommissioned in 1990.

During this period, the NSF maintained an Acceptable Use Policy (AUP) that strictly prohibited commercial traffic on the NSFNET. However, the growing utility of email and file transfers led to immense pressure from private enterprises wanting access to the network. Between 1989 and 1991, the first commercial Internet Service Providers (ISPs), such as PSINet and UUNET, began offering TCP/IP access to the public. The NSF began allowing commercial traffic in 1991/1992, but the Acceptable Use Policy restricting commercial traffic was not fully lifted until 1995, and in 1995, the NSFNET backbone was entirely decommissioned, transitioning the Internet to a fully privatized architecture managed by commercial telecommunications companies.

The commercialization of the Internet coincided with the invention of the World Wide Web by Tim Berners-Lee at CERN in 1989. The Web, which operated over TCP/IP using the Hypertext Transfer Protocol (HTTP), drove an exponential explosion in network traffic, as documented by the World Wide Web Consortium (W3C)[28]. This rapid growth exposed a critical limitation in the TCP/IP architecture: IPv4 address exhaustion. IPv4 utilized 32-bit addresses, providing a theoretical maximum of 4.3 billion addresses. By the early 1990s, the Internet Engineering Task Force (IETF) realized that the rapid allocation of IP addresses to corporations and ISPs would soon deplete the available pool.

To delay the exhaustion of IPv4, the IETF introduced two major technical workarounds. The first was Classless Inter-Domain Routing (CIDR), formalized in 1993 with RFC 1519[29], which allowed for more efficient allocation of IP address blocks by abandoning the rigid Class A, B, and C network sizes. The second was Network Address Translation (NAT), formalized in 1994 with RFC 1631 (RFC 1918 formalized private IP addressing)[30]. NAT allowed an entire private network to share a single public IPv4 address. The NAT router would intercept outbound TCP/IP packets, rewrite the source address to its own public address, and keep a table of active connections to route the returning packets to the correct internal machine. While NAT successfully delayed the exhaustion of IPv4, it broke the original end-to-end routing philosophy of TCP/IP, making peer-to-peer applications much more difficult to implement.

The Modern Era: IPv6, Congestion Control, and QUIC

To permanently solve the address exhaustion problem, the IETF initiated the IP Next Generation (IPng) project in 1994. This effort culminated in December 1998 with the publication of RFC 2460[31], which defined Internet Protocol version 6 (IPv6)[32]. IPv6 expanded the address space from 32 bits to 128 bits, providing approximately 340 undecillion unique addresses. IPv6 also simplified the packet header to improve routing efficiency and eliminated the need for NAT, restoring the end-to-end communication model.

Despite its technical superiority, the deployment of IPv6 was remarkably slow. Because IPv6 was not directly backward-compatible with IPv4, network operators had to run both protocols simultaneously in a dual-stack configuration. The widespread use of NAT reduced the immediate economic incentive for ISPs and corporations to invest in IPv6 infrastructure. It was not until the mid-2010s, as the final blocks of IPv4 addresses were officially depleted by regional Internet registries, that global IPv6 adoption began to accelerate. In July 2017, the IETF published RFC 8200[33], elevating IPv6 to the status of a full Internet Standard and officially obsoleting RFC 2460.

While the network layer underwent the slow transition to IPv6, the transport layer experienced its own major evolution. For over forty years, TCP remained the undisputed standard for reliable data transfer. However, the rise of mobile computing and encrypted web traffic exposed limitations in TCP design. TCP suffered from head-of-line blocking, where the loss of a single packet would halt the delivery of all subsequent packets in the stream until the lost packet was retransmitted. In addition, establishing a secure TCP connection required multiple round-trips between the client and server to negotiate the TCP handshake and the Transport Layer Security (TLS) encryption keys, adding noticeable latency to web browsing.

Additionally, traditional TCP congestion control algorithms relied on packet loss to detect network congestion. As network buffers grew larger, this loss-based approach led to a phenomenon known as bufferbloat, where large queues of packets caused massive latency spikes. To address this, researchers at Google developed Bottleneck Bandwidth and Round-trip propagation time (BBR)[34], a modern congestion control algorithm that models the network link to optimize throughput and minimize latency without waiting for packet loss to occur.

To address the fundamental structural issues of TCP, engineers at Google developed QUIC[35], a new transport protocol designed to eventually replace TCP for web traffic. Standardized by the IETF in May 2021 with RFC 9000[36], QUIC operates on top of the connectionless UDP protocol. QUIC implements its own flow control and reliability mechanisms, but unlike TCP, it multiplexes multiple independent data streams within a single connection. If a packet is lost, only the specific stream associated with that packet is delayed, while other streams continue uninterrupted. QUIC also integrates TLS 1.3 encryption directly into the protocol, allowing connections to be established in a single round-trip. QUIC now forms the foundation of HTTP/3, representing the most significant change to the TCP/IP transport layer since the 1981 split.

Today, the TCP/IP suite operates on a scale that its creators could not have anticipated. A protocol designed to connect a few dozen university mainframes over 50-kilobit copper telephone lines now routes zettabytes of data across multi-terabit transoceanic fiber optic cables and global wireless networks. The endurance of TCP/IP is a direct result of its layered, modular architecture. By separating the physical transmission medium from the routing logic, and the routing logic from the application data, TCP/IP allowed each layer of the network to evolve independently. This flexibility ensured that as hardware advanced from room-sized supercomputers to pocket-sized smartphones, the fundamental language of the Internet remained intact.

Sources (41)
  1. Computer History Museum
  2. RAND Corporation
  3. Computer History Museum
  4. Wikipedia: Transmission Control Protocol (TCP)
  5. Wikipedia: Internet Protocol (IP)
  6. Wikipedia: history of the Internet
  7. Wikipedia: ARPANET
  8. Wikipedia: Network Control Program (NCP)
  9. IEEE
  10. CYCLADES
  11. IETF
  12. IETF
  13. Wikipedia: Jon Postel
  14. IETF
  15. IETF
  16. IETF
  17. Wikipedia: Protocol Wars
  18. Wikipedia: OSI model
  19. Wikipedia: X.25
  20. NIST
  21. Wikipedia: David Clark
  22. IETF
  23. Wikipedia: Berkeley Software Distribution (BSD)
  24. Computer History Museum
  25. IETF
  26. National Science Foundation Network (NSFNET)
  27. merit.edu: Merit Network
  28. W3C
  29. IETF
  30. IETF
  31. IETF
  32. Wikipedia: Internet Protocol version 6 (IPv6)
  33. IETF
  34. Bottleneck Bandwidth and Round-trip propagation time (BBR)
  35. Wikipedia: QUIC
  36. IETF
  37. David Groth, Toby Skandier, Todd Lammle, Network+ Study Guide (John Wiley & Sons, 2005)
  38. Todd Lammle, John Swartz, CCNA Data Center-Introducing Cisco Data Center Networking Study Guide (John Wiley & Sons, 2013)
  39. Todd Lammle, CCNA Certification Study Guide (John Wiley & Sons, 2020)
  40. John Davidson, An Introduction to TCP/IP (Springer Science & Business Media, 2012)
  41. Craig Hunt, TCP/IP Network Administration ("O'Reilly Media, Inc.", 2002)

Recommended reading