CS 31006: Computer Networks – The Routers

Slides:



Advertisements
Similar presentations
Router Internals CS 4251: Computer Networking II Nick Feamster Spring 2008.
Advertisements

Router Internals CS 4251: Computer Networking II Nick Feamster Fall 2008.
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Logically Centralized Control Class 2. Types of Networks ISP Networks – Entity only owns the switches – Throughput: 100GB-10TB – Heterogeneous devices:
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—4-1 Implementing Inter-VLAN Routing Deploying Multilayer Switching with Cisco Express Forwarding.
© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
An Overview of Software-Defined Network Presenter: Xitao Wen.
SDN and Openflow.
Router Architecture : Building high-performance routers Ian Pratt
What's inside a router? We have yet to consider the switching function of a router - the actual transfer of datagrams from a router's incoming links to.
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
An Overview of Software-Defined Network
ECE 526 – Network Processing Systems Design
Connecting Devices and Multi-Homed Machines. Layer 1 (Physical) Devices Repeater: Extends distances by repeating a signal Extends distances by repeating.
COMPUTER NETWORKS.
Router Architectures An overview of router architectures.
Router Architectures An overview of router architectures.
An Overview of Software-Defined Network Presenter: Xitao Wen.
Computer Networks Switching Professor Hui Zhang
Pemrograman Jaringan Routing -Aurelio Rahmadian-.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
CCNP3 BCMSN Implementing Inter-VLAN routing Router on at stick og inter-vlan routing.
Repeaters and Hubs Repeaters: simplest type of connectivity devices that regenerate a digital signal Operate in Physical layer Cannot improve or correct.
Data and Computer Communications Circuit Switching and Packet Switching.
CCNA 2 Week 1 Routers and WANs. Copyright © 2005 University of Bolton Welcome Back! CCNA 2 deals with routed networks You will learn how to configure.
Local-Area-Network (LAN) Architecture Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chapter 7 Backbone Network. Announcements and Outline Announcements Outline Backbone Network Components  Switches, Routers, Gateways Backbone Network.
CS 4396 Computer Networks Lab Router Architectures.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
SDN and Openflow. Motivation Since the invention of the Internet, we find many innovative ways to use the Internet – Google, Facebook, Cloud computing,
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
Network Virtualization Sandip Chakraborty. In routing table we keep both the next hop IP (gateway) as well as the default interface. Why do we require.
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
3.6 Software-Defined Networks and OpenFlow
Fabric: A Retrospective on Evolving SDN Presented by: Tarek Elgamal.
Software Defined Networking and OpenFlow Geddings Barrineau Ryan Izard.
Atrium Router Project Proposal Subhas Mondal, Manoj Nair, Subhash Singh.
InterVLAN Routing 1. InterVLAN Routing 2. Multilayer Switching.
Instructor Materials Chapter 7: Network Evolution
SDN challenges Deployment challenges
Software defined networking: Experimental research on QoS
Local Area Networks Honolulu Community College
NOX: Towards an Operating System for Networks
Routing Protocols and Concepts
Chapter 6: Network Layer
Link-State Routing Protocols
Addressing: Router Design
Chapter 4: Routing Concepts
CS 286 Computer Organization and Architecture
Course Name: Computer Application Topic: Central Processing Unit (CPU)
CT1303 LAN Rehab AlFallaj.
CT1403 Lecture #3 Peer to Peer NWs
Chapter 3 Part 3 Switching and Bridging
Chapter 7 Backbone Network
(Read Forouzan Chapters 6 and 7)) IP Forwarding Procedure
18-WAN Technologies and Dynamic routing
Software Defined Networking
Link-State Routing Protocols
Packet Switch Architectures
Data Communication Networks
Link-State Routing Protocols
Cloud-Enabling Technology
Chapter 3 Part 3 Switching and Bridging
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Packet Switch Architectures
Multiprocessors and Multi-computers
Control-Data Plane Separation
Presentation transcript:

CS 31006: Computer Networks – The Routers

Repeat until powered off Two basic operations – The Life of a Router Do Find Path Forward, forward, forward, forward, forward Repeat until powered off Two basic operations – Construct the routing table – the control plane Do a routing match and forward the packet to a dedicated interface – the data plane

Evolution of Router Architecture 1st Generation (Until 1980’s): Standard Computer 2nd Generation (Early 1990’s): Delegate to interfaces 3rd Generation (Late 1990’s): Distributed Architecture 4th Generation (Early 2000’s): Distributed over multiple racks 5th Generation (Today): Software Defined Routing

Basic Architectural Components of a Router Processor Memory CPU Interconnection Network Interface card Interface card Interface card Interface card

Control Plane Data Plane Router Hardware Processor is responsible for control functions (route processors) Construct the routing table based on the routing algorithm Forwarding is done at the interface card Route match needs to be very fast Specialized hardware – Ternary Content-Addressable Memory (TCAM) Control Plane Routing Table Construction Data Plane Forwarding

Router Internals

Slotted Chassis – The Physical Infrastructure for Routers Large routers are built as slotted chassis Interface cards are inserted in the slots Route processor is also inserted at a slot Simplifies repairs and upgrades of components

