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

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

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

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

CSC 4900 Computer Networks: Link Layer (2)

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

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

The Link Layer and LANs: Ethernet and Swiches

Principles behind data link layer services

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

Link Layer and LANs. Our Goals. Link Layer

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

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

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

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

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

Principles behind data link layer services:

Principles behind data link layer services:

Summary of MAC protocols

Medium Access Protocols

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

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

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

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

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

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

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

Master Course Computer Networks IN2097

Chapter 5 Link Layer and LANs

Chapter 5 part 2 LINK LAYER. Computer Networks Timothy Roscoe Summer Networks & Operating Systems Computer Networks

Master Course Computer Networks IN2097

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

The Link Layer II: Ethernet

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

Link Layer: CSMA/CD, MAC addresses, ARP

Principles behind data link layer services:

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

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

Computer Networks Principles LAN - Ethernet

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

EE 122: Ethernet and

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

Chapter V: Link Layer

Link Layer Review. CS244A Winter 2008 March 7, 2008 Ben Nham

Link Layer and Ethernet

Link Layer and Ethernet

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CSC 8560 Computer Networks: Link Layer

CS 421: COMPUTER NETWORKS SPRING FINAL May 8, minutes

LAN Interconnection and Other Link Layer Protocols

Chapter 5 Data Link Layer

Chapter V: Link Layer

Chapter 5 Data Link Layer

CSMA/CD (Collision Detection)

Medium Access Control

Chapter 5: DataLink Layer

CS 3516: Advanced Computer Networks

Module 10 Data Link Layer CS655! 10-1!

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

Chapter 3 Part 2 Switching and Bridging. Networking CS 3470, Section 1

Chapter 5 Link Layer and LANs

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

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

CSCI Computer Networks Spring 2017

CSCI Computer Networks Fall 2016

Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

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

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 6 Connecting Device

Link layer: introduction

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

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

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

7010INT Data Communications Lecture 7 The Network Layer

Redes de Computadores. Medium Access Control

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

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

Computer Networks. Wenzhong Li. Nanjing University

CSCD 330 Network Programming Spring 2017

INTRODUCTION, SERVICES. Data-link layer has responsibility of transferring datagram from one node to physically adjacent node over a link

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

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

Chapter 5: Link layer

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

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

CSCD 330 Network Programming Winter 2016

Hubs, Bridges, and Switches (oh my) Hubs

ECE 4450:427/527 - Computer Networks Spring 2017

Lecture 6: Bridging & Switching. Last time. Today. CSE 123: Computer Networks Chris Kanich. How do multiple hosts share a single channel?

Underlying Technologies -Continued-

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

LINK LAYER AND LANS 1

Link Layer. 5.1 Introduction and services 5.2 Error detection and correction 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.

Local Area Network. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7. Review of Lecture 7.

Local Area Network Overview

Introduction to Computer Networks. IEEE Ethernet

CSE/EE 461 Lecture 7 Bridging LANs. Last Two Times. This Time -- Switching (a.k.a. Bridging)

Chapter 5: The Data Link Layer

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

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

Transcription:

nnouncements CS 5565 Network rchitecture and Protocols Lecture 4 odmar ack Project due in parts: pr 5 and May xtra Credit Opportunities: xpand simulator (and your implementation) to introduce multiple link failures and link resurrection thernet thernet dominant wired LN technology: cheap <$0 for 00Mbps! first widely used LN technology standardized in 80.3 series of I standards simpler, cheaper than token LNs and TM kept up with speed race: 0 Mbps 0 bps Metcalfe s thernet sketch 4 thernet Model Connectionless: No handshaking between sending and receiving adapter Unreliable: No acks (or nacks) higher-level protocols must compensate, but low R (bit error rate) CSM/CD: no slots random access protocol 5 Ideal Multiple ccess Protocol roadcast channel of rate R bps. When one node wants to transmit, it can send at rate R.. When M nodes want to transmit, each can send at average rate R/M 3. Fully decentralized: no special node to coordinate transmissions no synchronization of clocks, slots 4. Simple 6

MC Protocols: a taxonomy MC Media ccess Control Three broad classes: Channel Partitioning divide channel into smaller pieces (time slots, frequency, code) allocate piece to node for exclusive use Random ccess channel not divided, allow collisions recover from collisions Taking turns Nodes take turns, but nodes with more to send can take longer turns Star Topology us topology popular through mid 90s Now star topology prevails Connection choices: or Hubs rarely used nowadays or 7 8 thernet Frame Structure Sending adapter encapsulates IP datagram (or other network layer protocol packet) in thernet frame 7 6 6 ----------- 4 <05DC 80.3 Length 0800 IP 0806 RP 809 ppletalk Preamble: 7 bytes with pattern 0000 followed by one byte with pattern 000 used to synchronize receiver, sender clock rates 9 thernet CSM/CD algorithm. daptor receives datagram from net layer & creates frame. If adapter senses channel idle, it starts to transmit frame. If it senses channel busy, waits until channel idle and then transmits 3. If adapter transmits entire frame without detecting another transmission, the adapter is done with frame! 4. If adapter detects another transmission while transmitting, aborts and sends jam signal 5. fter aborting, adapter enters exponential backoff: after the mth collision, adapter chooses a K at random from {0,,,, m -}. dapter waits K 5 bit times and returns to Step 0 thernet s CSM/CD (more) Jam Signal: make sure all other transmitters are aware of collision; 48 bits it time:. microsec for 0 Mbps thernet ; for K=03, wait time is about 50 msec See/interact with Java applet on WL Web site: highly recommended! xponential ackoff: oal: adapt retransmission attempts to estimated current load heavy load: random wait will be longer first collision: choose K from {0,}; delay is K 5 bit transmission times after second collision: choose K from {0,,,3} after ten collisions, choose K from {0,,,3,4,,03} CSM/CD efficiency t prop = max prop between nodes in LN t trans = time to transmit max-size frame efficiency 5t / prop t trans fficiency goes to as t prop goes to 0 oes to as t trans goes to infinity Much better than LOH, but still decentralized, simple, and cheap

