Internetworking Part 1

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

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

Switching / Forwarding

BROADBAND AND HIGH SPEED NETWORKS

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

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

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

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

Chapter 3 Packet Switching

ECE 4450:427/527 - Computer Networks Spring 2017

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

Asynchronous Transfer Mode (ATM) ATM concepts

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

Copyright 2010, Elsevier Inc. All rights Reserved

Distributed Queue Dual Bus

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

Module 10 Frame Relay and ATM

Packet Switching Techniques

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

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

BROADBAND AND HIGH SPEED NETWORKS

TOC: Switching & Forwarding

Chapter 10. Circuits Switching and Packet Switching 10-1

ATM Logical Connections: VCC. ATM Logical Connections: VPC

TOC: Switching & Forwarding

Master Course Computer Networks IN2097

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

Asynchronous Transfer Mode

CS610- Computer Network Solved Subjective From Midterm Papers

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

Asynchronous. nous Transfer Mode. Networks: ATM 1

Chapter 4. Advanced Internetworking. 4.3 MPLS 4.4 Mobile IP

Ethernet Switches (more)

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

CSCI Computer Networks

1997, Scott F. Midkiff 1

ATM Technology in Detail. Objectives. Presentation Outline

Wireless Networks. Communication Networks

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Summary of MAC protocols

The Network Layer and Routers

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

Communication Networks

ECE 333: Introduction to Communication Networks Fall 2001

Data Networks. Lecture 1: Introduction. September 4, 2008

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

LAN Interconnection and Other Link Layer Protocols

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

ATM Networks: An Overview

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

ATM Networks. Raj Jain

1/29/2008. From Signals to Packets. Lecture 6 Datalink Framing, Switching. Datalink Functions. Datalink Lectures. Character and Bit Stuffing.

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

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

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

Digital Communication Networks

C13a: Packet Switching

WAN Technologies (to interconnect IP routers) Mario Baldi

Medium Access Protocols

Switching and bridging

NETWORK PARADIGMS. Bandwidth (Mbps) ATM LANS Gigabit Ethernet ATM. Voice, Image, Video, Data. Fast Ethernet FDDI SMDS (DQDB)

Introduction to WAN Technologies

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

CPEG 514. Lecture 11 Asynchronous Transfer Mode (ATM) CPEG 514

ST.MOTHER THERESA ENGINEERING COLLEGE

ATM. Asynchronous Transfer Mode. (and some SDH) (Synchronous Digital Hierarchy)

ATM Asynchronous Transfer Mode revisited

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

Principles behind data link layer services:

Principles behind data link layer services:

Lecture 03 Chapter 11 Asynchronous Transfer Mode

Switching and Forwarding

WAN technology which are to be discussed:

BROADBAND AND HIGH SPEED NETWORKS

ATM Switches. Switching Technology S ATM switches

Label Switching. The idea. Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label. cs670.

NAME: (Exam :SECTION A) Notes: Any script without a name will receive no points. You must show the calculations for the descriptive questions.

Switching and Forwarding

ICS 451: Today's plan. Network Layer Protocols: virtual circuits Static Routing Distance-Vector Routing

CISC452 Telecommunications Systems. Lesson 6 Frame Relay and ATM

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

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

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

Lecture 6 Datalink Framing, Switching. From Signals to Packets

MPLS MULTI PROTOCOL LABEL SWITCHING OVERVIEW OF MPLS, A TECHNOLOGY THAT COMBINES LAYER 3 ROUTING WITH LAYER 2 SWITCHING FOR OPTIMIZED NETWORK USAGE

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

Telecommunication Protocols Laboratory Course. Lecture 3

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

Research paper Measured Capacity of an Ethernet: Myths and Reality

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

Principles behind data link layer services

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Router Construction. Workstation-Based. Switching Hardware Design Goals throughput (depends on traffic model) scalability (a function of n) Outline

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

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

Traditional network management methods have typically

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

Transcription:

