Open In App

Design Issues in Data Link Layer

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

Prerequisite – Layers of OSI Model 
Data-link layer is the second layer after the physical layer. The data link layer is responsible for maintaining the data link between two hosts or nodes. 

Before going through the design issues in the 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 : 

  1. 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. 
       
  2. 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 :  

1. 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 (Data link-layer). 

It provides three types of services:

  1. Unacknowlwdged and connectionless services.
  2. Acknowledged and connectionless services.
  3. Acknowledged and connection-oriented services

Unacknowledged and connectionless services.

  • Here the sender machine sends the independent frames without any acknowledgement from the sender.
  • There is no logical connection established.

Acknowledged and connectionless services.

  • There is no logical connection between sender and receiver established.
  • Each frame is acknowledged by the receiver.
  • If the frame didn’t reach the receiver in a specific time interval it has to be sent again.
  • It is very useful in wireless systems.

Acknowledged and connection-oriented services

  • A logical connection is established between sender and receiver before data is trimester.
  • Each frame is numbered so the receiver can ensure all frames have arrived and exactly once.

2. 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.  

3. 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. 

4. 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. 
 


Last Updated : 09 Nov, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads