Download presentation
Presentation is loading. Please wait.
1
The Data Link Layer Read Chapters 3 and 4
2
CSC 3352 Computer Communications Chapter 3&42 Where in the OSI Reference Model ? Session Transport Network Data Link Layer Physical Presentation Application Logical Link Layer Medium Access Control
3
CSC 3352 Computer Communications Chapter 3&43 The Data Link Layer
4
The Data Link Layer: The Medium Access Control Reading: Chap. 4 in Tanenbaum Chap. 7 + Section 14.1 in Stallings
5
CSC 3352 Computer Communications Chapter 3&45 Why Do We Need a MAC Layer ? Let us consider different topologies Point-to-point channel full duplex half duplex Broadcast channel
6
CSC 3352 Computer Communications Chapter 3&46 Management of Broadcast Channels Allocating statically shares of the channel to all stations (by TDM, FDM, or other) Let stations compete for the ALL channel
7
CSC 3352 Computer Communications Chapter 3&47 A Fundamental Result In Queueing Theory In the context of LANs, one powerful bandwith for all is better than one part of it for each one ! Why ? Better utilization, as a dedicated channel may stay IDLE.
8
CSC 3352 Computer Communications Chapter 3&48 Multiple Access Protocols Competing stations (possible collisions) Aloha Slotted Aloha CSMA CSMA/CD Collision-free Bit-map protocol Binary countdown Limited contention Adaptive tree walk protocol
9
CSC 3352 Computer Communications Chapter 3&49 The Pure Aloha Model
10
CSC 3352 Computer Communications Chapter 3&410 The Slotted Aloha Model
11
CSC 3352 Computer Communications Chapter 3&411 CSMA-Persistent
12
CSC 3352 Computer Communications Chapter 3&412 CSMA Non-Persistent
13
CSC 3352 Computer Communications Chapter 3&413 CSMA with Collision Detection
14
CSC 3352 Computer Communications Chapter 3&414 The Contention period
15
CSC 3352 Computer Communications Chapter 3&415 Collision-free: the bit-map protocol All previous methods can lead to collisions… Divide the contention period into N intervals slots (N is the machine number in the LAN, 1bit per slot)… The sender broadcast one bit to reserve and then, once all the bit- map is passed by, the channel can be seized by stations with respect to their reservation order… See figure 4.6, page 254 Slots’ number correpsond to the order of machines on the LAN… We have an overhead of 1bit per machine…
16
CSC 3352 Computer Communications Chapter 3&416 Collision-free: the Binary countdown A station willing to use the channel sends its Binary address starting from the high level bits… Priority rules are clearly set to select the next broadcaster based on its Address… Bit 1 beats bit 0… In case of equality, we go to the next bit… See figure 4.7, page 256
17
CSC 3352 Computer Communications Chapter 3&417 Limited contention: Adaptive tree walk protocol 6 2 3 4 5 D 7 ABC 1 E H GF The LAN machines
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.