Networking handbook · Chapter 17

Ethernet

A 1500-byte IP packet typically occupies 1518 bytes from the destination MAC address through the frame check sequence on an untagged Ethernet link. The two numbers describe different boundaries. Choosing a boundary first makes a packet budget reproducible.

In this guide13 sections

Introduction

A 1500-byte IP packet typically occupies 1518 bytes from the destination MAC address through the frame check sequence on an untagged Ethernet link. The two numbers describe different boundaries. Choosing a boundary first makes a packet budget reproducible.

Read from destination to trailer

An Ethernet II frame starts with a six-byte destination and a six-byte source. A two-byte EtherType identifies the encapsulated protocol. Values include 0x0800 for IPv4 and 0x86DD for IPv6. The data field then carries that packet, with padding if necessary.

A four-byte frame check sequence (FCS) closes the frame. It helps receivers detect transmission errors on the link. It is ordinarily generated and checked by interfaces and may be absent from the view exposed to a host. It provides no cryptographic authenticity.

Keep the byte counts straight

For a conventional untagged Ethernet II frame, the data-and-pad field ranges from 46 to 1500 bytes. Fourteen header bytes and four FCS bytes bring the usual frame span to 64–1518 bytes. For a 28-byte IPv4/UDP packet with no UDP data, 18 pad bytes fill that minimum.

A single 802.1Q VLAN tag adds four bytes between the source address and the original EtherType. A tagged frame carrying the same 1500-byte IP packet occupies 1522 bytes from destination through FCS. Frame capacity and IP MTU are separate interface settings on many systems.

Diagram

  1. Destination + source · 12 B
  2. EtherType · 2 B
  3. IP packet · 1500 B
  4. FCS · 4 B
The example shows an untagged Ethernet II frame. Its frame length is 1518 bytes. Preamble, delimiter and interpacket gap lie outside this count.

Worked examples

Reconcile an interface MTU and a capture length

  1. Start with a 1500-byte IPv4 packet. On untagged Ethernet its 14-byte header and four-byte FCS produce 1518 bytes.
  2. A host capture that includes the Ethernet header and omits FCS can show 1514 bytes for this same frame. Both lengths are consistent with the MTU.
  3. For a simple wire-time budget add 8 + 12 byte-times to 1518. That gives 1538 byte-times, or 12,304 bit-times per full-size frame including the following gap.

MTU Calculator: Fit TCP data and options in a 1500-byte IPv4 packet

  1. Choose a 1500-byte IP MTU and IPv4 with TCP. The base headers take 20 + 20 = 40 bytes, leaving 1460 bytes.
  2. Suppose this packet carries 12 more bytes of TCP options and padding. Enter 12 as additional overhead.
  3. The data budget is 1448 bytes. Reassemble the packet on paper: 20 bytes of IPv4 + 32 bytes of TCP + 1448 bytes of data = 1500.

Reference table

Ethernet reference
BoundaryIncluded itemsSize for example
IP packetIP header and its contents1500 B
Typical host frame viewUntagged header plus IP packet1514 B
MAC frameHost view plus FCS1518 B
Nominal transmission intervalPreamble, delimiter, MAC frame, following gap1538 byte-times

Configuration example

  • On a VLAN trunk intended to carry 1500-byte IP packets, check that both ends and intervening equipment support the required tagged frame size. Record which boundary the vendor’s maximum-size setting counts.
  • For a jumbo-frame path, record the supported IP MTU on every contributing link. One interface accepting a large local frame cannot establish the complete path budget.

Common mistakes

  • Subtracting the FCS from 1500 when the interface value is already the IP MTU.
  • Counting the interpacket gap as twelve data bytes delivered to the receiver.

Frequently asked questions

Why is padding absent from the IP packet length?

Ethernet adds padding to satisfy its own minimum. The encapsulated IP header identifies the IP packet’s length, so link padding remains outside it.

Does adding a VLAN tag always reduce the IP MTU?

A link supporting the longer tagged frame can still carry the original IP packet. Check the actual frame allowance on the path.

Does Ethernet frame size include the IP packet?

The frame carries the IP packet as its payload plus Ethernet header and usually a frame-check sequence. The frame size and IP packet size are different measurements.

What is the purpose of the Ethernet FCS?

The frame check sequence detects certain transmission errors in the frame. It is not a cryptographic integrity check and does not correct corrupted data.

Does every Ethernet link support the same frame size?

No. Standard MTUs and optional jumbo-frame configurations vary. Every relevant device and path segment must support the selected frame size.

Is a preamble part of the Ethernet frame length?

The preamble and start-frame delimiter are transmitted on the medium but are usually not counted as part of the Ethernet frame size reported by networking tools.

Is a VLAN tag part of the IP packet?

No. A VLAN tag is carried in the Ethernet frame header. It changes link-layer framing, while the IP packet inside remains a separate unit.

What should be checked when a jumbo-frame path fails?

Verify the MTU and frame support on each participating interface and intermediate link, then test the path with appropriately sized packets. A single endpoint setting cannot guarantee end-to-end support.

Does a valid FCS mean the payload is trustworthy?

No. The FCS detects some accidental frame corruption. It does not authenticate the sender or protect against intentional modification.

Why are Ethernet frame-size numbers easy to miscompare?

Specifications and tools may include or exclude tags, FCS, preamble, or inter-frame gap. State the accounting boundaries whenever comparing sizes.

What does full-duplex Ethernet allow?

It allows a link to send and receive simultaneously. Both ends must negotiate or be configured compatibly to avoid duplex mismatch and performance errors.

Is Ethernet CRC the same as a secure checksum?

No. Ethernet's frame check sequence is an error-detection code, not a cryptographic integrity mechanism. It does not authenticate a sender.

Can a switch add or remove a VLAN tag?

A switch can apply tagging behavior according to ingress and egress port configuration. The tag is link-layer metadata and may be rewritten at each hop.

Why can payload capacity be lower than Ethernet MTU?

The IP packet carried in an Ethernet payload includes its own headers. A TCP application payload is smaller again after TCP and IP headers and any options are accounted for.

What is an Ethernet collision domain today?

In switched full-duplex networks, each link is its own collision-free segment in ordinary operation. The term remains useful when explaining older shared or half-duplex Ethernet.

Further learning and references