Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
The Data Link Layer of OSI Model
The Data Link Layer (Layer 2) of the OSI model converts the raw transmission facility provided by the physical layer into a reliable and error-free communication link between adjacent network nodes.
This layer acts as a bridge between the physical transmission medium and the network layer, ensuring that data frames are delivered accurately across a single network segment or local link.
Primary Functions
-
Framing − It breaks up the stream of bits into manageable data frames, typically ranging from a few hundred to a few thousand bytes in size.
-
Addressing − It ensures proper distribution of frames by adding headers containing the physical addresses (MAC addresses) of both sender and receiver systems.
-
Error Control − For reliable connections, it ensures receivers send acknowledgement frames. It handles frame retransmission when acknowledgements are missing and includes mechanisms to identify and discard duplicate frames.
-
Flow Control − It manages the rate of data transmission to prevent a fast sender from overwhelming a slow receiver with more data than it can process.
-
Media Access Control − In broadcast networks with shared channels, it controls when and how devices can access the transmission medium to avoid collisions.
Key Components
Logical Link Control (LLC)
The upper sublayer that provides interface to the network layer and manages flow control, error recovery, and frame sequencing.
Media Access Control (MAC)
The lower sublayer that handles physical addressing and controls access to the transmission medium, especially important in shared networks like Ethernet.
Common Protocols
| Protocol | Type | Usage |
|---|---|---|
| Ethernet | LAN | Wired local networks |
| Wi-Fi (802.11) | WLAN | Wireless local networks |
| PPP | Point-to-Point | Direct connections |
Conclusion
The Data Link Layer ensures reliable, error-free communication between adjacent network devices by providing framing, addressing, error control, and flow control mechanisms. It serves as the critical interface between raw physical transmission and network-level routing.
