OSI - Data Link Layer

Overview

In the previous blog, we discussed about the physical layer and it's importance at transmitting the data in the form of bits and bytes. Now, we will be addressing Data link layer and how it prepares packets for transport over different types of media and physical network components.

Data Link Layer

                       The data link layer is the 2nd layer in the OSI model. It's function is to primarily prepare packets for transmission over the physical media. It also serves to control the flow of data that will traverse the physical media. The Data link layer PDU (Protocol Data Unit) is the Frames. The two main functions performed at this layer include framing of packets received from the network layer and control of how data is handled by the physical media through MAC (Media Access Control) and detection of errors. Data Link Layer also includes these functions:

Frame Synchronization: 

                      The Data Link layer synchronizes the transmission of data frames between devices. It ensures that both the sender and receiver are operating at the same speed and are ready to receive data. 

Error Detection and Correction: 

                       The Data Link layer detects and corrects errors that may occur during data transmission. This is usually achieved using techniques such as cyclic redundancy check.

Flow Control:

                       The Data link layer controls access to the physical medium, ensuring that only one device can transmit data at a time. This helps prevent collisions and ensures that data is transmitted efficiently. 

Access Control:

                        The Data link layer manages the flow of data between devices to prevent data loss or buffer overflow. It ensures that data is transmitted at a rate that the receiving device can handle. 

Addressing:

                     The Data link layer assigns unique addresses to devices on the network, allowing them to identified and reached by other devices. 

Protocols at the Data Link layer

Ethernet: 

Ethernet is the most widely used protocol in this layer. It defines the format of Ethernet frames, the access method (CSMA/CD), and the physical addressing (MAC addresses). Ethernet provides reliable and efficient Local Area Network (LAN) communication. 

Point - to - point Protocol:

PPP is a protocol commonly used in dial-up connections and point-to-point links. It establishes a direct connection between two nodes and supports multiple network layer protocols, such as IP, over a single link.

Wi-Fi (IEEE 802.11):

The Wi-fi protocols enables wireless communication within local area network. It defines the format of Wi-Fi frames and the mechanisms for access control and data transmission over wireless media. 

Hoping that the Functions of Data link layer are clear to you. Like, Share and Comment your view on DDL :)
 Happy Networking!



Comments

Popular posts from this blog

The D̶i̶g̶i̶t̶a̶l̶ Computer Evolution

Physical layer in OSI Model

What is TCP/IP?