The data link layer is used for the encoding, decoding and logical organization of data bits. Data packets are framed and addressed by this layer, which has two sublayers.

The data link layer frame includes source and destination addresses, data length, start signal or indicator and other related Ethernet information to enhance communication. This layer’s main responsibility is to transfer data frames between nodes over a network.