A.S.Tanenbaum, Computer networks, ch4 MAC 1 The Medium Access Control Sublayer Medium Access Control: a means of controlling access to the medium to promote.

Slides:



Advertisements
Similar presentations
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 16 – High Speed LANs.
Advertisements

Channel Allocation Protocols. Dynamic Channel Allocation Parameters Station Model. –N independent stations, each acting as a Poisson Process for the purpose.
EECC694 - Shaaban #1 lec #5 Spring Data Link In Broadcast Networks: The Media Access Sublayer Broadcast networks with multi-access (or random.
Ethernet – CSMA/CD Review
Fundamentals of Computer Networks ECE 478/578
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 K. Salah Module 4.2: Media Access Control The Media Access Control (MAC) sublayer –Random Access (CSMA), IEEE –Token Passing, IEEE Ch 13-
MAC Protocols Media Access Control (who gets the use the channel) zContention-based yALOHA and Slotted ALOHA. yCSMA. yCSMA/CD. TDM and FDM are inefficient.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 17 Introduction to Computer Networks.
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
CSC 450/550 Part 3: The Medium Access Control Sublayer.
The Medium Access Control Sublayer Chapter 4. Ethernet Cabling The most common kinds of Ethernet cabling.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 16 Introduction to Computer Networks.
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.
Studying Local Area Networks Via Media Access Control (MAC) SubLayer
Chapter 13 Wired LANs: Ethernet
Networks: Local Area Networks1 LANs Studying Local Area Networks Via Media Access Control (MAC) SubLayer.
Computer Networks: Local Area Networks 1 LANs Studying Local Area Networks via the Media Access Control (MAC) SubLayer.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Medium Access Control Sublayer Chapter.
1 Chapter 5 The Medium Access Sublayer. 2 Chapter 5 The Medium Access Layer 5.1 The Channel Allocation problem - Static and dynamic channel allocation.
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
Computer Networks 1 (Mạng Máy Tính 1)
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
Ethernet. Ethernet Goals Simplicity Low Cost Compatibility Address flexibility Fairness –All nodes have equal access to the network High speed Stability.
CIS 725 Media Access Layer. Medium Access Control Sublayer MAC sublayer resides between physical and data link layer Broadcast/multiacess channels N independent.
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
Computer Networks NYUS FCSIT Spring 2008 Igor TRAJKOVSKI, Ph.D. Associate Professor
Chapter 4: Medium Access Control (MAC) Sublayer
Ch. 16 High-Speed LANs The Emergence of High- Speed LANs Trends –Computing power of PCs has continued to grow. –MIS organizations recognize the.
CSMA with Collision Detection CSMA/CD can be in one of three states: contention, transmission, or idle.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
The Medium Access Control Sublayer طبقة ولوج الوسط الجزئية Chapter 4.
The Medium Access Control Sublayer Chapter 4 10/1/2015www.noteshit.com1.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking LANs 2: MAC protocols.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
17 - Winter 2005 ECE ECE 766 Computer Interfacing and Protocols 1 Local Area Networks Need for high performance communications for physically close devices.
C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.
Medium Access Control Sub Layer
Data Communications, Kwangwoon University12-1 Chapter 12. Multiple Access 1.Random Access 2.Controlled Access 3.Channelization.
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
C H 4 T HE M EDIUM A CCESS C ONTROL S UBLAYER 1 Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.
The Medium Access Control Sublayer Chapter 4 12/13/2015www.ishuchita.com1.
13.1 Chapter 13 Wired LANs: Ethernet Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
1 Ethernet History –developed by Xerox PARC in mid-1970s –roots in Aloha packet-radio network –standardized by Xerox, DEC, and Intel in 1978 –similar to.
The Medium Access Control Sublayer
The Medium Access Control (MAC) Sublayer. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in LANs.
Chapter 4 The Medum Access Sublayer. MA Sublayer Additional Reference –Local and Metropolitan Area Networks, William Stallings, Prentice Hall, 2000, 6th.
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
High Speed LANs – Ethernet and Token Ring
Chapter 14 LAN Systems Ethernet (CSMA/CD) ALOHA Slotted ALOHA CSMA
William Stallings Data and Computer Communications
The Medium Access Control Sublayer
The Medium Access Control Sublayer
THE IEEE MAC SUB-LAYER – chapter 14
The Medium Access Control (MAC) Sublayer
7- chapter Seven Local Area Networks (LAN)
Computer Interfacing and Protocols
Dr. John P. Abraham Professor UTPA
Multiple Access Control (MAC) Protocols
Presentation transcript:

A.S.Tanenbaum, Computer networks, ch4 MAC 1 The Medium Access Control Sublayer Medium Access Control: a means of controlling access to the medium to promote orderly and efficient use.

A.S.Tanenbaum, Computer networks, ch4 MAC 2 OSI Model and Project 802

A.S.Tanenbaum, Computer networks, ch4 MAC 3 The Channel Allocation Problem Static Channel Allocation in LANs and MANs FDM: small and constant users, heavy load of traffic of each. TDM:same problem. Poor performance. None of the static channel allocation methods work well with bursty traffic. Dynamic Channel Allocation in LANs and MANs

A.S.Tanenbaum, Computer networks, ch4 MAC 4 Pure ALOHA In pure ALOHA, frames are transmitted at completely arbitrary times. Multiple Access Protocols

