Router Architecture Overview

Similar documents
CSE 3214: Computer Network Protocols and Applications Network Layer

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

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

Chapter 4 Network Layer

The Network Layer and Routers

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

CMSC 332 Computer Networks Network Layer

CSC 4900 Computer Networks: Network Layer

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

Key Network-Layer Functions

Network Layer: Router Architecture, IP Addressing

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

Computer Networks. Instructor: Niklas Carlsson

LS Example 5 3 C 5 A 1 D

Chapter 4 Network Layer: The Data Plane

Routers: Forwarding EECS 122: Lecture 13

Chapter 4: network layer

CSC 401 Data and Computer Communications Networks

Routers: Forwarding EECS 122: Lecture 13

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Network Layer: outline

Router Architecture Overview

Chapter 4 Network Layer

Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL

Chapter 4 Network Layer: The Data Plane

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

Routing, Routers, Switching Fabrics

Chapter 4: Network Layer

COMP211 Chapter 4 Network Layer: The Data Plane

Lecture 16: Router Design

TDTS06: computer Networks

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

internet technologies and standards

CSCE 463/612 Networks and Distributed Processing Spring 2018

Network Layer: Data Plane 4-2

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

TOC: Switching & Forwarding

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Chapter 4 Network Layer: The Data Plane

NETWORK LAYER DATA PLANE

CSE 123A Computer Networks

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

TOC: Switching & Forwarding

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Lecture 16: Network Layer Overview, Internet Protocol

Chapter 4 Network Layer

internet technologies and standards

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

CSCD 330 Network Programming

Network Layer: Chapter 4. The Data Plane. Computer Networking: A Top Down Approach

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

Lecture 17: Router Design

Chapter 4 Network Layer

ETSF05/ETSF10 Internet Protocols Routing on the Internet

Exercise 1 INTERNET. x.x.x.254. net /24. net /24. x.x.x.33. x.x.x.254. x.x.x.52. x.x.x.254. x.x.x.254. x.x.x.

Chapter 4 Network Layer: The Data Plane

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Data Communications & Networks. Session 7 Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Chapter 4 Network Layer

cs144 Midterm Review Fall 2010

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Internet Routing Basics

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER

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

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CSC358 Week 6. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

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

Router Architectures

Routing Basics. ISP Workshops

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

Routing Basics. Campus Network Design & Operations Workshop

IV. PACKET SWITCH ARCHITECTURES

Lecture 17: Router Design

Network Layer Introduction

Chapter 4 Network Layer

Introduction to Routers and LAN Switches

A distributed architecture of IP routers

b. Suppose the two packets are to be forwarded to two different output ports. Is it

TOC: Switching & Forwarding

UNIT III THE NETWORK LAYER

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

Chapter 4: Routing Concepts. Routing & Switching

Routers Technologies & Evolution for High-Speed Networks

ECE 158A: Lecture 7. Fall 2015

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

BTEC Level 3 Extended Diploma

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Network Layer: Control/data plane, addressing, routers

ECE 697J Advanced Topics in Computer Networks

Internet protocol stack

The router architecture consists of two major components: Routing Engine. 100-Mbps link. Packet Forwarding Engine

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy

EE 122: Router Design

Part1: Lecture 4 QoS

Transcription:

Router Architecture Overview What s inside a router? Philipp S. Tiesel philipp@inet.tu-berlin.de Slides credits to James Kempf & Anja Feldmann

What does a Router Look Like? Ericsson SSR 8020 BNG/BRAS/PGW - Maximum 16 Tbit/s Cisco CRS-1 Core Router - 2.2Tbit/s single chassis - Up to 322Tbit/s for multichassis Juniper T4000 Core Router - 3.8 Tbit/s single chassis

And like this: Dlink DIR-615 Wireless N 300 Home Router - LAN: 4x 10/100Mbit/s Ports - WAN: 1x 10/100Mbit/s Port - Up to 300 Mbit/s throughput - WiFi support Belkin (formerly Cisco, Linksys) N600 DB Wireless Dual-Band N+ Home Router - LAN: 4x 10/100Mbit/s Ports - WAN: 1x 10/100Mbit/s Port - Up to 300 Mbit/s throughput - WiFi support

Who Makes Core Routers? Cisco CRS (Carrier Router Series) Juniper T-series Alcatel-Lucent (soon to be Nokia) XRS (Extensible Routing System) Huawei Netengine Others manufacture aggregation/access networking gear for edge deployments

