How the Internet works

The Link, chapter 5 of 36

Ethernet: Frames, Switches, and the 1500-Byte Legacy

Our SYN's Ethernet header never touches a cable, and the 1500-byte cap behind it comes from 1980 controller buffers.

The laptop on the sofa has no cable, yet the first 14 bytes its kernel writes in front of our SYN are an Ethernet header. Two addresses and a type make up all of it: the home router 00:00:5e:00:53:01, the laptop 00:00:5e:00:53:1a, and 0x0800, a value from a registry that Xerox ran until 1986. None of the three fields survives the first router.

1500 bytes
the IP limit on Ethernet, set in 1980 so that buffered controllers stayed compatible
40,493
OUIs assigned on 12 November 2026, out of about 4.2 million possible
30 s
a freshly plugged cable stays silent on a Linux bridge with spanning tree enabled

What a wired port adds to our SYN

The frame as a wired port would send it, with preamble, FCS, and the nominal gap, drawn to scale in octet times. Shrink the payload until padding appears, add a tag or LLC/SNAP, and change the link speed.

Where does this frame actually exist?

Only in memory. Linux's 802.11 stack moves both addresses into an 802.11 header and replaces the EtherType with the eight bytes AA AA 03 00 00 00 08 00, the encapsulation that RFC 1042 defined in 1988 [Linux2026]. The home router reverses the conversion, and its IP stack strips the header, since the destination address is the router's own.

Every router on the path builds a fresh header for the next link. Only the switches of the IXP pass the frame from AS64500 to AS64505 unchanged.

Is 0x0800 a type or a length?

That depends on who wrote the frame. The 802.3 committee used the same two bytes as a length and moved protocol identification into an 802.2 LLC header. SNAP brings the EtherType back eight bytes later, so RFC 1042 framing leaves 1492 bytes for IP on the same cable.

RFC 1122, Section 2.3.3 settles how the two share a 10 Mb/s Ethernet, and a receiver tells them apart by value. RFC 9542, Section 3 gives the line that the IEEE draws today: an EtherType is 0x0600 (1536) or more, a length must be below 0x05DD, and the values from 1501 to 1535 are neither.

Who hands out the 48 bits?

First Xerox, then the IEEE Registration Authority from 1986. In 1981 Dalal and Printis explained the jump from 8 bits: 32 bits would probably be enough, but blocks handed to manufacturers would leave many numbers unused [Dalal1981]. The first block, 00-00-00, is still registered to Xerox.

Our addresses sit in the documentation range of 00-00-5E, the OUI assigned to IANA. IPv6 multicast uses 33-33. The digit 3 was the IPv6 designers' placeholder, and 3333 Coyote Hill Road is the street address of PARC (RFC 9542, Section 2.3.1).

Why must a frame be at least 64 bytes?

A sender must still be transmitting when news of a collision reaches it. The 1980 specification puts the worst case at 450 bit times of round-trip delay plus 48 bit times of jamming signal and rounds up: "The slot time is defined to be 512 bit times" [DIX1980]. That is 64 octets, so the data field must carry at least 46.

Full duplex removed the collision, and the minimum stayed. The ARP request leaves the host as 42 bytes, and the interface adds 18 zero octets before the FCS. Nothing in the frame says where the padding starts.

Why 1500?

Controller buffers had to be compatible. In 1981 four Xerox engineers weighed station buffers, the buffers built into some controllers, and the time a long packet holds the channel. Their verdict: "Buffer management tends to be the dominating consideration" [Shoch1981].

The specification mandated a maximum packet length of 1526 bytes, the 1518-byte frame plus the 8-byte preamble. Every later extension had to fit around the 1500. LLC with SNAP, and the PPPoE header with the PPP protocol field, each took 8 octets of it and left 1492.

What keeps a frame from circling forever?

Nothing in the frame. RFC 6325, Section 1 notes that the Ethernet header has no hop count or TTL field. Perlman, then at Digital Equipment, wanted a network that could not be brought down "merely by plugging a cable into the wrong place" [Perlman1985]. Her spanning tree elects the bridge with the smallest ID as root, and every port off the tree stops carrying data.

The first page of her paper carries a poem, "Algorhyme", which begins "I think that I shall never see / A graph more lovely than a tree".

laptophome routerAS64500IXP switchAS64505 802.11 + SNAPnew framenew framesame frame
From the book: The SYN gets a new Ethernet header at every router

The book keeps asking

This chapter has 5,740 words and 15 questions. These 9 are answered only in the book and the audiobook.

  • What does a cable carry that the dump leaves out?
  • Where did the format come from?
  • What happened to the collision?
  • Why were jumbo frames never standardized?
  • How does a switch know where the laptop is?
  • Where would a VLAN tag go?
  • How do two cables become one link?
  • Who sets the speed, and who says "pause"?
  • What does a switch chip do with our frame?

