Chapter 3 Packet Switching

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

Internetworking Part 1

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

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

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

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

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

Switching and Forwarding - continued

Switching and Forwarding - continued

Packet Switching Techniques

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

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

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

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

CSE 1 23: Computer Networks

Distributed Queue Dual Bus

Module 10 Frame Relay and ATM

Switching and Forwarding

Asynchronous Transfer Mode

CSCI Computer Networks

FACULTY OF COMPUTING AND INFORMATICS

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

CPE 548 Exam #1 (50 pts) February 17, 2016

Common Protocols. The grand finale. Telephone network protocols. Traditional digital transmission

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Research paper Measured Capacity of an Ethernet: Myths and Reality

Ethernet Switches (more)

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

CS 421: COMPUTER NETWORKS SPRING FINAL May 21, minutes

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

ATM Technology in Detail. Objectives. Presentation Outline

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

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

NETWORK PROBLEM SET Solution

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

ECE 4450:427/527 - Computer Networks Spring 2017

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

ECE 333: Introduction to Communication Networks Fall 2001

Computer Facilities and Network Management BUS3150 Tutorial - Week 13

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

The Network Layer and Routers

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

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

Midterm Exam CSCE 232: Computer Networks Fall Instructions:

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

L6: OSI Reference Model

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

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CS343: Data Communication LAN Overview

Code No: RR Set No. 1

Asynchronous. nous Transfer Mode. Networks: ATM 1

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

Solutions to Select Exercises

Hubs. Interconnecting LANs. Q: Why not just one big LAN?

COSC 6377 Mid-Term #2 Fall 2000

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

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

Medium Access Protocols

3. (a) What is bridge? Explain the operation of a LAN bridge from to (b) Explain the operation of transparent bridge.

Switched Multimegabit Data Service (SMDS)

Switched Multimegabit Data Service

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

CS610- Computer Network Solved Subjective From Midterm Papers

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.

Link Layer and Ethernet

Bandwidth-on-Demand up to very high speeds. Variety of physical layers using optical fibre, copper, wireless. 3BA33 D.Lewis

Fragmenting and Interleaving Real-Time and Nonreal-Time Packets

Networking interview questions

Summary of MAC protocols

EE 122: Ethernet and

Asynchronous Transfer Mode (ATM) ATM concepts

First Exam for ECE671 Spring /22/18

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

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

DQDB. Distributed Queue Dual Bus (DQDB) DQDB is a MAN. Unlike FDDI, DQDB is an IEEE standard: 802.6

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

Module 10 Frame Relay and ATM

EE-311 Data Communication & Networks

What Bytes Are Counted by IP to ATM CoS Queueing?

CSCI 466 Midterm Networks Fall 2011

3. (a) Explain WDMA protocol. (b) Explain wireless LAN protocol. [8+8]

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

Master Course Computer Networks IN2097

Computer Networks. 19 December This exam consists of 6 questions with subquestions. Every subquestion counts for 10 points.

Figure 10.1 Cell switching principles: (a) routing schematic; (b) VP routing; (c) VC routing.

CSC 401 Data and Computer Communications Networks

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

Operating Systems CS 571

ECE4110 Internetwork Programming. Introduction and Overview

Switching and Forwarding

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

Principles behind data link layer services

WAN Technologies (to interconnect IP routers) Mario Baldi

CMSC 417 Project Implementation of ATM Network Layer and Reliable ATM Adaptation Layer

Duke University CompSci 356 Midterm Spring 2016

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

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

Link Layer and Ethernet

CH : 15 LOCAL AREA NETWORK OVERVIEW

Transcription:

Chapter 3 Packet Switching Self-learning bridges: Bridge maintains a forwarding table with each entry contains the destination MAC address and the output port, together with a TTL for this entry Destination MAC address is the key to look for the table If no entries found, the bridge broadcasts to all ports except the one from which the packet comes. Spanning tree algorithm for extended LAN with loops: The bridge with the smallest id is the root Each bridge computes the shortest path to the route; ties are broken by id of the upstream bridge, and the one with smallest id wins Each LAN selects the bridge as its designated bridge; shortest path preferred; smaller ID if path lengths are the same Problem 1: Given the extended LAN shown below, indicate which ports are not selected by the spanning tree algorithm. Assume that bridge B1 suffers catastrophic failure. Indicate which ports are not selected by the spanning tree algorithm after the recovery process and a new tree has been formed. Problem 2: Given the arrangement of learning bridges shown below. Assuming all are initially empty. Give the forwarding tables for each of the bridges B1 B4 after the following transmission sequences: A sends to C; C sends to A; D sends to C

