DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk2 min

What Is the Data Link Layer? Definition, Frames, and Layer 2

The data link layer is OSI Layer 2: it packages network-layer data into protocol-specific frames and handles delivery across a directly connected link.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The data link layer is Layer 2 of the OSI model. It organizes data from the network layer into frames and applies the addressing and transmission rules needed to move those frames across a directly connected network link. Ethernet is a familiar example, but frame formats and link behavior depend on the protocol.

What the data link layer does

Layer 2 sits between the network layer (Layer 3) and the physical layer (Layer 1). It provides an interface between network-layer data and the technology carrying it across a local link. The link might connect a device to a local network or connect network devices to one another; Layer 2 handles delivery over that link, not routing end to end across multiple networks.

As an Amazon Associate I earn from qualifying purchases.

Its protocol takes data from above, places it in a link-layer unit commonly called a frame, and applies the rules needed for that type of link. The frame’s structure and the details of delivery are protocol-specific, so Ethernet frames are an example—not a universal Layer 2 format. IEEE 802.3 specifies Ethernet LAN operation and a common MAC specification: IEEE 802.3-2022.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frames and addresses: Ethernet as an example

An Ethernet frame carries network-layer data across an Ethernet link and includes source and destination MAC addresses. These addresses support delivery on the local Ethernet network. They are different from IP addresses: MAC addresses belong to the link layer, while IP addresses belong to the network layer and are used for communication across networks.

#1 Best Overall
Sale
Pearson Computer Networking, 8E
  • brand: Pearson
  • Computer Networking, 8e

A Layer 2 switch uses link-layer information to forward frames within a LAN. A router instead makes network-layer forwarding decisions to move traffic between networks. The two devices therefore operate at different layers and serve different forwarding roles.

Cisco’s Ethernet overview explains Ethernet in practical terms, while its sample chapter on Ethernet frames illustrates frame handling and Layer 2 switching.

LLC and MAC in IEEE 802 LANs

In IEEE 802 LAN architecture, the data link layer is described as two sublayers:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Logical Link Control (LLC): The upper sublayer, providing a logical interface with the network layer and identifying protocol information.
  • Media Access Control (MAC): The sublayer associated with the particular access method, including medium-specific access functions.

This split describes IEEE 802 architecture; it should not be taken to mean that every link-layer protocol uses sublayers with these names. IEEE’s catalog marks the 1985 edition of IEEE 802.2 as superseded and its 1989 edition as withdrawn. The IEEE 802.2 working-group page says the standard was withdrawn in 2010 and points to ISO/IEC 8802-2 as stabilized. These references provide architectural context, not a claim that those older catalog entries are current editions: IEEE 802.2-1985 and IEEE/ISO 802.2-1989.

Does Layer 2 guarantee reliable delivery?

No single reliability behavior applies to every data-link protocol. Depending on the protocol and service, a link may use acknowledgements, sequencing, flow control, or recovery. Other services provide best-effort, connectionless transfer. Cisco’s explanation of Logical Link Control describes different LLC service types; reliability depends on the service selected rather than being guaranteed by the data link layer in all networks.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How Layer 2 differs from Layer 3

The simplest distinction is scope: Layer 2 carries frames over a link, while Layer 3 handles packets and forwarding across networks. In the Ethernet-and-IP example, Ethernet uses MAC addresses for local frame delivery, whereas IP addresses identify network-layer destinations. Switches forward frames within a LAN; routers forward between networks.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.