menu
close

The Major Duties of Data Link Layer

The second layer in the OSI Reference model is the Data Link Layer. It lies between the Physical and Network layers. The data link layer is responsible for assigning physical addresses for the devices connected to the network.


The physical address is also known as the hardware address because it is a built-in address.


The difference between a logical address and a hardware address is critical to know. Logical addresses (The best example is an IP address) are not permanent. But, a hardware address (MAC address) is permanent.

The primary function of the Data Link Layer is to deliver frames between the source and destination. However, you must understand that the scope of the Data Link Layer is in the same LAN only.


So, the frame delivery happens between devices connected to the same Local Area Network.


Let us check how the Data Link Layer creates a frame. The data link layer takes bits from the Physical layer and converts them to frames. All communications done in the Data link layer are in frames.




Subdivision in Data-link Layer

The Data link layer has two divisions in the IEEE version (of Ethernet). They are:


1. Logical Link Control (LLC)
2. Media Access Control (MAC)

Let us check the devices that work in the Data Link Layer.

Data-link Layer devices

  1. Switch
  2. NIC
  3. Bridge

Responsibilities of Data Link Layer

  1. Define Physical Addresses.

  2. Communication in the same network in the form of Frames.

  3. Data Link Layer defines the hardware topology of the network.


Major Data Link Layer Protocols


  1. CIF : Cells in Frames Ethernet
  2. FDDI : Fiber Distributed Data Interface
  3. GARP : Generic Attribute Registration Protocol
  4. GMRP : Multicast Registration Protocol.
  5. GVRP :GARP VLAN Registration Protocol
  6. LLC :Logical Link Control.
  7. SNAP :SubNetwork Access Protocol

The Seven Layer Structure

The seven layer structure is:

  1. Physical layer

  2. Data link layer

  3. Network layer

  4. Transport layer

  5. Session layer

  6. Presentation layer

  7. Application layer