$ ./plug-in-to-tcp --step-by-step
From plug-in to TCP: every frame on the wire
This walkthrough goes from PHY auto-negotiation through DHCP, ARP, the router and the TCP handshake to the first data segment. Every frame below is built byte by byte, and the IP, UDP and TCP checksums and the Ethernet FCS are computed live from the bytes shown. Tap a link in the network to see the frame as it looks on that cable.
Network · tap a link to choose which cable you look at
How Ethernet Works Step by Step: 100BASE-TX, 1000BASE-T, 802.1Q VLAN, DHCP, ARP, IPv4 Routing, and TCP Handshake
Understand how Ethernet works on the physical wire and across switches and routers by inspecting every Ethernet II frame byte by byte: 100BASE-TX and 1000BASE-T link negotiation, DHCP DORA, RFC 5227 ARP, 802.1Q VLAN tags, IPv4 routing with TTL decrement, TCP three way handshake, and CRC-32 FCS calculation.