Open the sources

  • IEEE 802.3-2022 IEEE Standard for Ethernet 2022, free via IEEE GET Program after registration
  • IEEE 802.1Q-2022 IEEE Standard for Local and Metropolitan Area Networks--Bridges and Bridged Networks 2022, free via IEEE GET Program after registration
  • RFC 894 A Standard for the Transmission of IP Datagrams over Ethernet Networks 1984, Internet Standard, STD 41
  • RFC 1042 Standard for the transmission of IP datagrams over IEEE 802 networks 1988, Internet Standard, STD 43
  • RFC 9542 IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters 2024, Best Current Practice, BCP 141
  • [DIX1980] The Ethernet: A Local Area Network. Data Link Layer and Physical Layer Specifications, Version 1.0, 30 September 1980 1980, archive (scan at bitsavers.org)
  • [Metcalfe1976] Ethernet: Distributed Packet Switching for Local Computer Networks. Communications of the ACM 19(7), pp. 395-404 1976, free (ACM Digital Library open backfile)
  • [Perlman1985] An Algorithm for Distributed Computation of a Spanning Tree in an Extended LAN. ACM SIGCOMM Computer Communication Review 15(4), pp. 44-53 1985, free (ACM Digital Library open backfile)

All 41 documents this chapter cites, each with a link to its publisher and a copy kept here.

The Link, chapter 6 of 36

Wi-Fi: Ethernet Without the Wire

The Link, chapter 7 of 36

The Last Mile: DSL, Cable, Fiber, and Mobile

The Internet Layer, chapter 8 of 36

IPv4: The Datagram

The Internet Layer, chapter 9 of 36

Finding the Neighbor: ARP, ICMP, and DHCP

The Internet Layer, chapter 10 of 36

IPv6: The Second Attempt

The Internet Layer, chapter 11 of 36

MTU, Fragmentation, and the Black Hole

The Internet Layer, chapter 12 of 36

NAT, CGNAT, and the Middlebox Internet

The Internet Layer, chapter 13 of 36

Living with Two Protocols

Routing, chapter 14 of 36

Inside One Network: Forwarding, OSPF, and IS-IS

Routing, chapter 15 of 36

BGP: The Protocol That Holds It Together

Routing, chapter 16 of 36

Peering, Transit, and the Money

Routing, chapter 17 of 36

Securing the Routing System

Routing, chapter 18 of 36

MPLS and Segment Routing

Routing, chapter 19 of 36

Anycast and CDNs

Transport, chapter 20 of 36

UDP: Eight Bytes of Header

Transport, chapter 21 of 36

TCP: The Connection

Transport, chapter 22 of 36

Congestion Control: From Collapse to BBR

Transport, chapter 23 of 36

Beyond TCP: SCTP, DCCP, and Multipath

Names and Trust, chapter 24 of 36

DNS: The Namespace and the Wire Format

Names and Trust, chapter 25 of 36

Resolvers, DNSSEC, and Encrypted DNS

Names and Trust, chapter 26 of 36

TLS 1.3: The Handshake

Names and Trust, chapter 27 of 36

Certificates and the Web PKI

Applications, chapter 28 of 36

HTTP: Semantics and HTTP/1.1

Applications, chapter 29 of 36

HTTP/2: Multiplexing over One Connection

Applications, chapter 30 of 36

QUIC: A Transport in Userspace

Applications, chapter 31 of 36

HTTP/3: The Web on QUIC

Applications, chapter 32 of 36

Mail: SMTP and Forty Years of Patches

Applications, chapter 33 of 36

Time, Shells, and Files: NTP, SSH, Telnet, and FTP

The Whole Path, chapter 34 of 36

Measuring and Debugging the Path

The Whole Path, chapter 35 of 36

The Whole Journey, Byte by Byte

The Whole Path, chapter 36 of 36

Ossification and What Comes Next

You have reached the server. The book goes further.

Everything on this site is a short version. Follow the Packet is the long one: 36 chapters and about 280,000 words, with every protocol fact traced to the section of the standard that defines it, every byte dump built by a script you can run, and a directory of more than a thousand cited documents. It comes as a printable book and as an audiobook.

Hear how chapter 1 opens. 70 seconds, narrated by a synthetic voice.

Get the book or the audiobook Read the start of chapter 1 Browse every source

Cover of Follow the Packet: How the Internet Works, Layer by Layer, from ARPANET to QUIC, by Wolfgang Kerschbaumer

The signup uses double opt-in. Every message includes an unsubscribe link.

Published by Sysinit Press. The public addresses, AS numbers and names of the scenario come from ranges reserved for documentation, and the home network uses private addresses, so the site describes no real network. RFC texts are copied unchanged from the RFC Editor.