Lecture 17: Router Design

Similar documents
Lecture 17: Router Design

Lecture 16: Router Design

Lecture 17: Border Gateway Protocol

Lecture 18: Border Gateway Protocol

CSE 123A Computer Networks

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Lecture 16: Border Gateway Protocol

IP Addressing & Interdomain Routing. Next Topic

INTERDOMAIN ROUTING POLICY

Lecture 3: Packet Forwarding

Lecture 13: Traffic Engineering

INTERDOMAIN ROUTING POLICY READING: SECTIONS PLUS OPTIONAL READING

LS Example 5 3 C 5 A 1 D

Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai

Topics for Today. Network Layer. Readings. Introduction Addressing Address Resolution. Sections 5.1,

Introduction. Introduction. Router Architectures. Introduction. Recent advances in routing architecture including

COMP/ELEC 429 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Lecture 24: Scheduling and QoS

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Introduction. Router Architectures. Introduction. Introduction. Recent advances in routing architecture including

CSE 561 Lecture 6, Spring David Wetherall

Packet Switch Architectures Part 2

EE 122: Router Design

The Network Layer and Routers

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Professor Yashar Ganjali Department of Computer Science University of Toronto.

The IP Data Plane: Packets and Routers

Inter-Domain Routing: BGP

Routing, Routers, Switching Fabrics

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

Routers: Forwarding EECS 122: Lecture 13

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

TOC: Switching & Forwarding

Router Architectures

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Lecture 3: Packet Forwarding

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Routers: Forwarding EECS 122: Lecture 13

Router Architecture Overview

Network Layer (Routing)

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

Sample Routers and Switches. High Capacity Router Cisco CRS-1 up to 46 Tb/s thruput. Routers in a Network. Router Design

Inter-Domain Routing: BGP II

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Switching Networks (Fall 2010) EE 586 Communication and. August 30, Lecture 3. (modified by Cheung for EE586; based on K&R original) 1-1

CSCD 330 Network Programming

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks.

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Lecture 16: Network Layer Overview, Internet Protocol

TOC: Switching & Forwarding

Lecture 26: Final Review

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Internet. Internet. Internet. S Verkkopalvelujen tuotanto S Network Service Provisioning Lecture 7: Peering

Lecture 17: Final Review"

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Inter-Domain Routing: BGP II

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Internet. Internet. Internet. S Verkkopalvelujen tuotanto S Network Service Provisioning Lecture 8: Peering

Network Performance: Queuing

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Link-State Routing OSPF

Dynamics of Hot-Potato Routing in IP Networks

ECE 697J Advanced Topics in Computer Networks

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

IV. PACKET SWITCH ARCHITECTURES

Lecture 9: Internetworking

Carnegie Mellon Computer Science Department Spring 2015 Midterm Exam

COMP211 Chapter 4 Network Layer: The Data Plane

Inter-Domain Routing: BGP

Network Performance: Queuing

Internet Routing Protocols Lecture 01 & 02

CSE 3214: Computer Network Protocols and Applications Network Layer

cs/ee 143 Communication Networks

Lecture 12: Aggregation. CSE 123: Computer Networks Alex C. Snoeren

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

Overlay Networks. Behnam Momeni Computer Engineering Department Sharif University of Technology

Introduction to Routers and LAN Switches

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

CSE 123b Graduate Networking

ETSF10 Internet Protocols Network Layer Protocols

Internet Routing Protocols Lecture 03 Inter-domain Routing

Lecture 11: IPv6. CSE 123: Computer Networks Alex C. Snoeren. HW 2 due NOW

CSC 4900 Computer Networks: Network Layer

Master Course Computer Networks IN2097

Service Provider Multihoming

CSE 123: Computer Networks

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Homework 3 Discussion

Carnegie Mellon Computer Science Department Spring 2016 Midterm Exam

Scott Jordan University of California, Irvine. Intersections between Information Technology Research and Public Policy

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Chapter 4 Network Layer: The Data Plane

Transcription:

Lecture 17: Router Design CSE 123: Computer Networks Alex C. Snoeren HW 3 due WEDNESDAY Eample courtesy Mike Freedman

Lecture 17 Overview BGP relationships Router internals Buffering Scheduling 2

Business Relationships Neighboring ASes have business contracts How much traffic to carry Which destinations to reach How much money to pay Common business relationships Customer-provider» E.g., Princeton is a customer of USLEC» E.g., MIT is a customer of Level3 Peer-peer» E.g., UUNET is a peer of Sprint» E.g., Harvard is a peer of Harvard Business School 3

