Medium Access Control (MAC) Sub-layer

Slides:



Advertisements
Similar presentations
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Advertisements

Lecture 3, 1Spring 2003, COM1337/3501CCN: Direct Link Networks Direct Link Networks Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie,
Networks: Wireless LANs1 Wireless Local Area Networks.
CS Direct Link Networks (Continued) Slide Set 6.
CS4550: Computer Networks II high speed networks, part 1 : FDDI & 100baseTX.
Wireless LANs and Introduction to IP Slide Set 7.
1 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
ECE544: Communication Networks-II, Spring 2006 D. Raychaudhuri & Max Ott Lecture II Includes teaching materials from L. Peterson.
CSS 4321 CSS432 Shared Access Networks Textbook Ch2.6, 2.7, and Professor: Munehiro Fukuda.
Distributed Systems Distributed Algorithms 1 Brendan Tangney Distributed Systems (Distributed Algorithms – A Problem Based Learning Approach)
1 Computer Networks Local Area Networks. 2 A LAN is a network: –provides Connectivity of computers, mainframes, storage devices, etc. –spans limited geographical.
Chapter 2 More on Wireless Ethernet, Token Ring, FDDI Professor Rick Han University of Colorado at Boulder
Spring 2002CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
110/15/2003CS211 IEEE Standard Why we study this standard: overall architecture physical layer spec. –direct sequence –frequency hopping MAC layer.
Spring 2003CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 7 – February 2, 2010.
Chapter 5 outline 5.1 Introduction and services
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
2/12/20021 IEEE Wireless Local Area Networks The future is wireless Presented by Tamer Khattab and George Wong Prepared for EECE571N - Advanced.
جلسه دوازدهم شبکه های کامپیوتری به نــــــــــــام خدا.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
Packet Transmission (Part III) Local Area Networks (LANs)
Lecture 9: Ethernet and Token Ring Networks
8-Oct-154/598N: Computer Networks Shared Access Networks Token Ring ATM Fibre channel Myrinet.
14-Oct-15Computer Networks1 Reliable Transmission.
CSE 331: Introduction to Networks and Security Fall 2001 Instructor: Carl A. Gunter Slide Set 5.
1 Other LANs Token Rings Wireless –Wireless LAN (802.11, WiFi) –Broadband Wireless (802.16) –Bluetooth.
1 Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani Direct Link Networks.
Lecture # 13 Computer Communication & Networks. Today’s Menu ↗Last Lecture Review ↗Wireless LANs ↗Introduction ↗Flavors of Wireless LANs ↗CSMA/CA Wireless.
IEEE (Token Ring) LAN Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
CSE 461: Multiple Access Networks. This Lecture  Key Focus: How do multiple parties share a wire?  This is the Medium Access Control (MAC) portion of.
Mozafar Bag-Mohammadi University of Ilam
802.5 and FDDI TC Token Ring Reference Stallings 6.3 4/16Mbps over STP 4Mbps over CAT3 UTP.
1 Layer 2 Technologies Honolulu Community College Cisco Academy Training Center Semester 1 Version
1 Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani Direct Link Networks.
1 Shared Access Networks: Token ring, Wireless Sections 2.7 & 2.8.
1 Link Layer 3 Mozafar Bag-Mohammadi University of Ilam.
CS440 Computer Networks 1 Wireless LAN (IEEE ) Neil Tang 10/01/2008.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Wireless LAN Provides network connectivity over wireless media An Access Point (AP) is installed to act as Bridge between Wireless and Wired Network.
Chapter 8 LAN Technologies and Network Topology
Outline What is Wireless LAN Wireless Transmission Types
IEEE (Token Ring) LAN Dr. Sanjay P. Ahuja, Ph.D.
The University of Adelaide, School of Computer Science
Advanced Computer Networks
The University of Adelaide, School of Computer Science
Communication Networks: Technology & Protocols
Wireless LANs Wireless proliferating rapidly.
Computer Communication Networks
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
CS 457 – Lecture 7 Wireless Networks
Token Ring Overview Examples
SW: Sender Assign sequence number to each frame (SeqNum)
100BASE-TX: uses 2-pair UTP or STP that can handle 125 MHz signals and beyond. It uses a binary coding scheme called 4B5B, every 5 clock pulses are used.
EEC-484/584 Computer Networks
Chapter 6 Medium Access Control Protocols and Local Area Networks
Overview Yesterday we looked at Ethernet: CSMA/CD network
basics Richard Dunn CSE July 2, 2003.
DATA COMMUNICATION Lecture-44.
Token Ring Neil Tang 9/22/2008 CS440 Computer Networks.
EEC-484/584 Computer Networks
ECSE-4730: Computer Communication Networks (CCN)
IEEE , Token Rings 4/26/2019 CS/ECE UIUC, Fall 2006.
Mozafar Bag-Mohammadi University of Ilam
Presentation transcript:

