cloud computing trends

Data-Link Layer

written by Nileesha Dilshan
On Mar 19, 2023

This is the second layer from the bottom of the OSI model. It is considered the most complicated layer which has complex functions and responsibilities. The hardware of the data link layer is hidden and displayed to the upper layers of the OSI model as a medium for communication. It also encodes, decodes, and organizes outgoing and incoming data.

The packets received are divided into frames and sent from source to destination. The Data Link layer provides node-to-node data transmission, two directly connected nodes, and handles error correction from the physical layer. The data transmission gets more complex when dealing with multiple nodes on a single collision domain.

The data link layer transforms data streams to signals bitwise and transmits them across the underlying hardware. At the receiving end, the data is collected from hardware in the form of electric signals, assembles into a recognized frames format, and pass them to the top layer.

This layer is divided into two parts:

  • Logical Link Control(LLC) – It deals with multiplexing which is the flow of data among applications and other services. It also does error checking and frame synchronizing.
  • Media Access Control(MAC) – Connects devices and defines permissions to transmit and receive data using MAC addresses. The received packets are separated into frames and transmission for the physical layer is done by MAC.

Functions performed at Data Link Layer

Framing:

Packets received from the network layer are separated into small frames and sent to the physical layer bit by bit. At the header, and end of the frame, some special bits like error control and addressing are attached too.

Addressing:

MAC addresses(a unique hardware address assigned when manufacturing the device)/physical addresses of source and destination are encapsulated by the data link layer in the header of every frame to make sure node-to-node delivery.

Error Control:

DLL adds error detection bits into the frame’s header and the receiver check that received data are accurate by using error detection and correction techniques in the Data Link layer.

Flow Control:

Some frames may be lost when there is a delay in receiving packets from the sender since it overflows the receiver’s buffer. Therefore, DLL synchronizes the sender’s and receiver’s speeds and controls the flow between them.

Access Control:

DLL is responsible to check which device is controlled over the channel to avoid collisions when sharing the same communication channel. CSDMA/CD and CSMA/CA can be used to avoid collisions and loss of frames in the channel.

Protocols of Data Link Layer:

  • Synchronous Data Link Protocol (SDLC)
  • High-Level Data Link Protocol (HDLC)
  • Serial Line Interface Protocol (SLIP)
  • Point to Point Protocol (PPP)
  • Link Access Procedure (LAP)
  • Link Control Protocol (LCP)
  • Network Control Protocol (NCP)

Nileesha Dilshan

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Related Posts

Routing

Routing

What is Routing? Routing is the method of choosing the most appropriate path for network traffic to travel between different networks or network devices. It involves determining the path that data should take through the network to reach its intended destination....

Network Address Translation

Network Address Translation

Network Address Translation or NAT gives the facility of accessing the internet by multiple devices through a single public IP address. To do this, the private IP address must be converted to a public IP address. Network Address Translation is the procedure that...

IP Address

IP Address

IP is abbreviated from Internet Protocol. So IP address also known as Internet Protocol address is a unique address used to identify a device on the internet or in a LAN. Generally, IP address enables the devices to exchange information between them since they contain...

Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *