Switching and Forwarding

Similar documents
Research paper Measured Capacity of an Ethernet: Myths and Reality

Switching and Forwarding - continued

Switching and Forwarding - continued

HWP2 Application level query routing HWP1 Each peer knows about every other beacon B1 B3

Switching and Forwarding

Packet Switching. Hongwei Zhang Nature seems to reach her ends by long circuitous routes.

Cell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets

Packet Switching Techniques

Switching and Forwarding Reading: Chapter 3 1/30/14 1

Packet Switching. Guevara Noubir Fundamentals of Computer Networks. Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann

Administrivia. Homework on class webpage If you are having problems following me in class (or doing the homework problems), please buy the textbook

Cell Format. Housekeeping. Segmentation and Reassembly AAL 3/4

Packet Switching - Asynchronous Transfer Mode. Introduction. Areas for Discussion. 3.3 Cell Switching (ATM) ATM - Introduction

Now Arriving at Layer 3. Packet Forwarding. Router Design. Network Layers and Routers. Switching and Forwarding. Forwarding

CompSci 356: Computer Network Architectures. Lecture 7: Switching technologies Chapter 3.1. Xiaowei Yang

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Internetworking Part 1

Chapter 3 Packet Switching

CSCI Computer Networks

Outline Computer Networking. Circuit Switching. Circuit Switching

Packet Switching. Packet Switching What Issues Will We Focus On? COMP Jasleen Kaur. September 2, Networked and Distributed Systems

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

L9: Bridges and LAN Switches. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Lecture 22 Overview. Last Lecture. This Lecture. Next Lecture. Internet Applications. ADSL, ATM Source: chapter 14

Internet Protocols (chapter 18)

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

ATM Technology in Detail. Objectives. Presentation Outline

Wide area networks: packet switching and congestion

Medium Access Protocols

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

This Lecture. BUS Computer Facilities Network Management X.25. X.25 Packet Switch. Wide Area Network (WAN) Technologies. X.

! Cell streams relating to different media types are multiplexed together on a statistical basis for transmission and switching.

Asynchronous. nous Transfer Mode. Networks: ATM 1

CSCI 466 Midterm Networks Fall 2011

CSE 461: Bridging LANs. Last Topic

Copyright 2010, Elsevier Inc. All rights Reserved

EEC-484/584 Computer Networks

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Lesson 3 Network technologies - Controlling

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

Housekeeping. Fall /5 CptS/EE 555 1

SEN366 (SEN374) (Introduction to) Computer Networks

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

Distributed Queue Dual Bus

CSCI 466 Midterm Networks Fall 2011


Reminder: Datalink Functions Computer Networking. Datalink Architectures

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

Chapter 10. Circuits Switching and Packet Switching 10-1

Bridges. Bridge Functions. Example of No-frills Bridge. No-frills Bridges. Example of Learning Bridge. Learning Bridges

Lecture 6: Bridges and Switches. CS/ECE 438: Communication Networks Prof. Matthew Caesar February 19, 2010

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

ET4254 Communications and Networking 1

Virtual University of Pakistan. Describe the Hidden Node and Exposed Node problems in Standard? VUSR. [Larry L. Peterson]

ATM in TCP/IP environment: Adaptations and Effectiveness

Data Communication & Computer Networks INFO

BROADBAND AND HIGH SPEED NETWORKS

Master Course Computer Networks IN2097

Internet Architecture and Protocol

1997, Scott F. Midkiff 1

CS/ECE 438: Communication Networks for Computers Spring 2018 Midterm Examination Online

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

Switched Multimegabit Data Service

Expected Time: 90 min PART-A Max Marks: 42

Switched Multimegabit Data Service (SMDS)

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Asynchronous Transfer Mode (ATM) ATM concepts

Ch. 4 - WAN, Wide Area Networks

Networking interview questions

Packet Switching. Packet Switching (CSE 573S) Packet Switching Methods. Packet Switching. Ken Wong Washington University

A T M. Cell Switched Technology. not SMDS. Defacto Standard Multimedia capable Use with SONET or SDH. Fixed Length - 53 bytes. DigiPoints Volume 1

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

BROADBAND AND HIGH SPEED NETWORKS

ATM. Asynchronous Transfer Mode. these slides are based on USP ATM slides from Tereza Carvalho. ATM Networks Outline

Routing in packet-switching networks

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

Computer Networks. ENGG st Semester, 2010 Hayden Kwok-Hay So

Module 10 Frame Relay and ATM

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

Revision of Previous Lectures

Network Layer (1) Networked Systems 3 Lecture 8

Traditional network management methods have typically

The Network Layer and Routers

ECE 650 Systems Programming & Engineering. Spring 2018

AV-friendly networking. Cambridge, England

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Chapter 8 LAN Topologies

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Outline. Circuit Switching. Circuit Switching : Introduction to Telecommunication Networks Lectures 13: Virtual Things

EEC-484/584 Computer Networks

CS 43: Computer Networks. 15: Transport Layer & UDP October 5, 2018

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

Transcription:

Switching and Forwarding Outline Store-and-Forward Switches ridges and Extended LNs ell Switching Segmentation and Reassembly Scalable Networks Switch forwards packets from input port to output port port selected based on address in packet header T T STS- Input ports Switch T T STS- Output ports dvantages cover large geographic area (tolerate latency) support large numbers of hosts (scalable bandwidth) Spring 5 S 46 Spring 5 S 46 Source Routing Virtual ircuit Switching Switch Host Switch Switch Host Explicit connection setup (and tear-down) phase Subsequence packets follow same circuit Sometimes called connection-oriented model nalogy: phone call Each switch maintains a V table 5 Switch Host Switch 7 Switch 4 Host Spring 5 S 46 Spring 5 S 46 4

Datagram Switching No connection setup phase Each packet forwarded independently Sometimes called connectionless model nalogy: postal system Each switch maintains a forwarding (routing) table Host Host D Switch Host Host E Switch Host F Host G Switch Host ircuit Table (switch, port ) V In V Out Port Out 5 6 8 Example Tables Forwarding Table (switch ) ddress Port F G Host H Spring 5 S 46 5 Spring 5 S 46 6 Virtual ircuit Model Typically wait full RTT for connection setup before sending first data packet. While the connection request contains the full address for destination, each data packet contains only a small identifier, making the per-packet header overhead small. If a switch or a link in a connection fails, the connection is broken and a new one needs to be established. onnection setup provides an opportunity to reserve resources. Datagram Model There is no round trip delay waiting for connection setup; a host can send data as soon as it is ready. Source host has no way of knowing if the network is capable of delivering a packet or if the destination host is even up. Since packets are treated independently, it is possible to route around link and node failures. Since every packet must carry the full address of the destination, the overhead per packet is higher than for the connection-oriented model. Spring 5 S 46 7 Spring 5 S 46 8

ridges and Extended LNs LNs have physical limitations (e.g., 5m) onnect two or more LNs with a bridge accept and forward strategy level connection (does not add packet header) ridge Ethernet Switch = ridge on Steroids Port Port X Y Z Spring 5 S 46 9 Learning ridges Do not forward when unnecessary Maintain forwarding table ridge Port Port X Y Z Host Port X Y Z Learn table entries based on source address Table is an optimization; need not be complete lways forward broadcast frames Spring 5 S 46 Problem: loops Spanning Tree lgorithm ridges run a distributed spanning tree algorithm select which bridges actively forward developed by Radia Perlman now IEEE 8. specification E G I 6 D 5 4 7 F H J K lgorithm Overview Each bridge has unique id (e.g.,,, ) Select bridge with smallest id as root Select bridge on each LN closest to root as designated bridge (use id to break ties) Each bridge forwards frames over each LN for which it is the designated bridge 5 E G D 7 F H K I 6 4 J Spring 5 S 46 Spring 5 S 46