fficiency of 0Mbps thernet thernet Physical Layer ackoff slot times is 5-bit N: does not imply CSM/CD thernet is slotted 3 4 Manchester ncoding Used in 0aseT ach bit has a transition llows clocks in sending and receiving nodes to synchronize with each other no need for a centralized, global clock among nodes! 5 Fast thernet: 00aseT 45 it ncoding MLT-3 (Multi-Level Threshold) Source: http://de.wikipedia.org 0000 0 000 000 000 000 00 00 000 000 00 00 00 00 0 0 000 000 00 00 00 00 0 0 00 00 0 0 0 00 0 6 igabit thernet uses standard thernet frame format allows for point-to-point links and shared broadcast channels in shared mode, CSM/CD is used; short distances between nodes required for efficiency supports s, called here uffered Distributors Though you wouldn t use them full-duplex at bps for point-to-point links 000aseT: 80 coding with 5 signal levels See IOL page for more information Hubs Hubs are essentially physical-layer repeaters: bits coming from one link go out all other links at the same rate no frame buffering no CSM/CD at : adapters detect collisions provides net management functionality Single collision domain 7 8 3

Interconnecting LNs Hypothetical design: backbone interconnects LN segments Disadvantage: individual segment collision domains become one large collision domain can t interconnect 0aseT & 00aseT Switches Link layer device stores and forwards thernet frames examines frame header and selectively forwards frame based on MC dest address when frame is to be forwarded on segment, uses CSM/CD to access segment transparent hosts are unaware of presence of es plug-and-play, self-learning es do not need to be configured 9 0 Forwarding 3 How do determine onto which LN segment to forward frame? Looks like a routing problem... N: Switches are called bridges if #interfaces == has a table Self Learning entry in table: (MC ddress, Interface, Time Stamp) stale entries in table dropped (TTL can be 60 min) learns which hosts can be reached through which interface when frame received, learns location of sender: incoming LN segment records sender/location pair in table Switch xample Suppose C sends frame to D Switch xample () Suppose D replies back with frame to C. 3 address interface I D F C H Switch receives frame from C notes in bridge table that C is on interface because D is not in table, forwards frame into interfaces and 3 frame received by D 3 3 C D Switch receives frame from from D notes in bridge table that D is on interface because C is in table, forwards frame only to interface frame received by C F 4 H address interface I C 3 4

Switch: Traffic Isolation installation breaks subnet into LN segments filters packets: same-ln-segment frames not usually forwarded onto other LN segments segments become separate collision domains Nowadays: direct to host connection -> no collisions! collision domain collision domain collision domain 5 Switches: Dedicated ccess Switch with many interfaces Hosts have direct connection to No collisions; full duplex -to- and -to-f simultaneously cut-through ing: frame forwarded from input to output port without first collecting entire frame slight reduction in latency C F 6 D This is the dominant technology today Switches: Flow Control What if =00Mbps, =0Mbps? host sends frames faster than can send them out of outgoing port undetected losses due to overflow could occur I 80.3 provides LLC layer that has flow control facilities pause frames to get sender to stop to external network Switches vs Routers router mail server web server IP subnet 7 8 Spanning Tree ridges Switches self-configure into spanning tree 9 80.D ased on [Perlman 985] Spanning Tree algorithm Root selection by lowest MC ID Link-State approach: HLLO messages Links are in states: CKUP (inactive) or FORWRDIN (active) and in-between states reaks loops fast, recovery takes up to min Disadvantage: Slow convergence after breakage 80.w: RSTP (Rapid STP) Lack of multipath capability Not aware of VLNs (discussed next) 30 5

Virtual LNs Virtual LNs () (a) Four physical LNs organized into two VLNs, gray and white, by two bridges. (b) The same 5 machines organized into two VLNs by es. 3 3 The I 80.Q Standard Transition from legacy thernet to VLNaware thernet. The shaded symbols are VLN aware. The empty ones are not. The I 80.Q Standard () 80.Q thernet frame format VLN ssociation may be done Via port Via MC address Via Layer 3 information (IP address) 33 34 Switches vs. Routers both store-and-forward devices routers: network layer devices (examine network layer headers) es are link layer devices routers maintain routing tables, implement routing algorithms es maintain tables, implement filtering, learning algorithms + spanning tree algorithms Hubs vs. Routers vs. Switches Traffic isolation Hubs Routers Switches No Yes Yes Plug & Play Yes No Yes Optimal Routing Cut Through No Yes No Yes No Yes 35 36 6