Layer 2 – Data link

The data link layer provides a reliable link between two directly connected nodes, by detecting and possibly correcting errors that may occur in the physical layer.

One such example is the TCP/IP protocol stack and the data link layer using the Point-to-Point Protocol (PPP).

On the sending end it is responsible for creating frames out of data and putting them on the Physical layer.

On the receiving end it will pick up the signal from the Physical layer, decode it and pass it on to the Network Layer