CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 15 Introduction to Computer Networks.

Slides:



Advertisements
Similar presentations
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 14 Introduction to Computer Networks.
Advertisements

EECC694 - Shaaban #1 lec #5 Spring Data Link In Broadcast Networks: The Media Access Sublayer Broadcast networks with multi-access (or random.
LAN Protocol Architecture
LECTURE 11 CT1303 LAN. DYNAMIC MAC PROTOCOL No fixed assignment for transmission media or any network resources.. It allows transmission when needed.
1 ELEN602 Lecture 10 Review of last lecture –M/G/1 and M/D/1 Results Multi-access Networks Medium Access Control –ALOHA –Slotted ALOHA.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
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.
CMPE 150 – Winter 2009 Lecture 8 January 29, 2009 P.E. Mantey.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 4 Introduction to Networks and the Internet.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 17 Introduction to Computer Networks.
The Data Link Layer Read Chapters 3 and 4. CSC 3352 Computer Communications Chapter 3&42 Where in the OSI Reference Model ? Session Transport Network.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 10 Introduction to Networks and the Internet.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 9 Introduction to Networks and the Internet.
Midterm Review 1 Introduction –Basic terminology and concepts. Physical Layer –Time and frequency domains. –Bandwidth and data rate. –Analog and digital.
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 – Winter 2009 Lecture 7 January 27, 2009 P.E. Mantey.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 18 Introduction to Computer Networks.
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.
Medium Access Control Sublayer
Lecture 16 Random Access protocols r A node transmits at random at full channel data rate R. r If two or more nodes “collide”, they retransmit at random.
Shashank Srivastava Motilal Nehru National Institute Of Technology, Allahabad Medium Access Control.
1 ECE453 – Introduction to Computer Networks Lecture 7 – Multiple Access Control (I)
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.
CIS 725 Media Access Layer. Medium Access Control Sublayer MAC sublayer resides between physical and data link layer Broadcast/multiacess channels N independent.
: Data Communication and Computer Networks
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 12 Multiple Access Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
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
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 16.
Medium Access Control NWEN302 Computer Network Design.
CSCI 465 D ata Communications and Networks Lecture 19 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Layer 2 Technologies At layer 2 we create and transmit frames over communications channels Format of frames and layer 2 transmission protocols are dependent.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Medium Access Control Sublayer Chapter.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
Medium Access Control Sub Layer
Data Communications, Kwangwoon University12-1 Chapter 12. Multiple Access 1.Random Access 2.Controlled Access 3.Channelization.
1 Physical and Data Link Layer Computer Network System Sirak Kaewjamnong.
1 Chap. 4 Data link layer 3. 2 MAC(medium access control) model MAC  If two nodes are transmitted simultaneously, collision of two frames is occurred.
Lecture 3 Applications of TDM ( T & E Lines ) & Statistical TDM.
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.
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
5: DataLink Layer5a-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction.
Data Link Protocols Relates to Lab 2.
THE MEDIUM ACCESS CONTROL SUBLAYER 4.1 THE CHANNEL ALLOCATION PROBLEM 4.2 MULTIPLE ACCESS PROTOCOLS.
© 2007 – 2010, Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.1 Chapter 4 1 Chapter 3: Point-to- Point Connections Connecting Networks.
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.
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
2. Data Link Layer: Medium Access Control. Scheduling.
4.1 THE CHANNEL ALLOCATION PROBLEM THE CHANNEL ALLOCATION PROBLEM : how to allocate a single broadcast channel among competing users. The channel might.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Example DLL Protocols 1. High-Level Data Link Control (HDLC).
Week3 The Medium Access Sublayer
MEDIUM ACCESS CONTROL PROTOCOL
CT301 LECTURE 8.
Channel Allocation (MAC)
Subject Name: Computer Communication Networks Subject Code: 10EC71
Net301 lecture9 11/5/2015 Lect 9 NET301.
Communication Networks NETW 501
The Medium Access Control Sublayer
Link Layer and LANs Not everyone is meant to make a difference. But for me, the choice to lead an ordinary life is no longer an option 5: DataLink Layer.
7- chapter Seven Local Area Networks (LAN)
Multiple Access Control (MAC) Protocols
Presentation transcript:

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 15 Introduction to Computer Networks

CMPE 150- Introduction to Computer Networks 2 Announcements Midterm moved to –In class, closed books/notes. Homework 3 is up. –Due on 11,07.05.

CMPE 150- Introduction to Computer Networks 3 Today MAC.

CMPE 150- Introduction to Computer Networks 4 Example DLL Protocols

