Purpose of data link layer

As said in the previous lecture, the data link layer has 2 purposes:

We will focus on the second purpose.

Collision is the interference of transmissions from multiple parties that use some medium at the same time. We can detect collisions because error detection indicates error. If there is a collision, you need to retransmit (unless error correction can repair).

In this lecture we will try to answer the following questions: How do we reduce collisions? Can we completely avoid collisions and how? Can we detect collisions before the error detection step and how? How do Ethernet and Wireless work? How do local area networks work?

Channel Allocation Protocols

Channel Allocation Protocols can be divided in various categories:

Protocols without CSMA

These protocols are pretty simple (as we can’t know anything about what is going on in the network).

ALOHA