CMPE 344 Computer Networks Spring 2012 Internetworking Part 1 Reading: Peterson and Davie, 3.1 22/03/2012 1

Not all networks are directly connected Limit to how many hosts can be attached Point-to-point: Two hosts Ethernet: 1,024 hosts Limit to how large of a geographic area a single network can serve Ethernet: 2,500 m Wireless: Limited by radio range Point-to-point: Long, but do not serve the area Our major goal: Build global networks Enable communication between hosts that are not directly connected 2

A switch provides a star topology Switched networks are scalable! It is possible for many hosts to transmit at the full link speed (bandwidth) provided that the switch is designed with enough aggregate capacity 3

Input-output ports of a switch T3 T3 STS-1 Input ports Switch T3 T3 STS-1 Output ports Some typical leased line services: T1 (or DS1): 1.544 Mbps (24 digital voice circuits) T3 (or DS3): 44.736 Mbps (28 T1 links) STS-1 (or OC-1): 51.840 Mbps STS-3 (or OC-3): 155.250 Mbps STS: Synchronous Transport Signal OC: Optical Carrier 4

Switching or forwarding Switching or forwarding is the main function of the network layer A switch s primary job is to receive incoming packets on one of its links and to transmit them on some other link A switch looks at the header of the packet (frame) for an identifier or an address e.g., 48-bit Ethernet address Three approaches to switching: Datagram or connectionless Virtual circuit or connection-oriented Source routing (less common) 5

Switch architecture Control processor Switch fabric Input port Output port 6

Types of switching fabrics Shared memory Memory bandwidth determines the throughput Shared bus Bus bandwidth determines the throughput Crossbar Fast Self-routing Fast and scalable 7

Connectionless (datagram) networks: Datagram switching Host C 3 Host D 0 2 Host A Switch 1 1 Every packet contains the complete destination address Used in IP networks 3 Host E 2 0 Host G Switch 2 1 0 1 3 2 Host H Switch 3 Host F Host B Destination Port A 3 B 0 C 3 D 3 E 2 F 1 G 0 H 0 Forwarding (routing) table at switch 2 8

Datagram switching A routing algorithm builds the forwarding (routing) tables No connection state needs to be established before the first packet is sent No way of knowing if the packet can be successfully delivered Each packet is forwarded independent of previous packets that might have been sent to the same destination A switch or link failure might not have any serious effect on communication if it is possible to find an alternate route around the failure 9

Virtual circuit (VC) networks: VC switching 3 0 2 1 Switch 1 11 3 0 2 1 Switch 2 3 0 2 1 In IF In VCI Out IF Out VCI 2 5 1 11 VC table entry at switch 1 5 Host A 7 3 0 2 Switch 3 1 4 Host B In IF In VCI Out IF Out VCI 3 11 2 7 VC table entry at switch 2 Connection-oriented approach: Requires that a VC from source to destination is set up before any data is sent. Used in ATM, Frame Relay networks Note that connection-oriented does NOT imply reliable! In IF In VCI Out IF Out VCI 0 7 1 4 VC table entry at switch 3 10

More on virtual circuits Virtual circuit identifiers (VCIs) have link-local scope Incoming and outgoing VCIs are not necessarily the same Whenever a new connection is created, a new VCI must be assigned to it on each link it will traverse; the assigned VCI value must not be in use Types of VCs Permanent VCs (PVC): Set up by the administrator Switched VCs (SVC): Dynamically set up by signaling If a switch or link in a connection fails, the circuit is broken! It is possible to allocate resources when VC is set up If there are not enough resources, connection request can be rejected 11

Source routing Information about network topology that is required to switch a packet across the network is provided by the source host in packet header 3 0 2 Switch 1 1 3 0 1 1 3 0 3 2 0 Switch 2 1 3 0 2 1 Host A 0 1 3 0 Switch 3 1 3 2 Host B 12