A.S.Tanenbaum, Computer networks, ch4 MAC 5 Pure ALOHA (2) Vulnerable period for the shaded frame.

A.S.Tanenbaum, Computer networks, ch4 MAC 6 Slotted ALOHA a)Time in uniform slots equal to frame transmission time b)Need central clock (or other sync mechanism) c)Transmission begins at slot boundary d)Frames either miss or overlap totally e)Max utilization 36.8%

Relative formulas for the ALOHA 7 Throughput or Channel Utilization Probability of collisionProbability of success Pure ALO HA Slott ed ALO HA

A.S.Tanenbaum, Computer networks, ch4 MAC 8 Pure ALOHA and Slotted ALOHA Throughput versus offered traffic for ALOHA systems.

A.S.Tanenbaum, Computer networks, ch4 MAC 9 Persistent and Nonpersistent CSMA a)All stations know that a transmission has started almost immediately b)First listen for clear medium (carrier sense) c)If medium idle, transmit with a probability. d)If two stations start at the same instant, collision e)Propagation time is much less than transmission time f)Wait reasonable time (round trip plus ACK contention) g)No ACK then retransmit

A.S.Tanenbaum, Computer networks, ch4 MAC 10 Persistent and Nonpersistent CSMA Comparison of the channel utilization versus load for various random access protocols.

A.S.Tanenbaum, Computer networks, ch4 MAC 11 CSMA/CD (with collision detection) a)If collision detected, jam then cease transmission rather than finish transmitting their frame b)After jam, wait random time then start again c)Half-duplex system d)Save time and bandwidth. e)Basis of Ethernet LAN.

A.S.Tanenbaum, Computer networks, ch4 MAC 12 CSMA/CD Operation

A.S.Tanenbaum, Computer networks, ch4 MAC 13 Token Ring (802.5) MAC protocol –Small frame (token) circulates when idle –Station waits for token –Changes one bit in token to make it SOF for data frame –Append rest of data frame –Frame makes round trip and is absorbed by transmitting station –Station then inserts new token when transmission has finished and leading edge of returning frame arrives –Under light loads, some inefficiency –Under heavy loads, round robin makes efficiency and fair.

A.S.Tanenbaum, Computer networks, ch4 MAC 14 Token Ring Operation

A.S.Tanenbaum, Computer networks, ch4 MAC 15 FDDI MAC Protocol Fiber Distributed Data Interface As for except: –Station seizes token by aborting token transmission –Once token captured, one or more data frames transmitted –New token released as soon as transmission finished

A.S.Tanenbaum, Computer networks, ch4 MAC 16 Ethernet Ethernet Cabling Manchester Encoding The Ethernet MAC Sublayer Protocol The Binary Exponential Backoff Algorithm Ethernet Performance Switched Ethernet Fast Ethernet Gigabit Ethernet IEEE 802.2: Logical Link Control

13.17 Ethernet evolution through four generations

A.S.Tanenbaum, Computer networks, ch4 MAC 18 Ethernet Cabling The most common kinds of Ethernet cabling.

Base5 implementation

Base-T implementation

A.S.Tanenbaum, Computer networks, ch4 MAC 21 Ethernet topology Cable topologies. (a) Linear, (b) Spine, (c) Tree, (d) Segmented.

a)The size limitation is usually solved by using repeaters to divide the medium into smaller segments b)Repeaters relay digital signals in both directions, making the segments appear like one medium c)As repeaters recover the digital signal, they remove any attenuation Baseband Configuration

A.S.Tanenbaum, Computer networks, ch4 MAC 23 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998 Ethernet MAC Sublayer Protocol

A.S.Tanenbaum, Computer networks, ch4 MAC 24 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998 PDU Format

A.S.Tanenbaum, Computer networks, ch4 MAC 25 Minimum and maximum length

13.26 Example of an Ethernet address in hexadecimal notation

A.S.Tanenbaum, Computer networks, ch4 MAC 27 Ethernet Performance Efficiency of Ethernet at 10 Mbps with 512-bit slot times.

A.S.Tanenbaum, Computer networks, ch4 MAC 28 Switched Ethernet A simple example of switched Ethernet.

FAST ETHERNET Fast Ethernet was designed to compete with LAN protocols such as FDDI or Fiber Channel. IEEE created Fast Ethernet under the name 802.3u. Fast Ethernet is backward-compatible with Standard Ethernet, but it can transmit data 10 times faster at a rate of 100 Mbps.

Fast Ethernet topology

Fast Ethernet implementations

13.32 GIGABIT ETHERNET The need for an even higher data rate resulted in the design of the Gigabit Ethernet protocol (1000 Mbps). The IEEE committee calls the standard 802.3z.

A.S.Tanenbaum, Computer networks, ch4 MAC 33 Gigabit Ethernet (a) A two-station Ethernet. (b) A multistation Ethernet.

A.S.Tanenbaum, Computer networks, ch4 MAC 34 Gigabit Ethernet (2) Gigabit Ethernet - Differences zCarrier extension zAt least 4096 bit-times long (512 for 10/100) zFrame bursting extended to 200m. zNew coding

Summary of Ten-Gigabit Ethernet implementations

IEEE standard for LANs

A.S.Tanenbaum, Computer networks, ch4 MAC 37 IEEE 802.2: Logical Link Control (a) Position of LLC. (b) Protocol formats.

13.38 Figure 13.2 HDLC frame compared with LLC and MAC frames