# 以太网帧

以太网帧是一种由固定字段序列组成的帧，承载目的和源硬件地址、类型或长度指示、46至1500字节的有效载荷以及32位帧检验序列<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>。该格式由1980年的DEC/Intel/Xerox（DIX）规范定义；IEEE 802.3 LLC帧由以太网II帧演化而来，如今的标准同时规定了基本MAC帧格式和带标签帧的扩展格式<sup>[1](https://archive.computerhistory.org/resources/text/DEC/ethernet/dec_intel_xerox.ethernet.the_ethernet_a_local_area_network.1980.102630389.pdf)</sup><sup> • </sup><sup>[2](https://standards.ieee.org/ieee/802.3/10422/)</sup><sup> • </sup><sup>[3](https://www.ieee802.org/3/as/public/0503/3d0_1_CMP.pdf)</sup><sup> • </sup><sup>[4](https://support.huawei.com/enterprise/en/doc/EDOC1100174721/d92326de/ieee-8023-llc-ethernet-frame)</sup>。

| 关键事实 | 详情 |
|---|---|
| 帧字段 | 目的MAC（6字节）、源MAC（6字节）、EtherType或长度（2字节）、数据（46–1500字节）、FCS（4字节）；前导码和SFD位于帧本体之前<sup>[5](https://industrialethernet.org/courses/ie101.html)</sup><sup> • </sup><sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup> |
| 尺寸限制 | 最小64字节，最大1518字节，从目的MAC计至FCS，不包括前导码<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup> |
| 线路上尺寸 | 包含前导码和SFD的全双工帧跨度为72至1526个八位组；最小尺寸的千兆传输在计入12字节帧间间隔后占用84字节<sup>[7](https://www.cs.princeton.edu/techreports/2002/645.pdf)</sup><sup> • </sup><sup>[8](https://kb.netapp.com/on-prem/ontap/Perf/Perf-KBs/What_is_the_theoretical_maximum_throughput_of_a_Gigabit_Ethernet_interface)</sup> |
| 开销 | 每个有效载荷在线路上需要38字节开销，另加可选的4字节802.1Q VLAN标签<sup>[9](https://infohub.delltechnologies.com/en-ca/l/dell-powerscale-network-design-considerations/ip-packet-overhead-3/)</sup> |
| 错误校验 | 4字节FCS是一种循环冗余校验；接收方重新计算，若不匹配则丢弃该帧<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup> |
| 虚拟局域网（VLAN）扩展 | 802.1Q在源地址之后插入4字节标签；12位VLAN标识符允许4096个VLAN，而QinQ双重标签将其扩展到4094 × 4094<sup>[10](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)</sup> |
| 当前标准 | IEEE 802.3-2022是基础标准；P802.3dj项目提出一项修正案，用于200 Gb/s、400 Gb/s、800 Gb/s和1.6 Tb/s运行<sup>[2](https://standards.ieee.org/ieee/802.3/10422/)</sup><sup> • </sup><sup>[11](https://standards.ieee.org/ieee/802.3dj/11115/)</sup> |

## 帧结构

DIX V2.0帧通常称为以太网II，由8字节前导码、6字节源地址和目的地址、2字节标识高层协议的类型字段、可变数据字段和4字节帧检验序列组成<sup>[5](https://industrialethernet.org/courses/ie101.html)</sup>。IEEE 802.3将该帧描述为九个字段，包括前导码和帧起始定界符，并为承载QTag前缀的带标签MAC帧定义了扩展格式<sup>[3](https://www.ieee802.org/3/as/public/0503/3d0_1_CMP.pdf)</sup>。

**逐字段说明。** 前导码为7字节，帧起始定界符（SFD）为1字节，用于发送设备与接收设备之间的同步<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>。目的地址和源地址是48位MAC地址。在DIX标准中，目的地址的第一位指示该地址是组播地址还是物理（单播）地址；IEEE标准的第二位区分本地管理地址与全局管理地址；48位全1地址在两种格式中都是广播地址，指向网络上的所有设备<sup>[5](https://industrialethernet.org/courses/ie101.html)</sup>。

在以太网II帧格式中，2字节类型/长度字段承载[EtherType](https://www.edgepedia.org/zh/ethertype)。常见值以十六进制表示为：0x800用于IPv4，0x86DD用于[IPv6](https://www.edgepedia.org/zh/ipv6)，0x806用于ARP<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>；IBM的文档还列出了更多示例，包括0x809B用于AppleTalk，0x80D5用于以太网上的IBM SNA，0x8137用于Novell NetWare（IPX/SPX）<sup>[12](https://www.ibm.com/support/pages/ethernet-version-2-versus-ieee-8023-ethernet)</sup>。数据字段范围为46至1500字节，小包会被填充以达到64字节最小帧长<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>。

## 物理层开销

前导码和SFD共同构成64位同步模式，由交替的1和0组成，并以两个连续的1结尾；施乐帕克研究中心（Xerox PARC）1981年的演进报告对此作了描述<sup>[13](https://www.bitsavers.org/pdf/xerox/parc/techReports/OPD-T8102_Evolution_of_the_Ethernet_Sep81.pdf)</sup>。

对于10 Mb/s、100 Mb/s和1 Gb/s以太网，标称帧间间隔（IFG）为96个比特时间，即12字节<sup>[7](https://www.cs.princeton.edu/techreports/2002/645.pdf)</sup><sup> • </sup><sup>[4](https://support.huawei.com/enterprise/en/doc/EDOC1100174721/d92326de/ieee-8023-llc-ethernet-frame)</sup>。华为（Huawei）文档指出，在[千兆以太网](https://www.edgepedia.org/zh/gigabit-ethernet)接口上最小间隔可缩短至64比特，在10GE接口上可缩短至40比特<sup>[4](https://support.huawei.com/enterprise/en/doc/EDOC1100174721/d92326de/ieee-8023-llc-ethernet-frame)</sup>。

由于前导码、SFD和IFG位于帧之外，两种尺寸计算方式不同。对于全双工链路，包含前导码和SFD的以太网帧为72至1526个八位组，而常引用的64至1518个八位组范围则不包含它们<sup>[7](https://www.cs.princeton.edu/techreports/2002/645.pdf)</sup>。最小尺寸的千兆以太网传输在加上8字节前导码和12字节IFG后，在线路上占用84字节（672比特）<sup>[8](https://kb.netapp.com/on-prem/ontap/Perf/Perf-KBs/What_is_the_theoretical_maximum_throughput_of_a_Gigabit_Ethernet_interface)</sup>。

## 帧长限制

64字节最小值与CSMA/CD冲突检测有关：发送站必须持续发送足够长时间，以便冲突信号返回，因此较短的帧会被填充到最小长度<sup>[14](http://www.ece.ualberta.ca/~elliott/ee552/studentAppNotes/1998f/ethernet/ethernet.html)</sup>。IEEE 802.3-2022中的CSMA/CD MAC协议规定了共享介质半双工和全双工操作<sup>[2](https://standards.ieee.org/ieee/802.3/10422/)</sup>。

**超大帧与过小帧。** 任何小于64字节的帧都是冲突碎片或残帧，会被接收站自动丢弃；承载超过1500字节数据的帧是巨型帧或小巨型帧<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>。运营商网络接口应允许至少1504字节的最大帧长，以容纳QinQ数据包的额外长度<sup>[10](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)</sup>。

## 帧格式变体与扩展

以太网II与IEEE 802.3帧格式在一个字段上不同。以太网版本2帧在MAC地址之后使用2个八位组的EtherType字段，直接标识所封装的协议；IEEE 802.3帧使用2个八位组的长度字段，后接LLC首部<sup>[12](https://www.ibm.com/support/pages/ethernet-version-2-versus-ieee-8023-ethernet)</sup>。在802.3帧中，长度字段计算其后有多少字节，直到但不包括CRC，协议类型则出现在后面的SNAP首部中<sup>[15](https://flylib.com/books/en/3.223.1.33/1/)</sup>。

LLC和SNAP封装会占用空间：逻辑链路控制占3字节，SNAP首部占3字节，协议类型占2字节，使数据字段从46–1500字节缩小到38–1492字节<sup>[16](https://www.globalknowledge.com/en/resources/articles/what-is-the-difference-between-ethernet-ii-and-ieee-802_3)</sup>。RFC 1042规定IEEE 802帧格式的MAC开销为18个八位组（6源、6目的、2长度、4 FCS），而以太网II为10个<sup>[17](http://www.faqs.org/rfcs/rfc1042.html)</sup>。这一冲突于1997年得到解决：IEEE Std 802.3x-1997修改了标准，使该2个八位组字段既可以是类型字段，也可以是长度字段，从此DIX帧成为有效的IEEE 802.3帧<sup>[18](https://stackoverflow.com/questions/32822472/dix-vs-802-3-link-layer-explanation)</sup>。

**VLAN标签。** [IEEE 802.1Q](https://www.edgepedia.org/zh/ieee-802-1q)在源/目的MAC地址与长度/类型字段之间添加4字节VLAN标签，交换机在添加或移除标签后重新计算FCS<sup>[10](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)</sup>。12位VLAN标识符字段有4096个可能值，其中4094个可用；QinQ添加第二个标签，将VLAN空间扩展到4094 × 4094<sup>[10](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)</sup>。

## 错误检测

帧检验序列是一种32位循环冗余校验，对源、目的、类型和数据字段计算，即除FCS本身之外的所有字段。DIX规范通过生成多项式G(x) = x³² + x²⁶ + x²³ + x²² + x¹⁶ + x¹² + x¹¹ + x¹⁰ + x⁸ + x⁷ + x⁵ + x⁴ + x² + x + 1来定义编码<sup>[1](https://archive.computerhistory.org/resources/text/DEC/ethernet/dec_intel_xerox.ethernet.the_ethernet_a_local_area_network.1980.102630389.pdf)</sup>。接收方重新计算CRC，若计算结果不匹配则丢弃该帧<sup>[6](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)</sup>。

## 按数字计算

每个有效载荷在线路上需要38字节开销：12字节包间间隔、7字节前导码、1字节SFD、6字节目的MAC、6字节源MAC、2字节类型和4字节CRC，此外还可选加4字节VLAN标签<sup>[9](https://infohub.delltechnologies.com/en-ca/l/dell-powerscale-network-design-considerations/ip-packet-overhead-3/)</sup>。

**最大数据包速率。** 对于最小尺寸帧，起始到起始时间为672个比特时间，因此在10 Mb/s时最高为14.88 Mpps，在100 Mb/s时为148.8 kpps，在1 Gb/s时为1488 kpps（1.488 Mpps），相应的承载数据速率分别为7.62、76.2和762 Mb/s<sup>[7](https://www.cs.princeton.edu/techreports/2002/645.pdf)</sup>。

**巨型帧。** 在TCP上使用9000字节巨型帧时，千兆接口可达到13,858帧/秒，扣除前导码、IFG、以太网、IP、TCP和TCP选项开销后，理论吞吐量为987 Mbps，即123 MB/s<sup>[8](https://kb.netapp.com/on-prem/ontap/Perf/Perf-KBs/What_is_the_theoretical_maximum_throughput_of_a_Gigabit_Ethernet_interface)</sup>。更大的帧还能降低处理负载：使用9000字节帧可将CPU必须处理的数据包数量减少到原来的1/6，从每秒160万个数据包降至266,666个<sup>[19](https://community.cisco.com/legacyfs/online/legacy/5/6/7/9765-jumbo_white_paper.pdf)</sup>。使用常规1500字节帧时，94.3%的传输时间承载数据，而一个简单的开销分析表明，9000字节帧应比1500字节帧快约4%至5%<sup>[20](https://irep.ntu.ac.uk/id/eprint/13183/1/221075_PubSub2797_Lee_K.pdf)</sup>。

## 与802.11帧的比较

Wi-Fi 802.11帧在结构上不同于以太网帧。IEEE 802.3帧具有14个八位组的首部，其中包含长度/类型字段，最小64个八位组，最大1518个八位组；802.11帧具有30个八位组的首部，最小28或34个八位组，最大2346个八位组，最大有效载荷为2312个八位组。采用LLC/SNAP封装时，802.3的MTU为1492个八位组，若带802.1Q标签则为1488个八位组<sup>[15](https://flylib.com/books/en/3.223.1.33/1/)</sup>。

## 最新进展

帧格式本身并未随速率变化。IEEE 802.3-2022仍是定义通用MAC规范和帧格式的基础标准，P802.3dj项目正在制定一项拟议修正案，该修正案将在此基础上增加MAC参数、物理层和管理参数，以支持200 Gb/s、400 Gb/s、800 Gb/s和1.6 Tb/s运行，并拟新增第169至173条以及附录172A和173A<sup>[2](https://standards.ieee.org/ieee/802.3/10422/)</sup><sup> • </sup><sup>[11](https://standards.ieee.org/ieee/802.3dj/11115/)</sup>。P802.3dj的首次标准协会投票于2026年3月26日成功结束，赞成率为77%，超过75%的共识阈值，共有159名投票人，返回131张选票<sup>[21](https://www.ieee802.org/3/email_dialog/msg01813.html)</sup>。

帧格式，包括其64字节最小值、1500字节默认有效载荷和32位CRC，仍由IEEE 802.3-2022定义；802.1Q标签等扩展是在原有布局之上叠加，而不是取代原有布局<sup>[2](https://standards.ieee.org/ieee/802.3/10422/)</sup><sup> • </sup><sup>[10](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)</sup>。

## References

1. [The Ethernet: A Local Area Network (DEC/Intel/Xerox DIX specification, 1980), Computer History Museum archive](https://archive.computerhistory.org/resources/text/DEC/ethernet/dec_intel_xerox.ethernet.the_ethernet_a_local_area_network.1980.102630389.pdf)
2. [IEEE SA — IEEE 802.3-2022 standard page](https://standards.ieee.org/ieee/802.3/10422/)
3. [IEEE 802.3 Clause 3 draft — MAC frame structure, ieee802.org](https://www.ieee802.org/3/as/public/0503/3d0_1_CMP.pdf)
4. [IEEE 802.3 LLC Ethernet Frame, Huawei technical documentation](https://support.huawei.com/enterprise/en/doc/EDOC1100174721/d92326de/ieee-8023-llc-ethernet-frame)
5. [IE101: Introduction to Ethernet, industrialethernet.org](https://industrialethernet.org/courses/ie101.html)
6. [Ethernet Frames (7.1) > Ethernet Switching, Cisco Press](https://www.ciscopress.com/articles/article.asp?p=3089352&seqNum=4)
7. [Maximum Packet Rates for Full-Duplex Ethernet, Princeton CS TR-645-02](https://www.cs.princeton.edu/techreports/2002/645.pdf)
8. [What is the theoretical maximum throughput of a Gigabit Ethernet interface? NetApp Knowledge Base](https://kb.netapp.com/on-prem/ontap/Perf/Perf-KBs/What_is_the_theoretical_maximum_throughput_of_a_Gigabit_Ethernet_interface)
9. [IP packet overhead, Dell PowerScale: Network Design Considerations](https://infohub.delltechnologies.com/en-ca/l/dell-powerscale-network-design-considerations/ip-packet-overhead-3/)
10. [IEEE 802.1Q Frame Format, Huawei technical documentation](https://support.huawei.com/enterprise/en/doc/EDOC1100088104)
11. [IEEE SA — IEEE P802.3dj](https://standards.ieee.org/ieee/802.3dj/11115/)
12. [Ethernet Version 2 Versus IEEE 802.3 Ethernet, IBM](https://www.ibm.com/support/pages/ethernet-version-2-versus-ieee-8023-ethernet)
13. [Evolution of the Ethernet, Xerox PARC, September 1981, bitsavers.org](https://www.bitsavers.org/pdf/xerox/parc/techReports/OPD-T8102_Evolution_of_the_Ethernet_Sep81.pdf)
14. [Ethernet (IEEE 802.3) Overview, University of Alberta EE552 student notes](http://www.ece.ualberta.ca/~elliott/ee552/studentAppNotes/1998f/ethernet/ethernet.html)
15. [TCP/IP Illustrated, Vol. 1 — Ethernet and IEEE 802 Encapsulation](https://flylib.com/books/en/3.223.1.33/1/)
16. [What is the Difference Between Ethernet II and IEEE 802.3, Global Knowledge](https://www.globalknowledge.com/en/resources/articles/what-is-the-difference-between-ethernet-ii-and-ieee-802_3)
17. [RFC 1042 — Standard for the transmission of IP datagrams over IEEE 802 networks](http://www.faqs.org/rfcs/rfc1042.html)
18. [DIX vs 802.3 Link Layer explanation, Stack Overflow](https://stackoverflow.com/questions/32822472/dix-vs-802-3-link-layer-explanation)
19. [Cisco jumbo frames white paper](https://community.cisco.com/legacyfs/online/legacy/5/6/7/9765-jumbo_white_paper.pdf)
20. [Large MTUs and Internet Performance, NTU](https://irep.ntu.ac.uk/id/eprint/13183/1/221075_PubSub2797_Lee_K.pdf)
21. [IEEE P802.3dj initial SA ballot result, 802.3 dialog archive](https://www.ieee802.org/3/email_dialog/msg01813.html)

---
*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: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Ethernet › Ethernet standards and speeds › Ethernet framing and MAC

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ethernet-frame

English original: https://www.edgepedia.org/ethernet-frame
