Skip to main content

Frame in AP Networking

In AP Networking, a frame is the protocol data unit (PDU) at the OSI data link layer (Layer 2). It wraps the packet from the layer above with source and destination MAC addresses so data can move between devices on the same local network.

This definition is part of Fiveable's AP Networking review, which also has guided practice questions.

Verified for the 2027 AP Networking exam•Last updated November 2026•Fiveable Content Team

What is frame?

A frame is what your data looks like at the data link layer, which is Layer 2 of the OSI model. As data moves down the networking stack, each layer packages it a little differently. That packaged unit is called a protocol data unit (PDU), and at Layer 2 the PDU is specifically named a frame.

What makes a frame a frame is the addressing it carries. A frame wraps the data with MAC addresses, the hardware IDs burned into network cards, so the data knows which physical device on the local network to go to. This is the result of encapsulation, where each layer adds its own header of control info. The layer above (the network layer) hands down a packet with IP addresses; Layer 2 wraps that packet into a frame with MAC addresses. Devices that live at this layer, like NICs and layer 2 switches, read and forward frames based on those MAC addresses.

Why frame matters in AP Networking

Frame shows up in Unit 4: Managing Our Global Connections, specifically Topic 4.2 on protocols and the OSI and TCP/IP models. It directly supports AP Networking 4.2.B, which asks you to describe the structure of the OSI and TCP/IP models and the PDU at each layer. Knowing that a frame is the Layer 2 PDU is exactly the kind of mapping that objective tests.

It also feeds AP Networking 4.2.C on troubleshooting. If you can tie a problem to frames, you've narrowed it to the data link layer, where MAC addresses, NICs, and Layer 2 switches live. That's the whole point of using a model: match the symptom to a layer, then check the gear that lives there.

Keep studying AP Networking Unit 4

How frame connects across the course

Encapsulation and the PDU chain (Unit 4)

A frame doesn't appear out of nowhere. Encapsulation builds it by wrapping the network-layer packet in a Layer 2 header. Think of the PDU names as a nesting doll going down the stack: bits, then frames, then packets, then segments higher up.

Data link layer (Unit 4)

The frame is literally the signature PDU of the data link layer. If a question mentions a frame, it's pointing you at Layer 2, which means MAC addresses, NICs, and switching.

Layer 2 switch (Unit 4)

A Layer 2 switch is the device that reads frames and forwards them by MAC address. When a switch drops traffic, you're looking at a frame-level problem, not an IP or cabling one.

ARP (Unit 4)

ARP is the glue between layers here. It maps an IP address to a MAC address, so the network layer knows which MAC to stamp on the frame before sending it across the local network.

Is frame on the AP Networking exam?

Expect frame to show up in MCQ stems that ask you to match a PDU to its OSI or TCP/IP layer. A common setup describes a technician fixing a Layer 2 problem, like a switch dropping traffic because of MAC address errors, and asks which layer and PDU to document. The answer ties the data link layer to the frame. Another classic contrasts layers by PDU: fixing a copper cable is a physical layer repair at the bits level, while a MAC or switch issue is a data link layer fix at the frame level. Your job is to lock in that frame equals Layer 2 equals MAC addresses, and not confuse it with a packet (network layer, IP addresses). No released FRQ uses the term verbatim, but the layer-to-PDU mapping is standard MCQ territory.

Frame vs packet

A frame is the Layer 2 (data link) PDU and it addresses by MAC; a packet is the Layer 3 (network/internet) PDU and it addresses by IP. The frame wraps the packet. So if a question is about IP addresses and routers, it's a packet; if it's about MAC addresses and switches, it's a frame.

Key things to remember about frame

  • A frame is the protocol data unit (PDU) at the OSI data link layer, which is Layer 2.

  • Frames carry MAC addresses, so they move data between devices on the same local network.

  • Encapsulation turns the network-layer packet into a frame by adding a Layer 2 header.

  • Layer 2 switches and NICs are the devices that read and forward frames.

  • Seeing 'frame' on the exam means the problem or question lives at the data link layer.

Frequently asked questions about frame

What is a frame in AP Networking?

A frame is the protocol data unit (PDU) at the data link layer (Layer 2) of the OSI model. It wraps the data with source and destination MAC addresses so it can travel between devices on a local network.

Is a frame the same as a packet?

No. A frame is the Layer 2 PDU and uses MAC addresses, while a packet is the Layer 3 (network) PDU and uses IP addresses. The frame actually wraps the packet, so the packet rides inside the frame across the local network.

Which OSI layer does a frame belong to?

The data link layer, which is Layer 2. On the exam, if a stem mentions a frame, MAC addresses, NICs, or a layer 2 switch, it's pointing you at the data link layer.

How do I use frames to troubleshoot a network?

If the problem is at the frame level, like a switch dropping traffic because of MAC address errors, you've narrowed the fault to the data link layer. That tells you to check NICs, MAC addressing, and Layer 2 switches rather than cabling or IP routing.

Does ARP create frames?

Not exactly. ARP maps an IP address to a MAC address so the device knows which MAC to put on the frame. ARP supplies the addressing info; encapsulation then builds the actual frame at Layer 2.

Keep studying AP Networking

Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.