Services provided by Data Link Layer
Last Updated :
25 Aug, 2020
Prerequisite - Data Link Layer
Data Link Layer is generally representing protocol layer in program that is simply used to handle and control the transmission of data between source and destination machines. It is simply responsible for exchange of frames among nodes or machines over physical network media. This layer is often closest and nearest to Physical Layer (Hardware).
Data Link Layer is basically second layer of seven-layer
Open System Interconnection (OSI) reference model of computer networking and lies just above Physical Layer.
This layer usually provides and gives data reliability and provides various tools to establish, maintain, and also release data link connections between network nodes. It is responsible for receiving and getting data bits usually from Physical Layer and also then converting these bits into groups, known as data link frames so that it can be transmitted further. It is also responsible to handle errors that might arise due to transmission of bits.
Service Provided to Network Layer :
The important and essential function of Data Link Layer is to provide an interface to Network Layer. Network Layer is third layer of seven-layer OSI reference model and is present just above Data Link Layer.
The main aim of Data Link Layer is to transmit data frames they have received to destination machine so that these data frames can be handed over to network layer of destination machine. At the network layer, these data frames are basically addressed and routed.
This process is shown in diagram :
1. Actual Communication :
In this communication, physical medium is present through which Data Link Layer simply transmits data frames. The actual path is Network Layer -> Data link layer -> Physical Layer on sending machine, then to physical media and after that to Physical Layer -> Data link layer -> Network Layer on receiving machine.
2. Virtual Communication :
In this communication, no physical medium is present for Data Link Layer to transmit data. It can be only be visualized and imagined that two Data Link Layers are communicating with each other with the help of or using data link protocol.
Types of Services provided by Data Link Layer :
The Data link layer generally provides or offers three types of services as given below :
1. Unacknowledged Connectionless Service
2. Acknowledged Connectionless Service
3. Acknowledged Connection-Oriented Service
- Unacknowledged Connectionless Service :
Unacknowledged connectionless service simply provides datagram styles delivery without any error, issue, or flow control. In this service, source machine generally transmits independent frames to destination machine without having destination machine to acknowledge these frames.
This service is called as connectionless service because there is no connection established among sending or source machine and destination or receiving machine before data transfer or release after data transfer.
In Data Link Layer, if anyhow frame is lost due to noise, there will be no attempt made just to detect or determine loss or recovery from it. This simply means that there will be no error or flow control. An example can be Ethernet.
- Acknowledged Connectionless Service :
This service simply provides acknowledged connectionless service i.e. packet delivery is simply acknowledged, with help of stop and wait for protocol.
In this service, each frame that is transmitted by Data Link Layer is simply acknowledged individually and then sender usually knows whether or not these transmitted data frames received safely. There is no logical connection established and each frame that is transmitted is acknowledged individually.
This mode simply provides means by which user of data link can just send or transfer data and request return of data at the same time. It also uses particular time period that if it has passed frame without getting acknowledgment, then it will resend data frame on time period.
This service is more reliable than unacknowledged connectionless service. This service is generally useful over several unreliable channels, like wireless systems, Wi-Fi services, etc.
- Acknowledged Connection-Oriented Service :
In this type of service, connection is established first among sender and receiver or source and destination before data is transferred.
Then data is transferred or transmitted along with this established connection. In this service, each of frames that are transmitted is provided individual numbers first, so as to confirm and guarantee that each of frames is received only once that too in an appropriate order and sequence.
Similar Reads
Data Link Layer Services Data Link Layer is the second layer of seven-layer Open System Interconnection (OSI) reference model of computer networking and lies just above Physical Layer. It is responsible for receiving and getting data bits usually from Physical Layer and then converting these bits into groups, known as data
5 min read
Data Link Layer in OSI Model The data link layer is the second layer from the bottom in the OSI (Open System Interconnection) network architecture model. Responsible for the node-to-node delivery of data within the same local network. Major role is to ensure error-free transmission of information. Also responsible for encoding,
4 min read
Types of Services provided by LLC Prerequisite - Services provided by Data Link Layer Logical Link Control (LLC) is one of the uppermost layers of the IEEE 802 Protocol Reference Model. LLC basically provides addressing and control of data links. Optionally, it can provide flow control, acknowledgement, or error recovery. LLC sits i
3 min read
Network Layer Services The network layer is a part of the communication process in computer networks. Its main job is to move data packets between different networks. It helps route these packets from the sender to the receiver across multiple paths and networks. Network-to-network connections enable the Internet to funct
6 min read
Physical Layer Services The Physical Layer is the lowest layer 7-layer OSI model. It is responsible for sending raw data as electrical signals, light pulses, or radio waves over a physical medium like cables or wireless channels. Various hardware components such as cables, switches, network interface cards (NICs) etc. work
5 min read
Application Layer Services The Application Layer is the topmost layer in the OSI (Open Systems Interconnection) model, directly interacting with end-user applications. Its primary role is to provide services and interfaces that allow applications to communicate over a network.It facilitates data exchange between software appl
5 min read