Router architecture overview two key router functions: q run routing algorithms/protocol (RIP, OSPF, BGP) q forwarding datagrams from incoming to outgoing link forwarding information base (FIB) computed, pushed to line cards routing processor Incoming reachability information via RIP/OSPF/IS-IS/BGP used to compute routing information Base (RIB) routing, management control plane (software) forwarding data plane (hardware) high-speed switching fabric router line cards on input side router line cards on output side

RIB Router can contain many different RIBs One for each routing protocol Usually consolidated into one global RIB or into FIB End system IP addresses (/32s) populated through ARP for default gateway MAC Minimum contents Network id of destination subnet Cost/metric for hop Next hop gateway or end system Other information Quality of service, e.g. a U if the link is up Access control lists for security Next hop IP address of Interface, such as eth0 for first Ethernet next line hop card, interface etc. Network + Netmask= nework id (192.168.0.0/24 in this case Loopback metric is low

FIB FIB contains optimized next hop forwarding information Exact format depends on the line card hardware (ASIC, CAM, etc.) RIB compiled into FIB by the router control processor when routes change Example: If routing ASIC uses btrees, then RIB compiled into btrees Usually contains information in a form needed for getting a packet out fast Example: Replace IP address of outgoing interface by hardware address on dedicated switch fabric Installed into the line card by route processor A packet that experiences a FIB miss on fast path will incur a substantial performance penalty Must be transferred to route control processor and processed on the slow path

Input port functions line termination link layer protocol (receive) lookup, forwarding queueing switch fabric physical layer: bit-level reception data link layer: e.g., Ethernet see chapter 5 decentralized switching: given datagram dest., lookup output port using forwarding table in input port memory ( match plus action ) goal: complete input port processing at line speed queuing: if datagrams arrive faster than forwarding rate into switch fabric

Switching fabrics q transfer packet from input buffer to appropriate output buffer q switching rate: rate at which packets can be transfer from inputs to outputs o o often measured as multiple of input/output line rate N inputs: switching rate N times line rate desirable q three types of switching fabrics memory memory bus dedicated fabric

Switching via memory first generation routers: q traditional computers with switching under direct control of CPU q packet copied to system s memory q speed limited by memory bandwidth (2 bus crossings per datagram) input port (e.g., Ethernet) memory output port (e.g., Ethernet) system bus

Switching via a bus datagram is switched from input port memory to output port memory via a shared bus Ø bus contention: switching speed limited by bus bandwidth e.g. Cisco 5600: 32 Gbps bus sufficient speed for access and enterprise routers bus

Switching via Dedicated Fabric q overcome bus bandwidth limitations q banyan networks, crossbar, other interconnection nets initially developed to connect processors in multiprocessor q advanced design: q fragmenting datagram into fixed length cells. q append hardware address of output line card to front of cell q switch cells through the fabric. q Cisco 12000: switches 60 Gbps through the interconnection network crossbar

Output ports switch fabric datagram buffer queueing link layer protocol (send) line termination q buffering required when datagrams arrive from fabric faster than the transmission rate q scheduling discipline chooses among queued datagrams for transmission

Output port queueing switch fabric switch fabric at t, packets more from input to output one packet time later q buffering when arrival rate via switch exceeds output line speed q queueing (delay) and loss due to output port buffer overflow!

How much buffering? RFC 3439 rule of thumb: average buffering equal to typical RTT times link capacity C Ø for C = 10 Gpbs link, RTT = 250 msec: 2.5 Gbit buffer recent recommendation: with N flows, buffering equal to RTT. C N

Input port queuing q fabric slower than input ports combined -> queueing may occur at input queues q queueing delay and loss due to input buffer overflow! q Head-of-the-Line (HOL) blocking: queued datagram at front of queue prevents others in queue from moving forward switch fabric switch fabric output port contention: only one red datagram can be transferred. lower red packet is blocked one packet time later: green packet experiences HOL blocking

Summary Routers have evolved from dedicated workstations/pcs into heavy duty industrial equipment costing millions of s Capable of switching 300+ Tb/s Dedicated line cards separate fast path from slow path Slow path through route processor primarily for control plane traffic Different hardware approaches to accelerating fast path fowarding Queuing and buffering can help or hinder traffic flow