CMPE 150- Introduction to Computer Networks 5 Example DLL Protocols High-Level Data Link Control (HDLC). Point-to-Point Protocol (PPP).

CMPE 150- Introduction to Computer Networks 6 HDLC Flag Identifies host. ACK, seq. # CRC ISO standard.

CMPE 150- Introduction to Computer Networks 7 PPP Internet’s DLL. Router-to-router. Home user-to-ISP. RFC 1661, etc. PPP is a multi-protocol framing mechanism that can be used over multiple PHYs (dial-up, dedicated point-to-point connections).

CMPE 150- Introduction to Computer Networks 8 The Data Link Layer in the Internet

CMPE 150- Introduction to Computer Networks 9 PPP Frame Default value; no need for addresses. Default value: unumbered frame; No reXmissions. Type of protocol in the payload

CMPE 150- Introduction to Computer Networks 10 Medium Access Control MAC. Tanenbaum, Chapter 4.

CMPE 150- Introduction to Computer Networks 11 Why MAC? Point-to-point versus shared-medium networks. Shared-medium networks use “broadcast” channels. –A.k.a. multi-access or random access channels. MAC layer protocols regulate access to medium in shared-medium networks.

CMPE 150- Introduction to Computer Networks 12 Where is the MAC Sub-Layer? MAC

CMPE 150- Introduction to Computer Networks 13 Where is the MAC Sub-Layer? MAC PHY DLL Link Control Network Transport Application

CMPE 150- Introduction to Computer Networks 14 MAC and LANs LANs typically use shared-medium. Examples? MAC layer critical! –BTW, in wireless networks also! WANs typically use point-to-point connections.

CMPE 150- Introduction to Computer Networks 15 Channel Allocation Problem How to allocate single shared, broadcast channel among several stations/users. If no arbitration, several stations/users may transmit at the same time: COLLISIONS! A.k.a., “floor control”.

CMPE 150- Introduction to Computer Networks 16 Multiplexing Sharing a link/channel among multiple source- destination pairs. Example: high-capacity long-distance trunks (fiber, microwave links) carry multiple connections at the same time. MUX... DEMUX...

CMPE 150- Introduction to Computer Networks 17 Multiplexing Techniques 3 basic types: –Frequency-Division Multiplexing (FDM). –Time-Division Multiplexing (TDM). –Statistical Time-Division Multiplexing (STDM). Static Dynamic

CMPE 150- Introduction to Computer Networks 18 FDM

CMPE 150- Introduction to Computer Networks 19 FDM Simple. But: –What if number of users is large? –What if number of users changes over time? –What if traffic is bursty?

CMPE 150- Introduction to Computer Networks 20 TDM

CMPE 150- Introduction to Computer Networks 21 TDM (Cont’d) Time divided into time slots. One or more slots assigned to a data source. But, also inefficient… 12N N frame Time U1U1 U2U2...UNUN

CMPE 150- Introduction to Computer Networks 22 Dynamic Multiplexing Dynamic allocation. In particular, statistical TDM. –Dynamically allocates time slots on demand. Increased channel utilization. But…

CMPE 150- Introduction to Computer Networks 23 Multiple Access Protocols Centralized approaches: –Controller grants access to medium. –Simple, greater control: priorities, QoS. –But, single point of failure and performance bottleneck. Decentralized schemes: –All stations collectively run MAC to decide when to transmit.

CMPE 150- Introduction to Computer Networks 24 Round-Robin MAC Each station is allowed to transmit; station may decline or transmit (bounded by some maximum transmit time). Centralized (e.g., polling) or distributed (e.g., token ring) control of who is next to transmit. When done, station relinquishes and right to transmit goes to next station. Efficient when many stations have data to transmit over extended period (stream).

CMPE 150- Introduction to Computer Networks 25 Scheduled-Access MAC Time divided into slots. Station reserves slots in the future. Multiple slots for extended transmissions. Suited to stream traffic.

CMPE 150- Introduction to Computer Networks 26 Contention-Based MAC No control. Stations try to acquire the medium. Distributed in nature. Perform well for bursty traffic. Can get very inefficient under heavy load.

CMPE 150- Introduction to Computer Networks 27 Contention-Based MACs ALOHA family. CSMA family.

CMPE 150- Introduction to Computer Networks 28 Pure ALOHA In pure ALOHA, frames are transmitted at completely arbitrary times.

CMPE 150- Introduction to Computer Networks 29 Pure ALOHA: Performance Vulnerable period for the shaded frame.

CMPE 150- Introduction to Computer Networks 30 Pure ALOHA Throughput versus offered traffic for ALOHA systems.