Local area networks. Copyright

Similar documents
COMPUTER NETWORKS - Local area networks

IEEE standards for local area networks

LAN interconnection. Telecommunication Networks Group

Data link layer (layer 2)

Multiple Access Protocols

COS 140: Foundations of Computer Science

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

EE 122: Ethernet and

Redes de Computadores. Medium Access Control

COMPUTER NETWORKS - Window protocols

COMPUTER NETWORKS - Window protocols

Chapter 6 Medium Access Control Protocols and Local Area Networks

Lecture 8 The Data Link Layer part I. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

ECE 4450:427/527 - Computer Networks Spring 2017

COS 140: Foundations of Computer Science

ECEN 5032 Data Networks Medium Access Control Sublayer

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

LAN PROTOCOLS. Beulah A AP/CSE

AP Management and Handover support (802.11f)

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CSE 461: Multiple Access Networks. This Lecture

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

Multiple Access Links and Protocols

Random Access. 1. Aloha. 2. Slotted Aloha 3. CSMA 4. CSMA/CD

CHAPTER 7 MAC LAYER PROTOCOLS. Dr. Bhargavi Goswami Associate Professor & Head Department of Computer Science Garden City College

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Multimedia Communication Services Traffic Modeling and Streaming

Physical Layer. Medium Access Links and Protocols. Point-to-Point protocols. Modems: Signaling. Modems Signaling. Srinidhi Varadarajan

Data Link Layer -2- Network Access

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Data and Computer Communications

Introduction to LAN Protocols

The Link Layer and LANs. Chapter 6: Link layer and LANs

Data Link Layer -2- Network Access

Multiple Access. Data Communications and Networking

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

CSE 461: Multiple Access. Homework: Chapter 2, problems 1, 8, 12, 18, 23, 24, 35, 43, 46, and 58

1-1. Switching Networks (Fall 2010) EE 586 Communication and. November 8, Lecture 30

Introduction to Omnet++

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Data Link Layer, Part 5. Medium Access Control

Chapter 6 Medium Access Control Protocols and Local Area Networks

Multiple Access (1) Required reading: Garcia 6.1, 6.2.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

Chapter 12 Multiple Access 12.1

CS 455/555 Intro to Networks and Communications. Link Layer

Aloha and slotted aloha

Ethernet. Introduction. CSE 3213 Fall 2011

CS 123: Lecture 12, LANs, and Ethernet. George Varghese. October 24, 2006

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

COMP476 Networked Computer Systems. Polling. Sharing the Wire. LAN Technologies. COMP476 Networked Computer Systems 1

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Jaringan Komputer. Broadcast Network. Outline. MAC (Medium Access Control) Channel Allocation Problem. Dynamic Channel Allocation

Data and Computer Communications. Chapter 11 Local Area Network

COMP/ELEC 429/556 Introduction to Computer Networks

CS 716: Introduction to communication networks. - 9 th class; 19 th Aug Instructor: Sridhar Iyer IIT Bombay

CSE 461 Multiple Access. David Wetherall

Chapter 5: Link layer

Link layer, LANs: outline. Chapter 5-1 Link Layer. Link layer: introduction. Link layer services

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

Local Area Networks (LANs) SMU CSE 5344 /

Chapter 5 Link Layer and LANs

Chapter 5 Link Layer and LANs

LANs Local Area Networks LANs provide an efficient network solution : To support a large number of stations Over moderately high speed

CSMA/CD (Collision Detection)

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

CSE/EE 461 Wireless and Contention-Free Protocols

Link Layer and Ethernet

Contention Protocols and Networks

Chapter 1 Basic concepts of wireless data networks (cont d)

Link Layer and Ethernet

Data Link Layer, Part 3 Medium Access Control. Preface

Access Technologies! Fabio Martignon

Lecture 05 Chapter 16 High Speed LANs

Wireless Communications

Computer Networks Principles LAN - Ethernet

Data Link Layer: Overview, operations

Data Link Layer: Multi Access Protocols

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

MAC Sublayer(1) Principal service of the Medium Access Control Sublayer: Allocating a single broadcast channel (mostly a LAN) among competing users

Introduction to LAN Protocols

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

ECE453 Introduction to Computer Networks. Broadcast vs. PPP. Delay. Lecture 7 Multiple Access Control (I)

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CSC 4900 Computer Networks: The Link Layer

The Medium Access Control Scheme (MAC Layer) Reference: Andrew S. Tanenbaum, Computer Networks, 3rd Edition, Prentice Hall, 1996.

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Link Layer: Retransmissions

Lecture 8 Link Layer: functionality, error detection, media access algorithm

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Review of fundamentals networking concepts

Medium Access Protocols

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Transcription:

Local area networks Telecommunication Networks Group firstname.lastname@polito.it http://www.telematica.polito.it/ COMPUTER NETWORKS LANs - 1 Copyright Quest opera è protetta dalla licenza Creative Commons NoDerivs-NonCommercial. Per vedere una copia di questa licenza, consultare http://creativecommons.org/licenses/nd-nc/1.0/ oppure inviare una lettera a: Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. This work is licensed under the Creative Commons NoDerivs-NonCommercial License. To view a copy of this license, visit: http://creativecommons.org/licenses/nd-nc/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. COMPUTER NETWORKS LANs - 2 Pag. 1

