The Data Container
Deconstructing the Ethernet Frame
1. The Frame Hierarchy
An Ethernet frame is the Protocol Data Unit (PDU) of the Data Link Layer (Layer 2). It exists purely to ensure your data gets from one physical port to another across a single building or campus.
2. Visual Breakdown of an Ethernet II Frame
| Preamble (7B) | SFD (1B) | Dest MAC (6B) | Source MAC (6B) | Type (2B) | Data Payload (46-1500B) | FCS/CRC (4B) |
|---|
3. Component Analysis
- Preamble: A pattern of alternating 1s and 0s that "wakes up" the receiving hardware and synchronizes the internal clock speed.
- SFD (Start Frame Delimiter): The sequence '10101011' which signals that the very next bit is the start of the address.
- EtherType: This tells the OS whether it should hand the data to the IPv4 stack, IPv6 stack, or ARP handler.
- FCS (Frame Check Sequence): The error-checking heart of the frame. If a single bit is flipped by electrical interference, the FCS will catch it.
4. The 64-Byte Minimum Rule
Why can't a frame be 20 bytes? In the early days of shared-medium Ethernet (Hubs), a sender had to keep talking long enough for its signal to reach the furthest end of the cable and back.
5. Baby Giant and Tagged Frames
When we add a VLAN tag (802.1Q), we add 4 extra bytes to the header. This increases the frame size beyond the standard limit. Modern switches are designed to handle these "Baby Giant" frames (1504 bytes or 1518 bytes total) without error.
Conclusion: The Foundation of Connectivity
The Ethernet frame has survived since 1980 because it is simple, efficient, and extensible. While we now have fiber optic cables capable of 400Gbps, the fundamental structure of the Ethernet II frame remains identical to the one designed by Bob Metcalfe decades ago. It is the language that the world's hardware speaks.
Frequently Asked Questions
What is a 'Runt' frame?
A 'Runt' is a frame smaller than 64 bytes with a bad CRC. These are almost always caused by network collisions or failing hardware on a local network segment.
How does Ethernet handle collisions now?
It doesn't need to. Modern switches use "Full Duplex," meaning they can send and receive at the same time on separate dedicated wires. Collisions are physically impossible in a full-duplex switched network.
What is the 'Inter-frame Gap'?
It is a mandatory period of silence (96 bit-times) between frames. It serves as a 'cooldown' period for the receiving circuitry to prepare for the next incoming data burst.