Functional Components Routing Functions Table Update Control Routing Table Datapath Route Lookup Per Packet Processing IP Forwarding

Control Plane in a Router Note that a router is a special purpose computer Implemented as a software (router OS) that supports the basic computing functionalities to run a router along with routing functionalities Routing protocols are implemented in the router OS Example: Cisco IOS

Routing Functions Route Calculation Maintenance of the routing table Execution of the routing protocol On commercial routers, routing functions are handled by a single general purpose processor, called the route processor

Data Plane of a Router Implement forwarding functionalities – make a route lookup and forward the packet at the destination interface Functionality is similar to a L2 switch – use switch fabric (the mapping from input ports to output ports) to forward the packet from one interface to another Maintains interface buffer – to implement store and forward functionality

IP Forwarding Per packet processing of the IP packets IP forwarding is distributed, handled by individual interface controllers Special hardware devices are used - TCAM

Per Packet Processing – Basic Architectural Components Routing Table

Forwarding Information Base (FIB) The interfaces maintains a forwarding information base (FIB) – a mapping from input interface to output interface A replica of the routing table used at the interfaces for making the forwarding decision Routing Protocols Route Lookup Input Interface FIB Lookup FIB MISS PACKET_IN FIB HIT PACKET_OUT Forward Packet Output Interface

Difference between RIB and FIB Routing Information Base (RIB) – The routing table, implemented in software, is maintained at the control plane Forwarding Information Base (FIB) – The copy of the required routes maintained in interface TCAM hardware RIB is dynamic and maintains entire routing information, FIB is updated whenever required

RIB and FIB The RIB FIB at Eth1 FIB at Eth0 172.16.1.0 255.255.255.0 172.16.1.2 Eth0 172.16.2.0 172.16.2.2 Eth1 10.3.0.0 255.255.0.0 10.3.1.1 Eth3 10.9.0.0 10.9.1.1 Eth4 172.16.2.0 255.255.255.0 172.16.2.2 Eth1 10.3.0.0 255.255.0.0 10.3.1.1 Eth3 10.9.0.0 10.9.1.1 Eth4 FIB at Eth1 FIB at Eth0 172.16.1.0 255.255.255.0 172.16.1.2 Eth0 10.3.0.0 255.255.0.0 10.3.1.1 Eth3

RIB Feeds FIB Image source: Cisco

Basic TCAM Architecture Image Source: http://thenetworksherpa.com/

A Demo of a Router Architecture

Software Defined Networking Software-defined networking (SDN) is a network framework which involves in separating a network's control functions from its data forwarding functions, centralizing its intelligence, and abstracting its underlying architecture from applications and services. Indian Institute of Technology Kharagpur

Control and Data Plane Control plane The module which takes all decisions, basically an instructor The routing algorithm Data plane The module which carries out the tasks given by the control plane Forwarding of Packets Indian Institute of Technology Kharagpur

These two modules are “baked” in Control and Data Plane Traditional networking devices are proprietary Vendors decide software (control plane) and hardware (data plane) No standardization These two modules are “baked” in Unchangeable Indian Institute of Technology Kharagpur

What does separating control and data plane mean? But what if they were separate? Vendors only provide the hardware (data plane) We decide the control plane by writing custom logic – the software Indian Institute of Technology Kharagpur

What does separating control and data plane mean? But what if they were separate? Vendors only provide the hardware (data plane) We decide the control plane by writing custom logic Advantages: Features are no longer limited to what the vendor provides Community development Longer life of products Indian Institute of Technology Kharagpur

Zodiac FX - A Tiny SDN Switch How Does SDN Work Compared to traditional networks, a software defined network has 2 types of devices Controller Switches The switches in SDN are blind No built-in features Need to be instructed by the controller Zodiac FX - A Tiny SDN Switch Indian Institute of Technology Kharagpur

SDN Controller “Brains” of the network All policies, routing logic are placed in the controller “Teaches” the switches what to do with an unknown packet h1 h3 s1 c0

SDN Controller “Brains” of the network All policies, routing logic are placed in the controller “Teaches” the switches what to do with an unknown packet h1 h3 s1 c0 Let us now see a scenario where a packet wants to go from h1 to h3 in an SDN environment

Forwarding Request from h1 to s1 c0 SRC - h1 DST - h3

Table Miss at s1 No rule is there for h1->h2 at the beginning, so a FIB miss at S1 h1 h3 s1 c0 Table MISS ?

Packet-IN to Controller Till then, the packet is buffered at s1 The controller generates the rule based on a software program (the routing logic) h1 h3 s1 c0 Packet-IN Table MISS Till then, the packet is buffered at s1 ? Packet-OUT

Flow Rule Set at s1… The rule is installed at the FIB of S1 h1 h3 s1 c0 Rule 1

All Future Packets from h1->h3 The buffered packet is forwarded based on that rule h1 h3 s1 c0 Rule 1

Buffered Packet Forwarded to h3… All the future packets from h1->h2 follow the same rule h1 h3 s1 c0 Rule 1

The SDN Architecture Image source: qmonnet.github.io

Tranditional Network vs SDN Image source: http://opensourceforu.com/