Functions of Datalink layer in OSI model
In simple language, a data link refers to the connection of one area to another. The main aim of these connections is to send or receive digital information. There is a special link protocol that enables the transfer of these waves, which then get interpreted on the receiving computer.
There are two main functions of the Data link layer and these are Data Link Control and Media Access control. Data link control mainly deals with the design and procedure of communication between two adjacent nodes: node-to-node communication.
These include the Enhanced Micro Data Link System (EMDLS), Integrated Data Link System (IDLS), and the Advanced Mini Link System (AMLS). There are also the Advanced Analogue or Digital Data Link systems. All these have different uses, and it’s important to seek expert advice on their installation and use.
As far as the data link layer is concerned, the packet passed across the interface to it from the network layer is pure data, whose every bit is to be delivered to the destination’s network layer. The fact that the destination’s network layer may interpret part of the packet as a header is of no concern to the data link layer.
The Data Link layer transforms a raw transmission facility into a line that appears free of undetected transmission errors to the network layer and is responsible for node-to-node delivery. It makes error-free the physical layer appear to the upper layer (network layer).
The issue that arises in the data link layer (and most of the higher layers as well) is the speed mismatch between sender and receiver.
Flow control: If the rate at which the data are consumed by the receiver is less than the rate produced by the sender, the data link layer deals with a flow control mechanism to prevent overrun the receiver.
Framing: The data link layer receives the stream of bits from the network layer divides into manageable data units called frames.
There are two main functions of the Data link layer and these are Data Link Control and Media Access control. Data link control mainly deals with the design and procedure of communication between two adjacent nodes: node-to-node communication.
This technique was popular when the data was in the form of text that was exchanged by the data link layers. The flag selected could be any character that is not used for text communication. But there is a need to send other types of information like graphs, audio, and video.
In Bit-oriented framing mainly the data section of the frame is a sequence of bits that are to be interpreted by the upper layer as text, graphics, audio, video, etc.
Framing. In the Physical layer, data transmission means moving bits are in the form of a signal from the source to the destination. The Physical layer also provides synchronization that mainly ensures that the sender and the receiver use the same bit durations and timings. The bits are packed into the frames by the data link layer;
Media access control is another main function of the Data Link layer which mainly specifies how the link is shared.
One of the terms is Link, Link is the communication channel through which adjacent nodes are connected. For the other term “Datagram” let us understand it from an analogous situation. Now let us prepare an itinerary from Bangalore to some remote place in West Bengal.
Connection services are used when we need high reliability and speed is not of much concern and vice versa requirement for the connectionless transmission.
The functionality of multi-access is of high importance as it avoids the collision which might occur due to host on shared link trying to share data. The mechanism of CSMA/CD is deployed for allowing access to shared media among multiple systems.
Data link layer works between two hosts which are directly connected in some sense. This direct connection could be point to point or broadcast. Systems on broadcast network are said to be on same link. The work of data link layer tends to get more complex when it is dealing with multiple hosts on single collision domain.
Data Link Layer is second layer of OSI Layered Model. This layer is one of the most complicated layers and has complex functionalities and liabilities. Data link layer hides the details of underlying hardware and represents itself to upper layer as the medium to communicate.
Data link layer has two sub-layers: 1 Logical Link Control: It deals with protocols, flow-control, and error control 2 Media Access Control: It deals with actual control of media
Data-link layer takes packets from Network Layer and encapsulates them into Frames.Then, it sends each frame bit-by-bit on the hardware. At receiver’ end, data link layer picks up signals from hardware and assembles them into frames.