Direct Link Communication II: Wired Media. Multi-Access Communication

Similar documents
Direct Link Communication II: Wired Media. Multi-Access Communication

Media Access Control (MAC) Sub-layer and Ethernet

CSE 461: Multiple Access Networks. This Lecture

Data Link Layer, Part 3 Medium Access Control. Preface

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

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

ECE 4450:427/527 - Computer Networks Spring 2017

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

LAN PROTOCOLS. Beulah A AP/CSE

IEEE 802 LANs SECTION C

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

Data Link Layer, Part 5. Medium Access Control

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

Ethernet. Introduction. CSE 3213 Fall 2011

Computer Networks. Medium Access Sublayer (Part I)

Lecture 4b. Local Area Networks and Bridges

Part3. Local Area Networks (LAN)

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Medium Access Control Sublayer

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

Medium Access Control Sublayer Chapter 4

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

! High Data Rates (0.1 to 1000 Mbps)! Short Distances (0.1 to 25 km) ! Low Error Rate (10 to 10 ) Local Area Networks

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

COMP/ELEC 429/556 Introduction to Computer Networks

Data and Computer Communications

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Redes de Computadores. Medium Access Control

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

Data and Computer Communications. Chapter 11 Local Area Network

More on LANS. LAN Wiring, Interface

The Medium Access Sublayer

CSE 461 Multiple Access. David Wetherall

LAN. CS 4/55231 Internet Engineering. Kent State University Dept. of Computer Science

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

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

Chapter 4: The Medium Access Layer

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

Network Media and Layer 1 Functionality

COS 140: Foundations of Computer Science

Introduction to Computer Networks. IEEE Ethernet

IEEE standards for local area networks

COS 140: Foundations of Computer Science

ET4254 Communications and Networking 1

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

EE 122: Ethernet and

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Lecture 6: Example LAN: Ethernet

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

Local Area Networks (LANs) SMU CSE 5344 /

Links. Error Detection. Link Layer. Multiple access protocols. Nodes Links Frame. Shared channel Problem: collisions How nodes share a channel

EECS 122, Lecture 7. Kevin Fall Jean Walrand

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

Physical and Link Layers. CS144 Review Session 6 November 6 th, 2008 Roger Liao Based on slides by Ben Nham

Chapter 4. The Medium Access Control Sublayer

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

Networking Technologies and Applications

Ethernet. Computer Networks. Lecture 4.

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Ethernet Basics. based on Chapter 4 of CompTIA Network+ Exam Guide, 4 th ed., Mike Meyers

Contention Protocols and Networks

The NIC is the main interface between the computer and the network cable.

Local Area Network Overview

Medium Access Control Sublayer Chapter 4

ECE 4450:427/527 - Computer Networks Spring 2017

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

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

Ethernet. Outline Multiple Access and Ethernet Intro Ethernet Framing CSMA/CD protocol Exponential backoff

Chapter 15 Local Area Network Overview

Local Area Networks. Broadcast Networks. Hugh Melvin, Dept. IT, NUI,G 1. Hugh Melvin, Dept. IT, NUI,G 2. Hugh Melvin, Dept.

Lecture 05 Chapter 16 High Speed LANs

Technically Speaking. James Antonakos

CS 416: Operating Systems Design April 11, 2011

Shared Access Networks. Media Access Protocols. Ethernet (802.3) Ethernet cont...

The random access methods we study in this chapter have evolved from a very interesting protocol known as ALOHA, which used a very simple procedure

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

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

CSC 4900 Computer Networks: The Link Layer

Ethernet. Agenda. Introduction CSMA/CD Elements and Basic Media-Types Repeater, Link Segments Framing. L21 - Ethernet

Protocols for Multiaccess Networks

Chapter 10: Local Area Networks

Origin of IEEE (Ethernet) Ethernet. Agenda. Basic Idea of Ethernet Bus System

Summary of MAC protocols

Principles behind data link layer services

Lectures Ethernet

Physical and Data Link layers

Multiple Access Links and Protocols

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Internet Architecture and Protocol

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Medium Access Control. CSCI370 Lecture 5 Michael Hutt New York Institute of Technology

The Link Layer II: Ethernet

Link Layer and Ethernet