lgorithm Details ridges exchange configuration messages id for bridge sending the message id for what the sending bridge believes to be root bridge distance (hops) from sending bridge to root bridge Each bridge records current best configuration message for each port Initially, each bridge believes it is the root lgorithm Detail (cont) When learn not root, stop generating config messages in steady state, only root generates configuration messages When learn not designated bridge, stop forwarding config messages in steady state, only designated bridges forward config messages Root continues to periodically send config messages If any bridge does not receive config message after a period of time, it starts generating config messages claiming to be the root Spring 5 S 46 Spring 5 S 46 4 roadcast and Multicast Forward all broadcast/multicast frames current practice Learn when no group members downstream ccomplished by having each member of group G send a frame to bridge multicast address with G in source field Do not scale Limitations of ridges spanning tree algorithm does not scale broadcast does not scale Do not accommodate heterogeneity aution: beware of transparency Spring 5 S 46 5 Spring 5 S 46 6

ell Switching (TM) onnection-oriented packet-switched network Used in both WN and LN settings Signaling (connection setup) Protocol: Q.9 Specified by TM forum Packets are called cells 5-byte header + 48-byte payload ommonly transmitted over SONET other physical layers possible Variable vs Fixed-Length Packets No Optimal Length if small: high header-to-data overhead if large: low utilization for small messages Fixed-Length Easier to Switch in Hardware simpler enables parallelism Spring 5 S 46 7 Spring 5 S 46 8 ig vs Small Packets Small Improves Queue behavior finer-grained preemption point for scheduling link maximum packet = 4K link speed = Mbps transmission time = 496 x 8/ = 7.68us high priority packet may sit in the queue 7.68us in contrast, 5 x 8/ = 4.4us for TM near cut-through behavior two 4K packets arrive at same time link idle for 7.68us while both arrive at end of 7.68us, still have 8K to transmit in contrast, can transmit first cell after 4.4us at end of 7.68us, just over 4K left in queue ig vs Small (cont) Small Improves Latency (for voice) voice digitally encoded at 64Kps (8-bit samples at 8KHz) need full cell s worth of samples before sending cell example: -byte cells implies 5ms per cell (too long) smaller latency implies no need for echo cancellers TM ompromise: 48 bytes = (+64)/ Spring 5 S 46 9 Spring 5 S 46

ell Format User-Network Interface (UNI) 4 8 6 GF VPI VI Type LP host-to-switch format GF: Generic Flow ontrol (still being defined) VI: Virtual ircuit Identifier VPI: Virtual Path Identifier Type: management, congestion control, L5 (later) LPL ell Loss Priority HE: Header Error heck (R-8) Network-Network Interface (NNI) switch-to-switch format GF becomes part of VPI field 8 HE (R-8) 84 (48 bytes) Payload Segmentation and Reassembly TM daptation Layer (L) L and designed for applications that need guaranteed rate (e.g., voice, video) L /4 designed for packet data L 5 is an alternative standard for packet data L TM L TM Spring 5 S 46 Spring 5 S 46 L /4 onvergence Sublayer Protocol Data Unit (S-PDU) 8 8 6 < 64 K 4 8 8 6 PI tag Size User data Pad Etag Len PI: commerce part indicator (version field) tag/etag:beginning and ending tag size: hint on amount of buffer space to allocate Length: size of whole PDU 4 4 ell Format 5 (44 bytes) 6 TM header Type SEQ MID Payload Length R- Type OM: beginning of message OM: continuation of message EOM end of message SEQ: sequence of number MID: message id Length: number of bytes of PDU in this cell Spring 5 S 46 Spring 5 S 46 4

L5 S-PDU Format < 64 K 47 bytes 6 6 Data Pad Reserved Len R- pad so trailer always falls at end of TM cell Length: size of PDU (data only) R- (detects missing or misordered cells) ell Format end-of-pdu bit in Type field of TM header Spring 5 S 46 5