Before going through the design issues in data link layer. Some of its sub-layers and their functions are as following below.
The data link layer is divided into two sub-layers :
- Logical Link Control Sub-layer (LLC) –
Provides the logic for the data link , Thus it controls the synchronization , flow control , and error checking functions of the data link layer. Functions are –
- (i) Error Recovery.
- (ii) It performs the flow control operations.
- (iii) User addressing.
- Media Access Control Sub-layer (MAC) –
It is the second sub-layer of data-link layer. It controls the flow and multiplexing for transmission medium. Transmission of data packets is controlled by this layer. This layer is responsible for sending the data over the network interface card.
Functions are –
- (i) To perform the control of access to media.
- (ii) It performs the unique addressing to stations directly connected to LAN.
- (iii) Detection of errors.
Design issues with data link layer are :
- Services provided to the network layer –
The data link layer act as a service interface to the network layer. The principle service is transferring data from network layer on sending machine to the network layer on destination machine. This transfer also takes place via DLL (Dynamic Link Library).
- Frame synchronization –
The source machine sends data in the form of blocks called frames to the destination machine. The starting and ending of each frame should be identified so that the frame can be recognized by the destination machine . .
- Flow control –
Flow control is done to prevent the flow of data frame at the receiver end. The source machine must not send data frames at a rate faster than the capacity of destination machine to accept them.
- Error control –
Error control is done to prevent duplication of frames. The errors introduced during transmission from source to destination machines must be detected and corrected at the destination machine.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.