LANs Small geographical extension Shared transmission medium (originally) only one node can transmit at a time Multiple access problem Motivation: bursty traffic Dedicated channel would be wasted When sending, each node would like a high tx speed Useful for broadcast-multicast transmission Need to use address to identify node for unicast traffic Many topologies bus,ring, star COMPUTER NETWORKS LANs - 3 Multiplexing and multiple access (recap) Problem: channel sharing Multiplexing: centralized All flows available in a single access point to the channel router, antenna point to point radio link, satellite, base station in a cellular network Multiple access: distributed Flows access the channel using different transmitters LANs, mobile terminal in a cellular network, earth stations in a satellite network, COMPUTER NETWORKS LANs - 4 Pag. 2

Multiple access in LANs Static channel division Fixed assignement of portion of channels Time Division Frequency Division Code Division Not suited to bursty traffic (N queues and servers at speed C are worse that 1 queue and server at speed NC) Could extend to a dynamic assignment scenario Suppose a centralized controller Need to collect node tx needs (according to which access scheme?) Need to send allocation decision to nodes (according to which access scheme?) Complexity and increase in delay Solution: rely on distributed, access protocols Goal: to emulate statistical multiplexing COMPUTER NETWORKS LANs - 5 Multiple access protocols Multiple access protocols inspired by human behaviour Examples: Moderator gives permissions Reservation (rising hands to make it) Free access Free access, but polite (do not talk if somebody else is speaking) Cyclic passing a permission to talk COMPUTER NETWORKS LANs - 6 Pag. 3

LAN access protocols: taxonomy Three main families: Random access (CSMA/CD, Ethernet) Ordered access (Token Ring, Token Bus, FDDI) Slotted access, with reservation (DQDB) How to evaluate LAN access protocols performance Throughput Fairness Access delay Number of nodes, network size, reliability, ease of deployment COMPUTER NETWORKS LANs - 7 Random access protocols Free access Each node send at the channel speed R No coordination among nodes If two concurrent transmissions collision MAC (Medium Access Control) random access protocols specify: How to detect a collision How to recover after a collision has been detected Basic idea: random transmission. If collision is detected, retransmit after a random delay COMPUTER NETWORKS LANs - 8 Pag. 4

Slotted Aloha Time organized in slot (all nodes synchronized on the same slot) All nodes start packet transmission at the beginning of the slot If a collision occurs, data are re-transmitted with probability p in the next slot (or after a random number of slots) Success (S), Collision (C), Empty (E) slots COMPUTER NETWORKS LANs - 9 ALOHA Simpler than Slotted Aloha, Synchronization not needed When a packet becomes available, nodes attempt transmission Higher collision probability Yellow packet collides with other packets transmitted in the interval [t0-1, t0+1] COMPUTER NETWORKS LANs - 10 Pag. 5

Performance (infinite users) v COMPUTER NETWORKS LANs - 11 Simple protocols Observations Low throughput due to collisions For uniformly generated Poisson traffic and infinite users capacity 18% (ALOHA) or 37% (SLOTTED ALOHA) It depends on the type of traffic! Unstable protocols At low load, small access delay It is not possible to control access delays a priori No support for priorities Throughput improvments not difficult to be obtained COMPUTER NETWORKS LANs - 12 Pag. 6

CSMA: Carrier Sense Multiple Access Sense the channel before transmission If the channel is sensed free, transmit a packet If the channel is busy, defer transmission to avoid collision 1-persistent CSMA: retry transmission as soon as channel sensed free 0-persistent CSMA : retry transmission after a random time p-persistent CSMA: with p behave as 1-persistent, with probability (1-p) behave as 0-persistent COMPUTER NETWORKS LANs - 13 Collisons occur due to propagation delay If a collision occurs, a full packet transmission time is wasted The propagation delay (distance) plays a fundamental role in collision probability Vulnerability period depends on propagation delay CSMA: collisions? COMPUTER NETWORKS LANs - 14 Pag. 7

CSMA/CD (Collision Detection) CSMA/CD adds to CSMA If a collision is (quickly) detected, packet transmission is suspended Reduce the waste due to useless transmission Collision detection: Compare the tx signal with the rx signal Easy in wired LANs Almost impossible in wireless LANs: half duplex (when tx the rx is disbled) COMPUTER NETWORKS LANs - 15 CSMA/CD collision detection COMPUTER NETWORKS LANs - 16 Pag. 8

CSMA/CD: performance Throughput performance strongly depend on the end to end propagation delay More precisely, on the ratio between packet transmission time and the propagation delay Very good throughput performance on small size networks (with respect to packet size) and with relatively small transmission speed Large packets, much larger than network size! Constraint on the minimum packet size to detect collisions (a node must transmit when detecting a collision) COMPUTER NETWORKS LANs - 17 CSMA/CD: performance 1 persistent is preferred for the better performance at low load Networks must run at low loads! Reduced access delay Collision cost not too high in small size networks Unstable Exponential backoff on retransmission Difficult to separate traffic on a priority basis Adopted in Ethernet networks COMPUTER NETWORKS LANs - 18 Pag. 9

Random access protocols performance COMPUTER NETWORKS LANs - 19 Pag. 10