LAN switching LAN switches or bridges A bridge is a switch: multi-input multi-output device A single Ethernet segment: 10 Mbps Ethernet bridge with n ports: Up to 10n Mbps Frames with destinations on the same segment need not be forwarded onto other ports A B C Bridge Port 1 Port 2 An extended LAN with One broadcast domain Two collision domains X Y Z 13

Learning bridges Bridges can build forwarding tables themselves Inspect the source (MAC) address in the frames received and record the port received Each entry has an associated timeout Host Port A B C A 1 Bridge Port 1 B 1 C 1 Port 2 X 2 X Y Z Y 2 Z 2 14

Loops in the topology Frame F with unknown destination: Use flooding On seeing F 2, Bridge 1 copies it onto LAN 1 Similarly, Bridge 2 copies F 1 to LAN 1 Now, these copies are forwarded to LAN 2. This cycle goes forever 15

Spanning tree bridges Extended LAN with loops and the corresponding spanning tree A A B3 B B3 B C B5 C B5 B2 D B7 K B2 D B7 K E F E F B1 B1 G H G H I B6 B4 J I B6 B4 J Frames can loop in LAN forever! No cycles 16

Spanning tree algorithm Bridges choose one bridge as the root This choice is made after each bridge broadcasts its (unique) serial number The bridge with the lowest serial number becomes the root Tree of shortest paths from the root to every bridge and LAN is constructed If a bridge or LAN fails, a new tree is constructed (algorithm continues to run) The distributed algorithm is standardized in IEEE 802.1D 17

Translating bridges Devices that translate between two LAN technologies: e.g., 802.x to 802.y 18

Virtual LANs Single extended LAN partitioned into several seemingly separate LANs Each VLAN has an id (or color) W X VLAN 100 VLAN 100 B1 B2 VLAN 200 VLAN 200 Y Z 19

More on VLANs In absence of VLANs, any broadcast packet will reach all hosts (one broadcast domain) Let s suppose W and X are in VLAN 100; Y and Z in VLAN 200 VLAN IDs on each port of bridges B1 and B2 are configured (Link B1-B2 in both VLANs) W X VLAN 100 VLAN 100 B1 B2 VLAN 200 VLAN 200 Y Z A broadcast packet sent by X will be forwarded by B2 to B1, but not to Z. B1 will forward to W, but not to Y 20

Cell switching and ATM networks ATM (Asynchronous transfer mode) Connection-oriented, packet-switched technology Uses virtual circuits Signaling or connection setup phase: Resources are allocated at the switches along the circuit to ensure a particular QoS Fixed-length packets called cells (48 bytes payload + 5 bytes header = 53 bytes) 21

ATM cell format User-Network Interface (UNI) Host-to-switch format GFC: Generic Flow Control VPI: Virtual Path Identifier VCI: Virtual Circuit Identifier Type: management, congestion control CLP: Cell Loss Priority HEC: Header Error Check (CRC-8) Network-Network Interface (NNI) Switch-to-switch format GFC becomes part of VPI field 22

ATM cells Advantages of cells facilitate the implementation of hardware switches enable parallelism Disadvantage of cells Header overhead: 48/53 = 90.6% efficient Performance advantage: Queues of cells tend to be a little shorter Shorter queues mean less delay for all traffic 23

Virtual paths 24-bit identifier split into two parts 8-bit virtual path identifier (VPI) 16-bit virtual circuit identifier (VCI) Public network Network A Network B Much less connection-state information stored in the switches, avoiding the need for big, expensive tables of per VCI information in the public network 24

Comparison of datagram and VC networks Issue Datagram nets VC nets Connection setup Not needed Required Addressing State information Forwarding Effect of switch failures Each packet contains full source-destination addresses Switches do not keep connection state info Each packet is forwarded independently None (except for a few packet losses at point of failure) Each packet contains a short VCI Switches must keep connection state of each VC All packets follow the route chosen when VC is set up All VCs passing through must be terminated QoS Difficult Easy (if enough resources can be allocated in advance) 25