- Asked 3/11
- 2074 Chaitra · 4 marks
- 2072 Kartik · 3 marks
- 2071 Shrawan · 3 marks
Functions of data link layer
Short answer
The data link layer provides framing, MAC addressing, error and flow control, media access control, and link management. It is divided into LLC (error/flow, network interface) and MAC (addressing, channel access).
What are the (major) functions of the data link layer?
The data link layer is layer 2 of the OSI model. It provides reliable node-to-node (hop-to-hop) transfer of frames over a physical link.
Major functions
- Framing: divides the bit stream from the network layer into manageable frames, adding a header and trailer. Methods: character count, byte stuffing, bit stuffing.
- Physical (MAC) addressing: adds the source and destination MAC addresses in the frame header to deliver the frame to the correct device on the same network.
- Error control: detects and corrects damaged, lost or duplicate frames using CRC, checksum and parity, with acknowledgements and retransmission (ARQ).
- Flow control: keeps a fast sender from flooding a slow receiver using stop-and-wait or sliding window protocols.
- Access control (MAC sublayer): decides which device may use a shared channel at a time (CSMA/CD, token passing).
- Link management: setup, maintenance and release of the data link.
Sublayers
- LLC (Logical Link Control): flow and error control, interface to network layer.
- MAC (Media Access Control): addressing and channel access.
Network layer packet
|
[H | packet | T] <- frame
|
Physical layer bits
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Data link layer framing · Computer Networks and Security, chapter 3 · asked 3×
- Functions of physical layer · Computer Networks and Security, chapter 2
- Functions of network layer · Computer Networks and Security, chapter 4
- Major components of a power station and functions · Power System Analysis I, chapter 1
- Pavement layer functions and rigid pavement joints · Transportation Engineering II, chapter 2
- Pavement classification; flexible layer functions · Transportation Engineering II, chapter 2
- I/O functions used with data files · Computer Programming, chapter 10 · asked 2×