What are Logical Link Control (LLC) and Medium Access Control(MAC)?

Logical Link Control (LLC) and Medium Access Control (MAC) are two sublayers of the Data Link Layer (Layer 2) in the OSI reference model. These sublayers work together to ensure reliable data transmission between network nodes while managing access to the shared communication medium.

The Data Link Layer is responsible for node-to-node delivery, error detection, and flow control. To handle these complex responsibilities efficiently, it is divided into two distinct sublayers, each with specialized functions.

Data Link Layer Sublayers Network Layer (Layer 3) LLC Sublayer Flow Control, Error Recovery MAC Sublayer Medium Access, Addressing Physical Layer (Layer 1) ? Protocol multiplexing ? Acknowledgments ? Frame encapsulation ? MAC addressing Data flows through both sublayers

Logical Link Control (LLC) Sublayer

The LLC sublayer sits above the MAC sublayer and provides an interface between the upper network layers and the MAC sublayer. Its primary functions include:

  • Protocol multiplexing and demultiplexing − Allows multiple network layer protocols to share a single data link

  • Flow control − Manages the rate of data transmission to prevent buffer overflow at the receiver

  • Error recovery − Detects lost frames and requests retransmission from the source

  • Acknowledgment tracking − Monitors frame delivery confirmations to ensure reliable communication

The LLC sublayer is defined by the IEEE 802.2 standard and provides a common interface regardless of the underlying MAC technology (Ethernet, Wi-Fi, Token Ring, etc.).

Medium Access Control (MAC) Sublayer

The MAC sublayer sits between the LLC sublayer and the Physical Layer, handling the specific details of accessing the shared transmission medium. Key responsibilities include:

  • Frame encapsulation − Adds MAC headers and trailers to create properly formatted frames

  • Physical addressing − Uses MAC addresses to identify source and destination devices on the local network

  • Medium access control − Coordinates access to shared communication channels using protocols like CSMA/CD (Ethernet) or CSMA/CA (Wi-Fi)

  • Collision detection and avoidance − Prevents and resolves data collisions when multiple devices transmit simultaneously

LLC vs MAC Comparison

Aspect LLC Sublayer MAC Sublayer
Primary Function Flow control and error recovery Medium access and addressing
Standard IEEE 802.2 IEEE 802.3 (Ethernet), 802.11 (Wi-Fi)
Addressing Service Access Points (SAPs) MAC addresses (48-bit)
Technology Dependency Technology independent Technology specific

Conclusion

The LLC and MAC sublayers divide the Data Link Layer's responsibilities efficiently − LLC handles reliability and flow control while MAC manages medium access and physical addressing. This separation allows for flexible network implementations where different MAC technologies can use the same LLC interface.

Updated on: 2026-03-16T23:36:12+05:30

23K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements