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

Similar documents
Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

Link Layer: Introduction. Chapter 5 Link Layer & LANS. Link layer: context. Link Layer Services

Link Layer: Introduction. Chapter 5 Link Layer & LANS. Link layer: context. Link Layer Services

Master Course Computer Networks IN2097

The Link Layer and LANs: Ethernet and Swiches

Announcements. CS 5565 Network Architecture and Protocols. Ethernet. Ethernet. Ethernet Model. Ideal Multiple Access Protocol

Chapter V: Link Layer

Master Course Computer Networks IN2097

Redes de Computadores. Medium Access Control

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

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

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

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

Chapter V: Link Layer

Chapter 5 Link Layer and LANs

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

Module 10 Data Link Layer CS655! 10-1!

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

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Link Layer and LANs. Our Goals. Link Layer

Chapter 6: Link layer and LANs. Link layer, LANs: outline. Link layer: introduction. Link layer: context. Link layer services (more)

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

Principles behind data link layer services

Medium Access Control

CSC 4900 Computer Networks: Link Layer (2)

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

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

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

Summary of MAC protocols

Chapter 4. DataLink Layer. Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Link Layer: Introduction. Chapter 5 Link Layer & LANS. Link layer: context. Link Layer Services

Broadcast Links, Addressing and Media Access Control. Link Layer B. Link and Physical Layers. MAC Addresses

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

Medium Access Protocols

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

transferring datagram from one node data-link layer has responsibility of to adjacent node over a link 5-1 TDTS06 Computer networks

ECE 4450:427/527 - Computer Networks Spring 2017

Link Layer and Ethernet

Chapter 5: DataLink Layer

Chapter 5 Link Layer and LANs

Chapter 5 Link Layer and LANs

CS 455/555 Intro to Networks and Communications. Link Layer Addressing, Ethernet, and a Day in the Life of a Web Request

Link Layer and Ethernet

Principles behind data link layer services:

CSCI Computer Networks Fall 2016

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

Principles behind data link layer services:

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

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

CSCI Computer Networks Spring 2017

Chapter 5: Link layer

Discussions. What are the main service. Ch06 Link Layer. The Data Link Layer. Link Layer. Link Layer: Teminology. What are the services

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

CSC 8560 Computer Networks: Link Layer

Multiple Access Links and Protocols

Module 4 Data Link Layer CS655! 4-1!

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

COS 140: Foundations of Computer Science

EE 122: Ethernet and

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

Principles behind data link layer services:

COS 140: Foundations of Computer Science

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

CC451 Computer Networks

CSMA/CD (Collision Detection)

Chapter 5 Link Layer. Link Layer 5-1

Chapter 5 Data Link Layer

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

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

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

Link layer, LANs: outline. Chapter 5-2 Link Layer. MAC addresses (more) MAC addresses

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

Chapter 5 Data Link Layer

Chapter 5: The Data Link Layer

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

MULTIPLE ACCESS PROTOCOLS 2. 1

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Data Link Layer: Multi Access Protocols

ECE 4450:427/527 - Computer Networks Spring 2017

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

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

Chapter 5: Link layer

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

CSC 4900 Computer Networks: The Link Layer

Lecture 6 - Link layer. Lecture 5 Review. Link Layer. Introduction, Services. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Chapter 6 The Link Layer and LANs

Chapter 6 The Link Layer and LANs

Chapter 6 The Link Layer and LANs

CSC 401 Data and Computer Communications Networks

Chapter 6 The Link Layer and LANs

Link Layer and LANs. CMPS 4750/6750: Computer Networks

Chapter 6 The Data Link layer

Chapter 5 Link Layer and LANs

Contention Protocols and Networks

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

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

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Chapter 6 The Link Layer and LANs

Transcription:

Link Layer Error Detection Nodes Links Frame R yclic Redundancy hecksum Parity its More about this in exercise! Data Link Layer -1 Data Link Layer -2 Links Two types of links : point-to-point broadcast (shared medium) old-fashioned Ethernet WLN Multiple access protocols Shared channel Problem: collisions How nodes share a channel shared wire (e.g., cabled Ethernet) shared RF (e.g., 802.11 WiFi) shared RF (satellite) humans at a cocktail party (shared air, acoustical) Data Link Layer -3 Data Link Layer - M Protocols hannel Partitioning divide channel into smaller pieces Random ccess channel not divided, allow collisions Taking turns nodes take turns, but nodes with more to send can take longer turns hannel Partitioning M protocols: TDM TDM: time division multiple access each station gets slot 6-slot frame 1 3 1 3 Data Link Layer - Data Link Layer -6 1

frequency bands hannel Partitioning M protocols: FDM FDM: frequency division multiple access FDM cable Random ccess Protocols No coordination Sender uses all capacity ollisions may occur Random access M protocol specifies: how to detect collisions how to recover from collisions Data Link Layer -7 Data Link Layer -8 Slotted LOH Pure (unslotted) LOH Simpler, no synchronization When frame arrives: send at once Pros single active node can transmit at full rate highly decentralized simple ons collisions, wasting slots idle slots clock synchronization Data Link Layer -9 Data Link Layer -10 SM (arrier Sense Multiple ccess) SM collisions Listen before sending: If idle: send frame If busy, send later Data Link Layer -11 Data Link Layer -12 2

SM/D (ollision Detection) SM/D collision detection collisions detected within short time colliding transmissions aborted ompare transmitted and received signal Easy for wires Difficult for radio Data Link Layer -13 Data Link Layer -1 Taking Turns M protocols Taking Turns M protocols Polling: master node T typically used with dumb slave devices problems: overhead latency single point of failure (master) slaves poll master Token passed Data Link Layer -1 Data Link Layer -16 LN ddresses and RP Ethernet 1-2F--76-09-D roadcast address = FF-FF-FF-FF-FF-FF cheap $20 for network interface card first widely used LN technology simpler, cheaper than token LNs and TM kept up with speed race: 10 Mbps 10 Gbps LN (wired or wireless) 71-6-F7-2-08-3 8-23-D7-F-20-0 Metcalfe s Ethernet sketch 0--11-6F-E3-98 Data Link Layer -17 Data Link Layer -18 3

Star topology bus topology popular through mid 90s today: star topology prevails Ethernet Frame Structure (more) Preamble: pattern used to clock rates ddresses: 6 bytes Type: indicates higher layer protocol (mostly IP) R: if error, frame is dropped switch bus: coaxial cable star Data Link Layer -19 Data Link Layer -20 Ethernet: Unreliable, connectionless onnectionless: No handshaking Unreliable: no acks or nacks to sender Ethernet uses SM/D Ethernet SM/D algorithm 1. If channel idle, start transmission If channel busy, wait until channel idle, then transmit 2. If entire frame sent without detecting another transmission or jam signal, finished! Otherwise, go to 3. 3. If collision detected, abort and send jam signal. fter aborting, NI enters exponential backoff: after m:th collision, NI chooses K at random from {0,1,2,,2 m -1}. NI waits K 12 bit times, returns to Step 1 Data Link Layer -21 Data Link Layer -22 Manchester encoding Hubs Dumb repeaters: bits coming go out to all other links all nodes connected to hub can collide with one another no SM/D at hub: host NIs detect collisions twisted pair hub Data Link Layer -23 Data Link Layer -2

Switch: allows multiple simultaneous transmissions hosts have dedicated, direct connection to switch switches buffer packets Ethernet protocol used on each incoming link, but no collisions; full duplex each link is its own collision domain switching: -to- and - to- simultaneously, without collisions not possible with dumb hub 6 1 2 3 switch with six interfaces (1,2,3,,,6) Switch: self-learning switch learns where hosts are M addr interface TTL 1 60 6 1 2 3 Source: Dest: Data Link Layer -2 Data Link Layer -26 Interconnecting switches switches can be connected together S S 1 S 2 D E F G S 3 H I Data Link Layer -27