1
CS 3640: Introduction to Networks and Their Applications
Fall 2018, Lecture 7: The Link Layer II – Medium Access Control Protocols Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
CS 3640: Introduction to Networks and Their Applications Fall 2018, - - PowerPoint PPT Presentation
CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 7: The Link Layer II Medium Access Control Protocols Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain 1 You should Be checking Piazza
1
Fall 2018, Lecture 7: The Link Layer II – Medium Access Control Protocols Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
2
You should…
3
This week in class
Recap: Error detection in the link layer
5
This week in class
The link layer: Medium access protocols
unintelligible data.
The link layer: Medium access protocols
fixed share (time or frequency band) in the medium.
☺) to answer.
The link layer: Medium access protocols
The link layer: The ALOHA MAC protocol (1970s)
should start within T time before or after you.
The link layer: The Slotted ALOHA MAC protocol (1970s)
period for transmissions reduces.
The link layer: The CSMA MAC protocol (1990s)
you try to use it. Start transmission only if the medium is idle.
until after you started talking.
The link layer: The CSMA/CD MAC protocol (1990s)
collision occurs, then abort immediately and notify the others. Retry after some time.
The link layer: The CSMA/CD MAC protocol (1990s)
The link layer: Deterministic and randomized back-off
detected by you, it was also detected by everyone else. If two hosts have the same “t” and collide once then they will always collide.
The link layer: Randomized back-off
even on the retries?
exponentially.
The link layer: Challenges with the wireless medium
cannot sense the carrier while transmitting.
The link layer: Challenges with the wireless medium
The link layer: The CSMA/CA MAC protocol (1990s)
at the receiver. Why?
wireless signals may not carry to far away hosts.
can reach C.
The link layer: The CSMA/CA protocol
The link layer: The CSMA/CA protocol
The link layer: The CSMA/CA MAC protocol
go to step 1 and try again.
The link layer: The CSMA/CA MAC protocol – Hidden terminals
The link layer: The CSMA/CA MAC protocol – Hidden terminals
The link layer: The CSMA/CA MAC protocol (with RTS/CTS)
The link layer: The CSMA/CA MAC protocol (with RTS/CTS)
“Request To Send” (RTS) message. Wait for “timeout” seconds for a “Clear To Send” (CTS) message from the receiver.
1 and try again.
The link layer: The CSMA/CA MAC protocol – Exposed terminals
The link layer: The CSMA/CA MAC protocol – Exposed terminals
isn’t) but doesn’t prevent false-positives (thinking the medium is busy when it isn’t) because we never actually reach the RTS stage when we have a false-positive.
The link layer: The CSMA/CA MAC protocol – Exposed terminals
faster, you send more RTS/CTS packets per second because you can handle more transmissions per second.
worse.
too high to be a feasible solution to the exposed terminal problem.
Now: CLASSI (Classroom Assessment by Student Interviews)
had as a student, but it can always be better.