Customer/Provider Customer needs to be reachable from everyone Provider tells all neighbors how to reach the customer Customer does not want to provide transit service Customer does not let its providers route through it Traffic to the customer Traffic from the customer announcements provider d provider traffic d customer customer 4

Multi-Homing Customers may have more than one provider Extra reliability, survive single ISP failure Financial leverage through competition Better performance by selecting better path Gaming the 95 th -percentile billing model Provider 1 Provider 2 5

Peer-to-Peer Relationship Peers exchange traffic between customers AS exports only customer routes to a peer AS exports a peer s routes only to its customers Often the relationship is settlement-free (i.e., no $$$) Traffic to/from the peer and its customers announcements peer traffic peer d 6

Tier-1 Providers Make up the core of the Internet Has no upstream provider of its own Typically has a national or international backbone Top of the Internet hierarchy of ~10-20 ASes E.g., AT&T, Level 3 (Global Crossing), NTT/Verio, Century Link (formerly Qwest), Sprint, Verizon Full peer-peer connections between tier-1 providers 7

The Internet Hierarchy Settlement free Pay for BW Pay for access BW 8

BGP Summary Interdomain-routing Exchange reachability information (plus hints) BGP is based on path vector routing Local policy to decide which path to follow Traffic exchange policies are a big issue $$$ Complicated by lack of compelling economic model (who creates value?) Can have significant impact on performance 9

What s in a Router? Physical components One or more input interfaces that receive packets One or more output interfaces that transmit packets A chassis (box + power) to hold it all Functions Forward packets Drop packets (congestion, security, QoS) Delay packets (QoS) Transform packets? (Encapsulation, Tunneling) 10

Router Functions 1. Receive incoming packet from link input interface 2. Lookup packet destination in forwarding table (destination, output port(s)) 3. Validate checksum, decrement ttl, update checksum 4. Buffer packet in input queue 5. Send packet to output interface (interfaces?) 6. Buffer packet in output queue 7. Send packet to output interface link 11

Functional architecture Firewall Reservation/ Admission Control Classification Rules Routing Protocols Routing Table Control Plane Complex Per-control action May be slow Packet Classification Forwarding Table Switching Output Scheduling Data plane Simple Per-packet Must be fast 12

Interconnect architecture Input & output connected via switch fabric Kinds of switch fabric Shared Memory Bus Crossbar Input Switch Output How to deal with transient contention? Input queuing Output queuing 13

First Generation Routers CPU Route Table Buffer Memory Single CPU and shared memory; Shared Bus(es) All classification by main CPU Line Card Line Card Line Card MAC MAC MAC 14

Second Generation Routers CPU Route Table Shared Bus(es) Direct DMA on cache hit Cache of recent routes Line Card Buffers Line Card Buffers Line Card Buffers Forwarding Cache Forwarding Cache Forwarding Cache MAC MAC MAC 15

Third Generation Routers Switch Fabric Shared interconnect (frequently crossbar) Centralized scheduler Full forwarding table in line card Fixed cells Line Card Buffers Forwarding Table MAC CPU Card CPU Routing Table Line Card Buffers Forwarding Table MAC 16

Output queuing Output interfaces buffer packets Pro Input Switch Output Simple algorithms Single congestion point Con N inputs may send to the same output Requires speedup of N» Output ports must be N times faster than input ports 17

Input queuing Input interfaces buffer packets Pro Single congestion point Simple to design algorithms Input Switch Output Con Must implement flow control Low utilization due to Head-of-Line (HoL) Blocking 18

Head-of-Line Blocking 19

IQ + Virtual Output Queuing Input interfaces buffer packets in per-output virtual queues Input Switch Output Pro Solves blocking problem Con More resources per port Complex arbiter at switch Still limited by input/output contention (scheduler) 20

Virtual Output Queues 21

Switch scheduling Problem Match inputs and outputs Resolve contentions, no packet drops Maximize throughput Do it in constant time If traffic is uniformly distributed its easy Lots of algorithms (approximate matching) Seminal result (Dai et al, 2000) Maximal size matching + speedup of two guarantees 100% utilization for most traffic assumptions 22

For Next Time Read P&D 6.2 Get started on P2 initial tasks Homework 3 due Wednesday 23