What to practice
- Map protocols, hardware devices (hub/repeater, L2 switch, L3 router, L7 proxy), and PDU names across all seven OSI layers.
- Trace source/destination MAC, IP, and Port headers as a packet crosses multiple routed hops.
- Calculate total encapsulated frame size and payload efficiency for TCP/UDP over IPv4/IPv6 and Ethernet II.
Limited preview notice: AP Networking is not yet open to all schools. College Board lists 2026-27 as its third and final pilot year, with a multiple-choice pilot exam in May 2027 for pilot schools, availability for all schools in 2027-28, and the AP Networking Exam in May 2028. This free preview teaches networking foundations. It is not a complete course, it is not for sale, and College Board does not endorse it.
Framework
OSI Layers (1->7): Physical (Bits) -> Data Link (Frame) -> Network (Packet) -> Transport (Segment/Datagram) -> Session -> Presentation -> Application (Data) | Total Frame Bytes = Payload + L4 Header (TCP 20B / UDP 8B) + L3 Header (IPv4 20B / IPv6 40B) + L2 Ethernet Overhead (18B) | Protocol Payload Efficiency (%) = (Application Payload Bytes / Total Frame Bytes) * 100
In this chapter, layered protocol architectures modularize network engineering. As application data travels down the sender's stack (Encapsulation), each layer prepends control information to form a Protocol Data Unit (PDU): Layer 4 (Transport) adds a 20-byte TCP header (or 8-byte UDP header) with source and destination port numbers to form a Segment (or Datagram); Layer 3 (Network) adds a 20-byte IPv4 header (or 40-byte IPv6 header) with logical source and destination IP addresses to form a Packet; Layer 2 (Data Link) adds a 14-byte Ethernet II header (Destination MAC, Source MAC, EtherType) and a 4-byte Frame Check Sequence (FCS) CRC trailer (18 bytes total L2 overhead) to form a Frame; and Layer 1 (Physical) serializes the frame into Bits over copper, fiber, or RF media. Upon arrival, each hop or destination strips headers from the bottom up (De-encapsulation).
Worked TCP/IPv4/Ethernet Encapsulation Byte Budget & Payload Efficiency Audit
An HTTPS client transmits 942 bytes of application payload in a single standard TCP/IPv4 Ethernet II frame (no optional TCP/IP header fields). Given a 20-byte TCP header, a 20-byte IPv4 header, a 14-byte Ethernet header, and a 4-byte Ethernet FCS trailer, calculate the Layer 4 Segment size, Layer 3 Packet size, Layer 2 Frame size, and overall Protocol Payload Efficiency (%).
Step 1 (Layer 4 Transport Segment): Segment = 942 B payload + 20 B TCP header = 962 bytes.
Step 2 (Layer 3 Network Packet): Packet = 962 B segment + 20 B IPv4 header = 982 bytes.
Step 3 (Layer 2 Data Link Frame): Frame = 982 B packet + 14 B Ethernet header + 4 B FCS trailer = 1,000 bytes total on the wire.
Step 4 (Payload Efficiency %): Efficiency = (942 B payload / 1,000 B total frame) * 100 = 94.20% (58 bytes or 5.80% protocol overhead).
Standard TCP/IPv4 over Ethernet II adds 20 + 20 + 18 = 58 bytes of L4-L2 overhead per frame, whereas UDP/IPv4 over Ethernet II adds 8 + 20 + 18 = 46 bytes.
Practice procedure
Sum all header and trailer bytes (L4 + L3 + L2_header + L2_FCS) first, add to Application Payload to get Total Frame Bytes, then divide Payload by Total Frame Bytes.
Common mistakes
Forgetting the 4-byte Frame Check Sequence (FCS) trailer at Layer 2 and counting Ethernet overhead as 14 bytes instead of 18 bytes.
Claiming that a Layer 3 router rewrites the source and destination IPv4 addresses of every normal routed packet (a router rewrites Layer 2 MAC addresses and decrements the Layer 3 TTL, preserving end-to-end IP addresses unless NAT is configured).
Key terms
Term: Protocol Data Unit (PDU)
Definition: The layer-specific unit of data: Bits (L1), Frame (L2), Packet (L3), Segment/Datagram (L4), and Data (L5-L7).
Term: Encapsulation
Definition: The process of wrapping payload data with layer-specific protocol headers (and L2 trailers) as data moves down the protocol stack.
Term: Frame Check Sequence (FCS)
Definition: A 4-byte Cyclic Redundancy Check (CRC) trailer at the end of an Ethernet frame used by the receiver to detect bit corruption.
Term: Maximum Transmission Unit (MTU)
Definition: The largest Layer 3 IP packet size (1,500 bytes on standard Ethernet) that can be transmitted in a single Layer 2 frame without fragmentation.