D sends to C; C sends to D; A sends to C Virtual Circuit Switching: 1. For the following example network, give the virtual circuit tables for all the switches after each of the following connections is established. Assume that the sequence of connections is cumulative, that is, the first connection is still up when the second is established, and so on. Also assume that the VCI assignment always picks the lowest unused VCI on each link, starting with 0. (a) D connects to H (b) B connects to G (c) F connects to A (d) H connects to C (e) I connects to E (f) H connects to J

2. Consider the virtual circuit switches in the following figure. The following table lists for each switch what <port VCI> pairs are connected to other. Connections are bidirectional. List all endpoint to endpoint connections. Switch 1: Port i VCI i Port o VCI o 1 2 3 1 1 1 2 3 2 1 3 2 Switch 2: Port i VCI i Port o VCI o 1 1 3 3 1 2 3 2 Switch 3: Port i VCI i Port o VCI o 1 3 2 1 1 2 3 1 A connects to D; A connects to B; B connects to E Cell Switching (ATM): Why use fixed length cells? The implementation of high performance hardware switches is easier o Processing delay of each cell is fixed predicable o Facilitating parallelism Finer control over the behavior of queues o Control delay and delay variation o Eg: for a 4KB packet over a 100Mbps link, the delay is 327.68 microseconds while for a cell (53B), it is only 4.24 microseconds; additionally, the delay variation for fixed cells is very small o Queues of cells tend to be shorter than that of packets It is typical for a switch to wait for the whole packet to arrive before it starts transmitting wait and forward, though the queue is empty. What is the right length of an ATM cell? If too short: overhead will be high due to the header If too long, padding results in bandwidth wastage.

Efficient link utilization and voice traffic should be both considered 48B of payload is a compromise! ATM cell format 1. What percentage of an ATM link s total bandwidth is consumed by the ATM cell headers? [5/53] 2. What percentage of the total bandwidth is consumed by all non payload bits in AAL3/4 and AAL5, when the user data is 512 B in length? AAL3/4 CS PDU format padding to ensure that the trailer is aligned on a 32 bit boundary. From left to the pad field inclusive, it has to be a multiple of 32bits. For a 512B user data, the CS PDU is 520B. 520B divided by 44B, we get 11 44B pieces plus a segment of 36B. They form 12 ATM cells with each 11 having a header/trailer overhead of 9B. The last cell also has a padding of 8B. Therefore 12*9 + 8 + 8= 124B of overhead. The percentage is: 124/(124+512). AAL5 CS PDU format padding to ensure that the trail falls at the tail end of an ATM cell. By encapsulation, we get an AAL5 CS PDU with a length of 528B, which will be segmented into 11 cells. The percentage is (11*5+16)/ [(11*5+16)+512]. 3. Explain why AAL3/4 will not detect the loss of 16 consecutive cells of a single PDU. AAL3/4 relies on a 4bit sequence number to detect unordered/lost cells, which wraps around after 16 cells. There is no CRC checking in the CS PDU. 4. The IP datagram for a TCP ACK message is 40 bytes long: it contains 20 bytes of TCP header and 20 bytes of IP header. Assume that this ACK is traversing an ATM network that uses AAL5 to encapsulate IP packets. How many ATM packets will it take to carry the ACK? What if AAL3/4 is used instead? [one for AAL5 and two for AAL3/4] 5. Suppose a workstation has an I/O bus speed of 1 Gbps and memory bandwidth of 2 Gbps. Assuming DMA in and out of main memory, how many interfaces to 45 Mbps T3 links could a switch based on this workstation handle? [Since the I/O bus speed is less than the memory bandwidth, it is the bottleneck. Effective bandwidth that the I/O bus can provide is 1000/2 Mbps because each packet crosses the I/O bus twice. Therefore, the number of interfaces is 500/45 =11.] 6. Suppose a switch can forward packets at a rate of 100000 per second, regardless (within limits) of size. Assuming the workstation parameters described above. At what packet size would the bus bandwidth become the limiting factor? [The workstation can handle 1000/2 Mbps, as in the previous Exercise. Let the

packet size be x bits; to support 100,000 packets/second we need a total capacity of 100000x bps; equating 10^5 x = 500 10^6 bps, we get x = 5,000 bits/sec = 625 bytes/sec. ]