LAN Protocols. Required reading: Forouzan 13.1 to 13.5 Garcia 6.7, 6.8. CSE 3213, Fall 2015 Instructor: N. Vlajic

Transcription:

Direct Link Communication II: Wired Media Multi-Access Communication Two classes: contention-based e.g., CSMA/CD, CSMA/CA used in Ethernet, WLAN contention-free e.g., TDM, FDM, TDMA, CDMA, token ring used in telephony and broadband data networks One more...

also called MAC (medium access control) broadband: FDM, TDMA, CDMA baseband: TDM, multiple access Contention-based MAC for baseband: Time slots are available for grab on-demand TDM Can listen to channel activity... To grab channel slot is to send shoot-first-ask-later (e.g., TV talk shows) If 2 users grab at the same time, slot becomes junk collision Why not just used TDM?

Benefits of contention-based MAC: when not too many users, faster response time don t need to go through registration & reservation phase (TDM) avoids admission control overhead decentralized no central coordinator simple; self-organization Drawbacks of contention-based MAC: when many users, degraded response & throughput collision wastes slots, i.e., bandwidth lack of QoS (quality of service) assurances you get is what you get ; best effort problematic for real-time traffic, e.g., telephony Thus when to use what?

Ethernet and CSMA/CD copper, fiber Types: 10Base2 (ThinNet): coax, segment length 200 m, 30 nodes/segment 10Base5 (ThickNet): coax, segment length 500 m, 100 nodes/segment 10Base-T: twisted pair, segment length 100 m, 1024 nodes/segment 100Base-T (Fast Ethernet): category 5 UTP, fiber (also 100VG-AnyLAN) Gigabit & 10 Gbps Ethernet: fiber, category 5 UTP

Connectivity example: NIC NIC 1 2 BNC, DB-15 RJ-45 10Base-T coax cable transceiver (MAU) HUB 10Base2, 10Base5 category 3, 5 UTP single-homed vs. multi-homed unique Ethernet address per NIC physical network: bus vs. hub vs. switch very old vs. old vs. not-so-old

hub: multi-tap junction bus and hub: logically equivalent Wire segments can be hooked up by repeaters, bridges, hubs or switches. maximum of 2 (4 for IEEE 802.3) repeaters between two hosts; 1500 m for Fast Ethernet, 2 repeater hops High-speed Ethernets have shorter network diameter about 2500 m for 10 Mbps Ethernet about 200 m for 100 Mbps Ethernet even shorter for 1 Gbps Ethernet additional complications for medium-haul

DIX Ethernet frame: 8 6 6 2 46-1500 4 1 preamble source address dest. address body CRC type postamble IEEE 802.3 Ethernet frame: 8 6 6 2 46-1500 4 1 preamble source address dest. address body CRC length 8 postamble LLC header IEEE 802.2 LLC (Logical Link Control) common interface to different link protocols

Encoding: Manchester recall: Ethernet is baseband Addressing: 48 bit unique address point-to-point broadcast (all 1 s) Receiver: Ethernet adaptor accepts frames with relevant address. accepts only own frame address accepts all frames: promiscuous mode NIC feature sniffing

CSMA/CD MAC: CS (Carrier Sense): can detect if some other node is using the link rule: if busy, abstein MA (Multiple Access): multiple nodes are allowed simultaneous access rule: if channel seems silent, send CD (Collision Detection): can detect if collision due to simultaneous access has occured rule: if collision, retry later Wired vs. wireless media: CD is key difference diffcult to detect collision while transmitting

Signal propagation and collision: Bi-directional propagation terminator absorbs signal: prevent bounce back terminator Best-case collision: 2 stations meet in the middle worst-case? collision

Worst-case collision scenario: τ: one-way propagation delay sender needs to wait 2τ sec before detecting collision for 2500 m length, 51.2 µs round-trip time (2τ) fact enforce 51.2 µs slot time at 10 Mbps, 512 bits; i.e., minimum frame size assures collision detection

Transmit at least 512 bits 6+6+2+46+4=64B=512bits note: delay-bandwidth product Retry upon collision: exponential backoff 1. Wait for random 0 X 51.2 µs before first retry 2. On i th collision, wait for 0 X 2 i 1 51.2 µs before next attempt 3. Give up if i>16 a form of stop-and-wait what s the ACK? guaranteed reliability? pretty drastic measure: necessary?