Chapter 12 Media Access Control (MAC)

Slides:



Advertisements
Similar presentations
12.1 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Advertisements

Multiple access What if multiple machines are sharing the same link?
Multiple Access Methods. When nodes or stations are connected and use a common link (cable or air), called a multipoint or broadcast link, we need a.
LECTURE 11 CT1303 LAN. DYNAMIC MAC PROTOCOL No fixed assignment for transmission media or any network resources.. It allows transmission when needed.
12.1 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 12 Multiple Access Figure 12.1 Data link layer divided into two functionality-oriented sublayers Figure 12.2 Taxonomy of multiple-access protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 13 Multiple Access.
12.1 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
Lecture Focus: Data Communications and Networking  Data Link Layer  Media Access Control (MAC) Lecture 24 CSCS 311.
Medium Access Control Sublayer
: Data Communication and Computer Networks
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
Chapter 12 Multiple Access Figure 12.1 Data link layer divided into two functionality-oriented sublayers Figure 12.2 Taxonomy of multiple-access protocols.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Unit-II Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. Medium Access Control Asst. Prof. Chaiporn.
12.1 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multiple Access.
Data Communications, Kwangwoon University12-1 Chapter 12. Multiple Access 1.Random Access 2.Controlled Access 3.Channelization.
1 Kyung Hee University Chapter 12 Multiple Access.
1 Kyung Hee University Chapter 12 Multiple Access.
5: DataLink Layer 5a-1 Multiple Access protocol. 5: DataLink Layer 5a-2 Multiple Access Links and Protocols Three types of “links”: r point-to-point (single.
Ch 12. Multiple Access. Multiple Access for Shared Link Dedicated link – Point-to-point connection is sufficient Shared link – Link is not dedicated –
Department of Computer Science, University of Peshawar Multiple Access.
Chapter 12 Media Access Control (MAC) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
12.1 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 12 Multiple Access
1 Kyung Hee University Prof. Choong Seon HONG Multiple Access.
Chapter 13 Multiple Access.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 13 Multiple Access.
Chapter 12 Media Access Control (MAC)
UNIT 3 MULTIPLE ACCESS Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved.
Multiple Access. Figure 12.1 Data link layer divided into two functionality-oriented sublayers.
Network Operations & administration CS 4592 Lecture 18 Instructor: Ibrahim Tariq.
Multiple Access By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
Part III. Data Link Layer
Multiple Access Methods
CSMA/CD Carrier sense multiple access with collision detection (CSMA/CD) is a media access control method used most notably in early Ethernet technology.
Chapter 12 Part 2 Media Access Control (MAC)
MEDIUM ACCESS CONTROL PROTOCOL
Data link layer divided into two functionality-oriented sublayers
Chapter 12 Multiple Access.
Packetizing Error Detection
CT301 LECTURE 8.
Chapter 12 Multiple Access
Part III Datalink Layer 10.
Multiple Access Problem: When two or more nodes transmit at the same time, their frames will collide and the link bandwidth is wasted during collision.
Multiple Access Mahesh Jangid Assistant Professor JVW University.
Channel Allocation (MAC)
Subject Name: Computer Communication Networks Subject Code: 10EC71
Chapter 12 Multiple Access
Chapter 12 Multiple Access
Figure 12.1 Data link layer divided into two functionality-oriented sublayers Networks can be divided into two categories: those using point-to-point.
THE IEEE MAC SUB-LAYER – chapter 14
Multiple Access Methods
Chapter 13 Multiple Access.
Chapter 12 Multiple Access
Chapter 12 Multiple Access
Chapter 13 Multiple Access
Channel Allocation Problem/Multiple Access Protocols Group 3
Chapter 12 Multiple Access
Channel Allocation Problem/Multiple Access Protocols Group 3
Data Communication Networks
Chapter 13 Multiple Access
Lecture 5- Data Link Layer
CSE 313 Data Communication
Multiple Access Methods
Multiple Access Control (MAC) Protocols
Part III Datalink Layer 10.
Chapter 12 Media Access Control (MAC)
Presentation transcript:

Chapter 12 Media Access Control (MAC) EE141 Chapter 12 Media Access Control (MAC) School of Computer Science and Engineering Pusan National University Jeong Goo Kim

Outline 12.1 Random Access 12.2 Controlled Access 12.3 Channelization Ch. 12 Outline Outline 12.1 Random Access 12.2 Controlled Access 12.3 Channelization

Fig. 12.1 Taxonomy of multiple-access protocols Ch. 11 Objective Objective Fig. 12.1 Taxonomy of multiple-access protocols

12.1 Random Access 12.1 Random Access In random-access or contention methods, no station is superior to another station and none is assigned control over another. Random access no scheduled time transmission is random Contention no rule compete with one another to access the medium 12.1.1 ALOHA means “additive links on-line Hawaii area” is the earliest contention method was designed for radio LAN can be used any shared medium

Fig. 12.2 Frames in a pure ALOHA network 12.1 Random Access Pure ALOHA very simple possibility of collision between frames from different stations Fig. 12.2 Frames in a pure ALOHA network

Fig. 12.3 Procedure for pure ALOHA protocol 12.1 Random Access Procedure Fig. 12.3 Procedure for pure ALOHA protocol

Fig. 12.3 Vulnerable time for pure ALOHA protocol 12.1 Random Access Ex. 12.1 The stations on a wireless ALOHA network are a maximum of 600 km apart. If we assume that signals propagate at 3 × 108 m/s, we find Tp = (600 × 103) / (3 × 108) = 2 ms. For K = 2, the range of R is {0, 1, 2, 3}. This means that TB can be 0, 2, 4, or 6 ms, based on the outcome of the random variable R. Vulnerable time the length of time in which ther is a possibility of collision Fig. 12.3 Vulnerable time for pure ALOHA protocol

12.1 Random Access Ex. 12.2 Throughput Ex. 12.3 A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps. What is the requirement to make this frame collision-free? Solution Average frame transmission time Tfr is 200 bits/200 kbps or 1 ms. The vulnerable time is 2 × 1 ms = 2 ms. This means no station should send later than 1 ms before this station starts transmission and no station should start sending during the period (1 ms) that this station is sending. Throughput The throughput for pure ALOHA S = G × e-2G G : the average number of frames generated by the system during one frame transmission time The maximum throughput Smax = 1/(2e) = 0.184 when G = 0.5 Ex. 12.3

Fig. 12.5 Frames in a slotted ALOHA network 12.1 Random Access Slotted ALOHA to reduce vulnerable time Fig. 12.5 Frames in a slotted ALOHA network

Fig. 12.6 Vulnerable time for slotted ALOHA protocol 12.1 Random Access Fig. 12.6 Vulnerable time for slotted ALOHA protocol Throughput The throughput forslotted ALOHA S = G × e-G The maximum throughput Smax = 1/e = 0.368 when G = 1 Ex. 12.4

Fig. 12.7 Space/time model of a collision in CSMA 12.1 Random Access 12.1.2 CSMA carrier sense multiple access to minimize the chance of collision “sense before transmit,” “listen before talk” possibility of collision still exists because of propagation delay Fig. 12.7 Space/time model of a collision in CSMA

Fig. 12.8 Vulnerable time in CSMA 12.1 Random Access Vulnerable time Fig. 12.8 Vulnerable time in CSMA

Fig. 12.9 Behavior of three persistence methods 12.1 Random Access Persistance Methods Fig. 12.9 Behavior of three persistence methods

Fig. 12.10 Flow diagram for three persistence methods 12.1 Random Access Fig. 12.10 Flow diagram for three persistence methods

Fig. 12.11 Collision of the first bits in CSMA/CD 12.1 Random Access 12.1.3 CSMA/CD carrier sense multiple access with collision detection a station monitors the medium after it sends a frame to see if the transmission was successful. If so, the station is finished. If, however, there is a collision, the frame is sent again. Fig. 12.11 Collision of the first bits in CSMA/CD

Fig. 12.12 Collision and abortion ts in CSMA/CD 12.1 Random Access Fig. 12.12 Collision and abortion ts in CSMA/CD Minimum Frame Size minimum frame transmission time Tfr = 2×Tp Ex. 12.5

Fig. 12.13 Flow diagram for the CSMA/CD 12.1 Random Access Procedure Fig. 12.13 Flow diagram for the CSMA/CD

Fig. 12.14 Flow diagram for the CSMA/CD 12.1 Random Access Energy Level Fig. 12.14 Flow diagram for the CSMA/CD Throughput greater than that of pure or slotted ALOHA Traditional Ethernet Ethernet with 10 Mbps

CSMA with collision avoidance 12.1 Random Access 12.1.4 CSMA/CA CSMA with collision avoidance Fig. 2.15: Flow diagram for CSMA/CA

Fig. 2.16: Contention window 12.1 Random Access Interframe Space (IFS) to avoid collision Contention window Fig. 2.16: Contention window

Network Allocation Vector 12.1 Random Access Network Allocation Vector Fig. 2.17 CSMA/CA and NAV

Fig. 12.18 Reservation access method 12.2 Controlled Access 12.2 Controlled Access the stations consult one another to find which station has the right to send. A station cannot send unless it has been authorized by other stations. 12.2.1 Reservation Fig. 12.18 Reservation access method

12.2 Controlled Access 12.2.1 Polling primary station and secondary stations all data exchanges must be made through the primary device primary device controls the link uses SEL and POLL to prevent collisions if the primary station fails, the system goes down

12.2 Controlled Access 12.2.3 Token Passing the stations in a network are organized in a logical ring there is a predecessor and a successor the possession of the token gives the station the right to access the channel and send its data.

12.3 Channelization 12.3 Channelization (or channel partition) is a multiple-access method in which the available bandwidth of a link is shared in time, frequency, or through code, among different stations. 12.3.1 FDMA the available bandwidth is divided into frequency bands. Each station is allocated a band to send its data. to prevent station interferences, the allocated bands are separated by guard bands

Fig. 12.21 Frequency-division multiple access (FDMA) 12.3 Channelization Fig. 12.21 Frequency-division multiple access (FDMA)

12.3 Channelization 12.3.2 TDMA the stations share the bandwidth of the channel in time.

Fig. 12.23 Simple idea of communication with code 12.3 Channelization 12.3.3 CDMA all stations can send data simultaneously Fig. 12.23 Simple idea of communication with code

Fig. 12.25 Data representation in CDMA 12.3 Channelization Fig. 12.24 Chip sequence Fig. 12.25 Data representation in CDMA multiply 2∙[+1 +1 -1 -1] = [+2 +2 -2 -2] inner product [+1 +1 -1 -1]∙[+1 +1 -1 -1] = 1+1+1+1+1=4 [+1 +1 -1 -1]∙[+1 +1 +1 +1] = 1+1+1-1-1=0 adding [+1 +1 -1 -1]+[+1 +1 +1 +1] = [+2 +2 0 0]

Fig. 12.26 Sharing channel in CDMA 12.3 Channelization Fig. 12.26 Sharing channel in CDMA

Fig. 12.27 Digital signal created by four stations in CDMA 12.3 Channelization Fig. 12.27 Digital signal created by four stations in CDMA

Fig. 12.28 Decoding of the composite signal for one in CDMA 12.3 Channelization Fig. 12.28 Decoding of the composite signal for one in CDMA

Fig. 12.29 General rules and examples of creating Walsh tables 12.3 Channelization Fig. 12.29 General rules and examples of creating Walsh tables

12.3 Channelization Ex. 12.6 Find the chips for a network with a. Two stations b. Four stations Ex. 12.7 What is the number of sequences if we have 90 stations in our network?

12.3 Channelization Ex. 12.8 Prove that a receiving station can get the data sent by a specific sender if it multiplies the entire data on the channel by the sender’s chip code and then divides it by the number of stations.

Homework Homework Solve Problems P12-1, P12-3, P12-10, P12-15, P12-25 Read textbook pp. 361-383 Next Lecture Chapter 13. wired LANs: Ethernet