Switching and Forwarding - continued

Similar documents
Switching and Forwarding - continued

Switching and Forwarding

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

Switching and Forwarding

Research paper Measured Capacity of an Ethernet: Myths and Reality

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

Packet Switching Techniques

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

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

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

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

CSCI Computer Networks

Chapter 3 Packet Switching

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

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

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

Medium Access Protocols

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

CSE 461: Bridging LANs. Last Topic

CSCI 466 Midterm Networks Fall 2011

Housekeeping. Fall /5 CptS/EE 555 1

Internet Architecture and Protocol

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CSCI 466 Midterm Networks Fall 2011

Internetworking Part 1

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

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

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

Wide area networks: packet switching and congestion

EEC-484/584 Computer Networks

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

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

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

Ch. 4 - WAN, Wide Area Networks

Data Communication & Computer Networks INFO

Revision of Previous Lectures

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

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

CS610- Computer Network Solved Subjective From Midterm Papers

Switching and bridging

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

Networking interview questions

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

Copyright 2010, Elsevier Inc. All rights Reserved

Lecture 9: Bridging & Switching"

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

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

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

Chapter 10. Circuits Switching and Packet Switching 10-1

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

Routing in packet-switching networks

ECE 333: Introduction to Communication Networks Fall 2001

Distributed Queue Dual Bus

Master Course Computer Networks IN2097

Introduction to Communication Networks Spring Unit 13 Network extensions Bridges.

Discussion 1: Project 1, Networking Basics. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

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

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

Internet Protocols (chapter 18)

LAN Interconnection and Other Link Layer Protocols

===================================================================== Exercises =====================================================================

Some portions courtesy Srini Seshan or David Wetherall

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

Switching / Forwarding

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

Lecture 7. Network Layer. Network Layer 1-1

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

Point-to-Point Network Switching. Computer Networks Term B10

ECE 4450:427/527 - Computer Networks Spring 2017

L8: Packet Switching. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

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

LAN Overview (part 2) Interconnecting LANs - Hubs

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

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

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

Troubleshooting Transparent Bridging Environments

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

c) With the selective repeat protocol, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

ECE 435 Network Engineering Lecture 21

Lecture 1 Overview - Data Communications, Data Networks, and the Internet

Principles behind data link layer services

ECE 333: Introduction to Communication Networks Fall 2002

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

VTU-NPTEL-NMEICT Project

Lecture 8. Network Layer (cont d) Network Layer 1-1

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

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

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

Chapter 5 (Week 9) The Network Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

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

Bridging and Switching Basics

Communication Networks - 3 general areas: data communications, networking, protocols

Transcription:

Fall 9/ CptS/EE 555 Fall 9/ CptS/EE 555 4 Housekeeping Look at select system call See homework solutions on the Lecture Notes web page for answer to the probability difficulties we (I) had last time No satisfactory answer to the double-bit error problem that was pointed out last time Switching and Forwarding - continued Outline Spanning Tree completed Datagram Switching Characteristics Virtual Circuit Switching Characteristics Introduction to ATM Fall 9/ CptS/EE 555 Fall 9/ CptS/EE 555 Scalable Networks Switch forwards packets from input port to output port port selected based on address in packet header Datagram Switching No connection setup phase Each packet forwarded independently Sometimes called connectionless model Host D T T STS- Input ports Switch T T STS- Output ports Datagram Switching vs. Virtual Circuit Switching Analogy: postal system Each switch maintains a forwarding (routing) table Switch Host C Host E Host F Switch Host G Switch Host B Host H

Fall 9/ CptS/EE 555 7 Fall 9/ CptS/EE 555 8 Problem: loops Spanning Tree Algorithm Bridges run a distributed spanning tree algorithm select which bridges actively forward developed by Radia Perlman now IEEE 8. specification C E G A B I B B6 D B B5 B4 B7 F H J B K Algorithm Overview Each bridge has unique id (e.g., B, B, B) Select bridge with smallest id as root Select bridge on each LAN closest to root as designated bridge (use id to break ties) A Each bridge forwards frames over each LAN for which it B C is the designated bridge B5 E G B I B6 D B B4 B7 F H J B K Fall 9/ CptS/EE 555 5 Fall 9/ CptS/EE 555 6 Algorithm Details Bridges 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 Algorithm 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

Spanning Tree Algorithm Properties How long to converge? How many total messages? Broadcast and Multicast Forward all broadcast/multicast frames current practice Learn when no group members downstream Accomplished by having each member of group G send a frame to bridge multicast address with G in source field Fall 9/ CptS/EE 555 9 Fall 9/ CptS/EE 555 Limitations of Bridges Do not scale spanning tree algorithm does not scale broadcast does not scale Do not accommodate heterogeneity Caution: beware of non-transparency Dropped and re-ordered packets Increased delays Datagram Model There is no round trip time 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 every packet must carry the full address of the destination it is possible to route around link and node failures. network has little knowledge of *flows*: sequences of related packets Fall 9/ CptS/EE 555 Fall 9/ CptS/EE 555

Fall 9/ CptS/EE 555 5 Fall 9/ CptS/EE 555 6 Virtual Circuit Model Virtual Circuit Switching wait full RTT for connection setup before first data packet sent data packets contain only a small identifier, making the per-packet header overhead smaller than a datagram header switch or link failure, breaks the connection: a new one must be established. Connection setup provides an opportunity to reserve resources for a flow Explicit connection setup (and tear-down) phase Subsequence packets follow same circuit Sometimes called connection-oriented model Analogy: phone call Each switch maintains a VC table 5 Switch Switch 7 Switch 4 Host B Fall 9/ CptS/EE 555 Fall 9/ CptS/EE 555 4 Switch Source Routing Switch Switch Host B Cell Switching (ATM) Connection-oriented packet-switched network Used in both WAN and LAN settings Signaling (connection setup) Protocol: Q.9 Specified by ATM forum Packets are called cells 5-byte header + 48-byte payload: why? Commonly 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 Big vs Small Packets Small Improves Queue behavior finer-grained pre-emption point for scheduling link maximum packet = 4KB 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 ATM near cut-through behavior two 4KB packets arrive at same time link idle for 7.68us while both arrive at end of 7.68us, still have 8KB to transmit in contrast, can transmit first cell after 4.4us at end of 7.68us, just over 4KB left in queue Fall 9/ CptS/EE 555 7 Fall 9/ CptS/EE 555 8 Big vs Small (cont) Small Improves Latency (for voice) voice digitally encoded at 64KBps (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 cancellors ATM Compromise: 48 bytes = (+64)/ Fall 9/ CptS/EE 555 9