Medium Access Control (MAC) Sub-layer Outline Bus (Ethernet, IEEE 802.3) Token ring (IEEE 802.5, FDDI) Wireless (IEEE 802.11) Spring 2001 CS 585

Token Ring Overview Examples 16Mbps IEEE 802.5 (based on earlier IBM ring) 100Mbps Fiber Distributed Data Interface (FDDI) Shared Media: Access control All nodes see all frames Spring 2001 CS 585

Token Ring (cont) Idea Frames flow in one direction: upstream to downstream special bit pattern (token) rotates around ring must capture token before transmitting release token after done transmitting immediate release delayed release remove your frame when it comes back around Other nodes simply forward the frame Destination node makes a copy and forward the frame stations get round-robin service Spring 2001 CS 585

Token Ring (cont) Frame Format Reliability A bit (initial = 0, set to 1 by receiver) C bit (initial = 0, set to 1 by receiver if successfully copied) Control 8 24 CRC Start of frame End of Dest addr Body 48 Src Status 32 Spring 2001 CS 585

Timed Token Algorithm Token Holding Time (THT) upper limit on how long a station can hold the token The impact of THT on performance (10 ms in 802.5) Token Rotation Time (TRT) how long it takes the token to traverse the ring. TRT <= ActiveNodes x THT + RingLatency Target Token Rotation Time (TTRT) in FDDI agreed-upon upper bound on TRT Spring 2001 CS 585

Algorithm (cont) Each node measures TRT between successive tokens if measured-TRT > TTRT: token is late so don’t send if measured-TRT < TTRT: token is early so OK to send Two classes of traffic synchronous: can always send asynchronous: can send only if token is early Worst case: 2xTTRT between seeing token Spring 2001 CS 585

Token Maintenance Lost Token Generating a Token (and agreeing on TTRT) no token when initializing ring bit error corrupts token pattern node holding token crashes Generating a Token (and agreeing on TTRT) execute when join ring or suspect a failure send a claim frame that includes the node’s TTRT bid when receive claim frame, update the bid and forward if your claim frame makes it all the way around the ring: your bid was the lowest everyone knows TTRT you insert new token Spring 2001 CS 585

Maintenance (cont) Monitoring for a Valid Token should periodically see valid transmission (frame or token) maximum gap = ring latency + max frame < = 2.5ms set timer at 2.5ms and send claim frame if it fires Monitoring orphaned frames monitor bit is set to 0 initially set to 1when the monitor sees it discard frames with monitor bit = 1 Spring 2001 CS 585

FDDI (Fiber Distributed Data Interface) Physical Properties Fiber Dual ring in opposite directions (fault-tolerance) Target Token Rotation Time (TTRT) Synchronous and asynchronous traffic Spring 2001 CS 585

Wireless LANs IEEE 802.11 Bandwidth: 1 or 2 Mbps Physical Media spread spectrum radio (2.4GHz) diffused infrared (10m) The sender and receiver do not have to be aimed at each other and do not need a clear line of sight Spring 2001 CS 585

Spread Spectrum Idea Frequency Hopping spread signal over wider frequency band than required originally deigned to thwart jamming Frequency Hopping transmit over random sequence of frequencies sender and receiver share… pseudorandom number generator seed 802.11 uses 79 x 1MHz-wide frequency bands Spring 2001 CS 585

Spread Spectrum (cont) Direct Sequence for each bit, send XOR of that bit and n random bits random sequence known to both sender and receiver called n-bit chipping code 802.11 defines an 11-bit chipping code Random sequence: 0100101101011001 Data stream: 1010 XOR of the two: 1011101110101001 1 Spring 2001 CS 585

Collisions Avoidance Similar to Ethernet (not quite) Problem: hidden and exposed nodes A and C both send to B A to B, D to C ? B sends to A, Can C Send to D ? Spring 2001 CS 585

MACAW (Medium Access Control Avoidance) Sender transmits RequestToSend (RTS) frame Receiver replies with ClearToSend (CTS) frame Neighbors… see CTS: keep quiet see RTS but not CTS: ok to transmit Receiver sends ACK when has frame neighbors silent until see ACK Collisions no collisions detection known when don’t receive CTS exponential backoff Spring 2001 CS 585

Supporting Mobility Case 1: ad hoc networking Case 2: access points (AP) connected by wire each mobile node associates with an AP Spring 2001 CS 585

Mobility (cont) Scanning (selecting an AP) When node sends Probe frame all AP’s w/in reach reply with ProbeResponse frame node selects one AP; sends it AssociationRequest frame AP replies with AssociationResponse frame new AP informs old AP via tethered network When active: when join or move passive: AP periodically sends Beacon frame Spring 2001 CS 585