
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Transport Layer 3-
»Outline » Data Link Layer Revisited » LLC and MAC sublayers » Channel Allocation Problem » MAC Protocols
5
»Usually for shared network like LAN »Devices need to know » Can multiple devices send at the same time? » When to transmit the data? » For how long it can transmit the data? »Devices require access control mechanism [MAC-protocol] »How to control the access? » Synchronous Access Control Specific capacity is dedicated to each device Same as circuit switching, packet switching, TDM and FDM Not Optimal for LANs as requirements are unpredictable » Asynchronous Access Control Can handle immediate demands for medium access Round Robin Reservation Contention
7
»Where to implement Access Control Mechanism
» Centralized Control A central controller is used like hub or switch Stations ask permission from the controller » Distributed Control Each station contributes to implement the control mechanism Mutual co-ordination » Which one is better Centralized or Distributed ..????? Greater control, priorities are possible [Centralized ] Simple logic for stations [Centralized ] No co-ordination is required [Centralized ] Single point of failure [Centralized ] Bottlenecks [Centralized ]
8
»MAC layer performs medium access control for higher layers
»The access control is implemented through MAC-PDU called MAC-Frame
»A general MAC-Frame
» The Control Field contains protocol control information like priority » Destination MAC address » Source Destination MAC address » LLC: Data from LLC » CRC – Cyclic Redundancy Check for error control
MAC-Control Destination MAC-Address Source MAC-Address LLC-PDU CRC
11
»Broad cast network
»Channel Allocation Schemes
13
» Dynamic channel Allocation Assumptions
14
»ALOHA
» Carrier Sense Multiple Access Protocols » Collision-Free Protocols » Limited-Contention Protocols » Wavelength Division Multiple Access Protocols » Wireless LAN Protocols
16
»When station has frame, it sends
» Station listens (for max round trip time)plus small increment » Wait for ACK,
» If ACK, fine. If not, retransmit
»If no ACK after repeated transmissions, give up
»Frame check sequence (as in HDLC)
»If frame OK and address matches receiver, send ACK
»Frame may be damaged by noise or by another station transmitting at the same time (collision)
»Any overlap of frames causes collision
»Max utilization 18%
17
In pure ALOHA, frames are transmitted at completely arbitrary times.
19
Throughput versus offered traffic for ALOHA systems.
20
»Time in uniform slots equal to frame transmission time
»Need central clock (or other sync mechanism)
»Transmission begins at slot boundary
»Frames either miss or overlap totally
»Max utilization 37%