Week 5 · Lesson 1

Data Link Layer

Layer 2 is the bridge between the abstract world of IP addresses and the physical world of voltages and radio waves. It takes a packet and turns it into a frame that can actually cross one link — and it decides who may talk on that link, and when. This lesson is the map for the whole week.

CCNA 200-301 Domain 1.0 Network Fundamentals Verified 2026-10-11
Part 1

Where Layer 2 fits

Consider the journey of a single message. At Layer 3, a router thinks in terms of packets and IP networks — it asks “which network is this destined for?” But a packet cannot travel on its own; something must carry it across the actual wire or radio link in front of it. That “something” is the Data Link layer, Layer 2 of the OSI model.

Definition — Data Link layer. Layer 2 is responsible for moving a frame from one device to another across a single link (one network segment). It handles the local delivery of data — within the same LAN — not the end-to-end journey across many networks.

The word to hold onto is link. Layer 3 moves data between networks; Layer 2 moves data across one link. Every hop of a journey is a fresh Layer-2 problem. When your packet leaves your PC, it must reach the local switch; the switch must hand it to the router; the router must build a new frame for the next link, and so on. Each of those steps is Layer 2 doing its job.

This is why the layer is sometimes described as “focused on the local network”. A device at Layer 2 does not know, and does not care, whether the final destination is on another continent. It only needs to get the frame to the next device on this segment.

Encapsulation · what Layer 2 adds to a packet

PC1 (192.168.1.110) sends data to the web server (192.168.1.5).

Layer 2 header
DestinationNIC of web server
SourceNIC of PC1
Layer 3 IP packet
Source IP192.168.1.110
Destination IP192.168.1.5
Datauser data
Layer 2 trailer
Error detectionFCS

Part 2

The two sublayers: LLC and MAC

The Data Link layer is a large job, so IEEE divided it into two sublayers. This split is a favourite exam topic, so learn the boundary precisely.

SublayerStandardResponsibility
Logical Link Control (LLC)IEEE 802.2Provides services to the Network layer above: identifies which network-layer protocol is carried (multiplexing) and provides flow/error control between the two peers. It is independent of the physical media.
Media Access Control (MAC)IEEE 802.3 (Ethernet)Handles the hardware addressing, the rules for accessing the shared medium, and the framing (headers/trailer) that goes on the wire. It is specific to the technology (Ethernet, Wi-Fi, etc.).
Note. The MAC sublayer is where the 48-bit MAC address lives, and where Ethernet framing is defined. The LLC sublayer sits just above it, buffering the Network layer from the differences between Ethernet, Wi-Fi, and other media-access methods. Do not confuse the “MAC sublayer” with the “MAC address” — the former is a layer, the latter an identifier used by that layer.
IEEE 802 sublayers · select a block

Part 3

The core Layer-2 services

Whatever the technology — Ethernet, Wi-Fi, PPP — a Data Link protocol provides the same family of services. Learn them as a checklist.

The five services · select one
Exam tip. If a question asks what the Data Link layer does to a packet, the answer is almost always “it encapsulates it into a frame with MAC addresses and an FCS”. Note two facts the exam loves: the FCS is in the trailer (not the header), and this layer detects errors but does not correct them.
Part 4

The frame: header, data, trailer

A frame is the Layer-2 unit of data. It has three parts.

Header

Control information placed in front of the data: the destination MAC address, the source MAC address, and (for Ethernet) a Type/Length field that identifies the upper-layer protocol (for example, IPv4 or ARP).

Data (payload)

The encapsulated Layer-3 packet (which itself contains the Layer-4 segment, and so on).

Trailer

Control information placed after the data, holding the FCS. The Data Link layer is the only OSI layer that adds a trailer.

Header
Carriescontrol information, including the Layer 2 addresses
Data
Carriesthe packet from Layer 3
Trailer
Carrieserror detection

A useful habit: whenever you see a frame, picture the packet “inside” it. The packet is untouched — the frame simply wraps around it for the trip across one link. At the far end the frame is stripped away and the packet is passed up to Layer 3.

Part 5

The Layer-2 PDU and the devices that work there

The Protocol Data Unit (PDU) is the name of the data at each layer. Memorise the chain: Data → Segment/Datagram → Packet → Frame → Bits. Layer 2’s PDU is the frame. Layer 3’s is the packet; Layer 4’s is the segment (TCP) or datagram (UDP). Using the wrong word is a classic exam trap — only Layer 3 has packets, and only Layer 2 has frames.

LayerPDUAddress used
4 — TransportSegment (TCP) / Datagram (UDP)Port numbers
3 — NetworkPacketIP address
2 — Data LinkFrameMAC address
1 — PhysicalBits—

Three device families operate primarily at Layer 2. You will study them in detail in Lesson 4 of this week; here is the one-line role of each.

Layer 2 or not? · select a device

Layer 2

Decision inputs

Memory hook. Layer 2 = Link = MAC = Frame. Layer 3 = Network = IP = Packet. If a device makes a decision based on a MAC address, it is working at Layer 2; if it uses an IP address, it is working at Layer 3.
Part 6

Why this layer matters

Layer 2 is where the network becomes physical and local. It is where collisions happen, where switches learn, where MAC addresses are used, and where corrupted frames are caught. Understanding it explains why a switch is faster than an old hub, why broadcast storms can cripple a LAN, and why MAC addresses only matter on the local segment.

The next lessons in this week build directly on this foundation: MAC addressing (Lesson 2), how frames are delivered to one, all, or many devices (Lesson 3), and the switches and bridges that do the forwarding (Lesson 4).

Part 7 · Your turn

Review

Check what you have learned with these review questions.

Review · 6 questions

Sources

Sources & references

  1. IEEE. IEEE 802.2: Logical Link Control. standards.ieee.org.
  2. IEEE. IEEE 802.3: Ethernet (MAC sublayer, frame format, FCS). standards.ieee.org.
  3. Braden, R. RFC 1122: Requirements for Internet Hosts — Communication Layers (1989), Section 1.3.3 (“Terminology”). rfc-editor.org/rfc/rfc1122.
  4. Cisco. CCNA (200-301) Exam Topics, Network Fundamentals. cisco.com.

Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.