Ethernet frame

On this page 7

An Ethernet frame is the data link layer unit that carries a payload across an Ethernet link, wrapping it with destination and source MAC addresses, a type or length field and a frame check sequence used to detect transmission errors. In Ethernet & switching it is the basic object that every switch receives, inspects and forwards.

The format is defined by IEEE 802.3, with the Ethernet II (DIX) variant used for almost all IP traffic today. Understanding its fields explains how switches learn addresses, how VLAN tags work, why the standard MTU is 1500 bytes and why small packets waste a measurable share of link capacity.

Structure of an Ethernet frame

An Ethernet frame consists of a 14-byte header, a payload of 46 to 1500 bytes and a 4-byte trailer, giving a standard frame size of 64 to 1518 bytes. On the wire it is preceded by a preamble and followed by an idle gap, which are part of the physical layer rather than the frame itself.

The table below lists each field in transmission order, with its size and purpose.

FieldSizePurpose
Preamble7 bytesAlternating bits for receiver clock synchronization
Start frame delimiter1 byteMarks the start of the frame
Destination MAC address6 bytesReceiving interface, group or broadcast
Source MAC address6 bytesSending interface, learned by switches
EtherType or length2 bytesIdentifies the payload protocol or its length
Payload46 to 1500 bytesEncapsulated packet, padded if too short
Frame check sequence4 bytesCRC-32 for error detection
Fields of an untagged Ethernet II frame

The preamble, start frame delimiter and the 12-byte interframe gap are not counted in the frame size, but they do consume link time. Together they add 20 bytes of overhead to every transmission, which matters when calculating real throughput.

How switches process the frame

A switch processes a frame by learning the source address, looking up the destination address and forwarding the frame to the correct port. The process depends only on the header, which is why Layer 2 forwarding can run at line rate in hardware.

When a frame arrives, the switch records the source MAC address and ingress port in its MAC address table. It then looks up the destination: a known unicast address goes to one port, while an unknown unicast, a multicast or the broadcast address FF:FF:FF:FF:FF:FF is flooded to all ports in the same VLAN. The receiving interface recalculates the CRC-32 and silently discards the frame if the checksum fails; Ethernet itself never retransmits, leaving recovery to higher layers such as TCP.

Switches differ in when they start forwarding. A store-and-forward switch receives the whole frame and checks the frame check sequence first, while a cut-through switch begins forwarding once it reads the destination address, lowering latency but passing corrupted frames onward.

Frame formats and variants

Several Ethernet frame formats exist, and receivers tell them apart by the value of the two-byte field after the source address. A value of 1536 (0x0600) or more is an EtherType; a value of 1500 or less is a length, as in the original IEEE 802.3 format.

VariantDistinguishing featureMaximum frame sizeTypical use
Ethernet II (DIX)EtherType field, for example 0x0800 for IPv41518 bytesNearly all IP traffic
IEEE 802.3 with LLCLength field plus 802.2 LLC header1518 bytesSpanning Tree BPDUs, legacy protocols
802.1Q tagged frame4-byte VLAN tag, TPID 0x81001522 bytesTrunk links between switches
802.1ad double-taggedTwo VLAN tags, outer TPID 0x88A81526 bytesProvider bridging, QinQ
Jumbo framePayload above 1500 bytes, often 9000About 9018 bytesStorage and data center networks
Ethernet frame variants

The 802.1Q tag inserts a Tag Protocol Identifier and a Tag Control Information field between the source address and the EtherType. The latter carries a 12-bit VLAN ID (up to 4094 usable VLANs) and a 3-bit priority code point used for quality of service. Jumbo frames are not part of IEEE 802.3 and must be enabled consistently on every device along the path.

Frame size, overhead and efficiency

Frame size determines how much of the link carries useful data, because the fixed overhead per frame is the same whether the payload is 46 bytes or 1500 bytes. Small frames therefore reduce efficiency and increase the packet rate that devices must handle.

The 64-byte minimum originated in shared half-duplex Ethernet, where a frame had to last long enough for a collision to be detected across the maximum network diameter. Shorter frames are padded, and anything below the minimum is treated as a runt. The table shows the effect of frame size on a 1 Gbit/s link.

Frame sizeBytes on the wirePayload efficiencyMaximum frames per second
64 bytes84About 55%About 1,488,000
512 bytes532About 93%About 235,000
1518 bytes1538About 97.5%About 81,300
9018 bytes9038About 99.6%About 13,800
Efficiency at different frame sizes on 1 Gbit/s Ethernet

The minimum-frame packet rate is the most demanding test for switches and firewalls, which is why vendors quote forwarding capacity in packets per second at 64 bytes. Large frames raise efficiency but increase serialization delay, which can matter for latency-sensitive traffic on slow links.

Common frame errors and troubleshooting

Interface error counters describe which part of the frame went wrong, so reading them correctly points to the cause of most Layer 2 problems. The following table maps common counters to their usual causes and fixes.

SymptomLikely causeTypical fix
CRC or FCS errorsDamaged cable, interference, bad opticReplace cable or transceiver, check length
RuntsCollisions or duplex mismatchCorrect auto-negotiation settings
GiantsJumbo or tagged frames on a 1500-byte portAlign MTU on both ends
Late collisionsDuplex mismatch or excessive cable lengthForce matching duplex, shorten runs
Input dropsBuffer exhaustion during burstsAdd capacity or apply quality of service
Frame errors, causes and fixes

A frequent mistake is to confuse the MTU with the frame size: an MTU of 1500 bytes refers to the payload, while the frame on the wire is 1518 bytes, or 1522 bytes with a VLAN tag. Mismatched MTU settings rarely break small requests but cause large transfers to stall, a symptom that is often misdiagnosed as an application fault.

Understanding it simply

An Ethernet frame is like an envelope for network data. The front of the envelope shows who should receive it and who sent it, using hardware addresses. A small note says what kind of letter is inside, the letter itself is the data, and a seal on the back shows whether the envelope was damaged on the way.

Switches read only the outside of the envelope to decide where to send it. If the seal shows damage, the envelope is thrown away and the sender’s software must send it again. Every piece of data on a wired local network travels inside such frames.

Applied in practice

A network administrator at a regional hospital enables 9000-byte jumbo frames on the servers and the storage array to speed up backups over a dedicated 10 Gbit/s storage VLAN. After the change, small file listings still work, but large backup jobs freeze after a few seconds.

A packet capture shows the servers sending 9018-byte frames, while the interface counters on one aggregation switch report a rising number of giants. That switch still has its default 1500-byte MTU on the trunk ports. After the administrator raises the MTU on every switch in the path to 9216 bytes, the giants stop and nightly backup time falls by about a fifth. The outcome confirms that jumbo frames require consistent settings end to end.