# 互联网协议套件

互联网协议套件是一组分层的通信协议，因其两个奠基性协议而通常被称为TCP/IP，互联网上所有数据流量都由它承载。它规定了数据在互联的分组网络之间如何封装、寻址、传输、路由以及在主机间交付，共分为四层：应用层、传输层、网际层和链路层。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup><sup> • </sup><sup>[2](https://www.internetsociety.org/internet/history-internet/brief-history-internet-related-networks/)</sup>

| 关键事实 | 详情 |
|---|---|
| 名称 | 以其最初的两个协议——传输控制协议（TCP）和网际协议（IP）——命名为“TCP/IP协议套件”<sup>[2](https://www.internetsociety.org/internet/history-internet/brief-history-internet-related-networks/)</sup> |
| 设计者 | 温特·瑟夫（Vinton Cerf），当时在斯坦福大学按合同为美国国防高级研究计划局（DARPA）工作；罗伯特·卡恩（Robert Kahn），时任DARPA信息处理技术办公室主任<sup>[3](https://www.darpa.mil/news/features/arpanet)</sup> |
| 首次实现 | 1975年于斯坦福；1983年1月1日阿帕网从NCP切换至TCP/IP<sup>[3](https://www.darpa.mil/news/features/arpanet)</sup><sup> • </sup><sup>[4](https://www.internetsociety.org/internet/history-internet/brief-history-internet/)</sup> |
| 分层 | 应用层、传输层、网际层和链路层；主机通常须至少实现每一层中的一个协议<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup> |
| 核心传输协议 | TCP，一种提供重排序与流量控制的可靠面向连接服务；UDP，一种无连接数据报服务<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup> |
| 网际层 | IP将数据从源主机传送至目的主机；ICMP提供差错与拥塞报告；IGMP支持IP组播<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup> |
| 治理 | 通过互联网工程任务组的征求意见稿（RFC）制定；1983年成立互联网活动委员会以指导该套件的演进<sup>[2](https://www.internetsociety.org/internet/history-internet/brief-history-internet-related-networks/)</sup> |
| 当前IP版本 | IPv4，首个完全可用的标准（1981年）；IPv6，使用128位地址<sup>[5](https://www.pcgamer.com/hardware/networking/the-internet-as-we-know-it-emerged-out-of-the-protocol-wars-which-is-as-nerdy-as-it-sounds-but-also-somehow-involved-the-pentagon/)</sup><sup> • </sup><sup>[6](https://www.rfc-editor.org/info/rfc8200)</sup> |

## 源于阿帕网

该套件脱胎于阿帕网——1969年由美国国防高级研究计划局（DARPA）在加州大学洛杉矶分校、加州大学圣塔芭芭拉分校、[犹他大学](https://www.edgepedia.org/zh/university-of-utah)和斯坦福研究所启用的四节点分组交换网络。DARPA启动了一项研究计划，探究将各类分组网络互联的技术，在这一努力过程中发展出的协议体系后来被称为TCP/IP协议套件。<sup>[3](https://www.darpa.mil/news/features/arpanet)</sup><sup> • </sup><sup>[2](https://www.internetsociety.org/internet/history-internet/brief-history-internet-related-networks/)</sup>

**瑟夫与卡恩。** 温特·瑟夫当时在斯坦福大学按合同为DARPA工作，罗伯特·卡恩时任DARPA信息处理技术办公室主任，两人开始研究后来成为TCP和IP的协议。瑟夫回忆说，开发出正确的系统架构以及一套控制和管控分组流量的粗略协议，大约花了六个月的工作。首个TCP/IP协议的初始实现于1975年在斯坦福完成，随着测试的推进，该协议在世界各地越来越多的计算机系统上得到实现。<sup>[3](https://www.darpa.mil/news/features/arpanet)</sup>

这一设计汲取了20世纪70年代其他网络的经验教训，包括法国的Cyclades网络——该网络开创了分组交换，但将可靠性检查排除在网络本身之外；TCP在端点处提供了这种可靠性。TCP/IP还与其他专有厂商协议栈竞争，如IBM的系统网络架构和DEC的DECnet，以及国际标准化的OSI协议套件。<sup>[5](https://www.pcgamer.com/hardware/networking/the-internet-as-we-know-it-emerged-out-of-the-protocol-wars-which-is-as-nerdy-as-it-sounds-but-also-somehow-involved-the-pentagon/)</sup>

## 1983年的切换

该套件获得采用的决定性事件是1983年1月1日阿帕网主机协议从网络控制程序（NCP）向TCP/IP的切换。这是一次“旗帜日”式的切换，要求所有主机同时转换，否则就只能通过临时机制进行通信。该切换经过数年规划，进展足够顺利，以至于参与者收到了印有“我熬过了TCP/IP切换”字样的徽章。<sup>[4](https://www.internetsociety.org/internet/history-internet/brief-history-internet/)</sup>

NCP当初设计时仅面向阿帕网，不具备网际互联能力；相比之下，TCP/IP则是为将网络与网络连接起来、超越其初始范围而构建的。它也是一种开放标准，厂商中立、可扩展、可免费实现。<sup>[7](https://www.tomshardware.com/networking/arpanet-standardized-tcp-ip-on-this-day-in-1983-43-year-old-standard-set-the-foundations-for-todays-internet)</sup> TCP/IP早在三年前的1980年就已被采纳为国防标准，1983年的切换使阿帕网得以拆分为[MILNET](https://www.edgepedia.org/zh/milnet)（支持军事作战需求）和一个支持研究需求的阿帕网。<sup>[4](https://www.internetsociety.org/internet/history-internet/brief-history-internet/)</sup>到1983年1月，已有足够多的独立网络互联在一起，使阿帕网演变成了互联网，尽管最初的阿帕网本身直到1990年才正式退役。<sup>[3](https://www.darpa.mil/news/features/arpanet)</sup>

**软件分发。** 该套件得以传播的一个关键因素是被纳入一个受支持的操作系统。DARPA支持加州大学伯克利分校修改Unix操作系统，以纳入BBN公司开发的TCP/[IP代码](https://www.edgepedia.org/zh/ip-code)；尽管伯克利后来重写了该代码以更高效地适配Unix内核，但其被纳入Unix BSD发行版，将协议带入了研究社区，其中许多人在日常计算中使用Unix BSD。<sup>[4](https://www.internetsociety.org/internet/history-internet/brief-history-internet/)</sup>

## 分层架构

要使用互联网系统进行通信，主机必须实现构成该套件的分层协议集，通常至少要实现每一层中的一个协议。1989年10月发布的主机要求规范RFC 1122对各层定义如下。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>

- **应用层。** 顶层，互联网套件不再对其进一步细分；它实质上合并了OSI参考模型顶部两层——[表示层](https://www.edgepedia.org/zh/presentation-layer)和应用层——的功能。Telnet、FTP和SMTP等用户协议直接向用户提供服务，而SNMP、BOOTP、RARP和[域名系统](https://www.edgepedia.org/zh/domain-name-system)等支撑协议提供通用的系统功能。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>
- **传输层。** 为应用提供端到端通信服务。TCP是一种可靠的面向连接传输，提供端到端可靠性、重排序和流量控制；UDP是一种无连接数据报传输。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>
- **网际层。** 所有传输协议都使用IP将数据从源主机传送至目的主机。IP的无连接、数据报特性是该架构的基本特征，IP也成为OSI无连接网络协议的范本。ICMP虽在架构上分层于IP之上，但被视为IP层的组成部分，提供差错报告、拥塞报告和第一跳网关重定向；IGMP为IP组播建立动态主机组。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>
- **链路层。** 主机在其直接连接网络上通信所使用的协议；存在种类繁多的链路层协议，对应着众多类型的底层网络。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>

两条设计原则贯穿整个套件。[端到端原则](https://www.edgepedia.org/zh/end-to-end-principle)认为，一项功能只有借助通信端点处的应用所掌握的信息及其协助，才能完整、正确地实现，因此端到端的协议设计不应依赖网络内部维护的状态；状态应属于端点。<sup>[8](https://datatracker.ietf.org/doc/html/rfc1958)</sup> 健壮性原则，在RFC 1122中表述为“接收时要宽容，发送时要保守”，被认为在网际层尤为重要，因为一个行为不当的主机就可能使许多其他主机无法获得服务。<sup>[1](https://www.rfc-editor.org/info/rfc1122/)</sup>

## TCP与UDP的实践

TCP于1981年首次记录为RFC 793，为应用提供可靠的、按序的字节流服务，在网络上以IP数据报内的TCP报文段形式传送。可靠性包括通过序列号检测丢包、通过逐段校验和检测错误，并通过重传加以纠正。TCP是面向连接的，使用端口号来标识应用服务并复用主机间的不同数据流；拥塞控制是TCP的一项要求，尽管具体算法在基础规范之外另行选择。<sup>[9](https://www.rfc-editor.org/info/rfc9293)</sup>

UDP提供一种最小的消息传递传输，本身不含拥塞控制。由于拥塞控制对互联网的稳定运行至关重要，使用UDP的应用必须采用自身机制来防止拥塞崩溃，并与并发流量公平分享路径容量。一个UDP数据报承载于单个IP分组中，其最大有效载荷在IPv4中限于65,507字节，在IPv6中限于65,527字节。<sup>[10](https://www.rfc-editor.org/info/rfc8085/)</sup>

传输层在其最初的两个协议之外持续发展。QUIC标准化为RFC 9000，是一种基于UDP的复用安全传输，其中一个或多个QUIC分组被封装在单个UDP数据报中，该数据报又被封装在IP分组中；QUIC连接并不严格绑定于单一网络路径，可以利用连接标识符进行迁移。QUIC是一个名称，而非首字母缩略词。<sup>[11](https://www.rfc-editor.org/info/rfc9000)</sup>

## IPv4与IPv6

该套件首个完全可用的标准以IPv4的形式于1981年出现，在1983年切换之后得到正式采用。<sup>[5](https://www.pcgamer.com/hardware/networking/the-internet-as-we-know-it-emerged-out-of-the-protocol-wars-which-is-as-nerdy-as-it-sounds-but-also-somehow-involved-the-pentagon/)</sup> IPv6在RFC 8200中规定，使用128位源地址和目的地址，以及一个固定首部，其中携带流量类别、20位流标签、有效载荷长度、下一首部选择器和8位跳数限制，每个转发节点递减跳数限制，减至零时丢弃该分组。可选的网际层信息在置于IPv6首部与上层首部之间的扩展首部中传送。<sup>[6](https://www.rfc-editor.org/info/rfc8200)</sup>

IPv6的部署缓慢但有可测量的进展。谷歌自2012年起发布的跟踪图表显示，其服务的原生IPv6访问量于2026年3月28日首次突破50%，达到50.10%，此前在2025年6月曾以49.56%接近这一水平。互联网协会Pulse综合多个部署数据源取平均值，将整体采用率定为43%，各国差异很大：法国73%，印度72%，沙特阿拉伯65%，而意大利为17%，西班牙为10%，埃及为4%。IPv4仍在许多网络上使用，但只能寻址几十亿台设备，而IPv6提供的地址空间可达数十亿乘数十亿的量级。<sup>[12](https://pulse-dev.internetsociety.org/en/blog/2026/04/18-years-later-ipv6-reaches-majority/)</sup>

## 与OSI模型的关系

该套件常与七层OSI参考模型一同讲授，后者将网络功能组织为七层，而TCP/IP以不同的四层分组描述实际部署的互联网套件。<sup>[13](https://geekworkbench.com/blog/technical/osi-tcp-ip-network-models/)</sup> 两个协议栈的各层相互对应，[OSI模型](https://www.edgepedia.org/zh/osi-model)常被用作理解网络传输的概念辅助工具，尽管实际运行的是TCP/IP。<sup>[5](https://www.pcgamer.com/hardware/networking/the-internet-as-we-know-it-emerged-out-of-the-protocol-wars-which-is-as-nerdy-as-it-sounds-but-also-somehow-involved-the-pentagon/)</sup> 一些论述将TCP/IP模型扩展为五层，将底部的主机至网络层拆分为物理层和数据链路层。<sup>[14](https://www.yougetsignal.com/library/osi-vs-tcp-ip-ayiqzqh)</sup> 最初的OSI协议本身在很大程度上已被TCP/IP取代，后者仍是现代网络运行所依赖的实际标准。<sup>[15](https://netstuts.com/osi-vs-tcpip)</sup>

## References

1. [RFC 1122: Requirements for Internet Hosts - Communication Layers, RFC Editor](https://www.rfc-editor.org/info/rfc1122/)
2. [History of the Internet & Related Networks, Internet Society](https://www.internetsociety.org/internet/history-internet/brief-history-internet-related-networks/)
3. [ARPANET, DARPA](https://www.darpa.mil/news/features/arpanet)
4. [A Brief History of the Internet, Internet Society](https://www.internetsociety.org/internet/history-internet/brief-history-internet/)
5. [The internet as we know it emerged out of the Protocol Wars, PC Gamer](https://www.pcgamer.com/hardware/networking/the-internet-as-we-know-it-emerged-out-of-the-protocol-wars-which-is-as-nerdy-as-it-sounds-but-also-somehow-involved-the-pentagon/)
6. [RFC 8200: Internet Protocol, Version 6 (IPv6) Specification, RFC Editor](https://www.rfc-editor.org/info/rfc8200)
7. [ARPANET standardized TCP/IP on this day in 1983, Tom's Hardware](https://www.tomshardware.com/networking/arpanet-standardized-tcp-ip-on-this-day-in-1983-43-year-old-standard-set-the-foundations-for-todays-internet)
8. [RFC 1958: Architectural Principles of the Internet, IETF](https://datatracker.ietf.org/doc/html/rfc1958)
9. [RFC 9293: Transmission Control Protocol (TCP), RFC Editor](https://www.rfc-editor.org/info/rfc9293)
10. [RFC 8085: UDP Usage Guidelines, RFC Editor](https://www.rfc-editor.org/info/rfc8085/)
11. [RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport, RFC Editor](https://www.rfc-editor.org/info/rfc9000)
12. [18 Years Later, IPv6 Reaches Majority, Internet Society Pulse](https://pulse-dev.internetsociety.org/en/blog/2026/04/18-years-later-ipv6-reaches-majority/)
13. [OSI and TCP/IP Network Models, Geek Workbench](https://geekworkbench.com/blog/technical/osi-tcp-ip-network-models/)
14. [OSI vs. TCP/IP Model, YouGetSignal Library](https://www.yougetsignal.com/library/osi-vs-tcp-ip-ayiqzqh)
15. [OSI vs TCP/IP Model - Side-by-Side Comparison, NetsTuts](https://netstuts.com/osi-vs-tcpip)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Networking fundamentals and architecture › Internet protocol suite

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/internet-protocol-suite

English original: https://www.edgepedia.org/internet-protocol-suite
