Routing and Switching Fabrics

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 11 – February 16, 2010.
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
Teknik Routing Pertemuan 20 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 ELEN 602 Lecture 19 Routing. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing table –routing:
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
CSE 461: Link State Routing. Link State Routing  Same assumptions/goals, but different idea than DV:  Tell all routers the topology and have each compute.
CS 6401 Routing, Routers, Switching Fabrics Outline Link state routing Link weights Router Design / Switching Fabrics.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
13-Sep-154/598N: Computer Networks Address Translation Map IP addresses into physical addresses –destination host –next hop router Techniques –encode physical.
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
1 Routing Distance Vector Routing Link State Routing Hierarchical Routing Routing for Mobile Hosts.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
CSS 432: Routing 1 CSS432 Routing Textbook Ch3.3 Professor: Munehiro Fukuda.
Spring 2006CS 3321 Intradomain Routing Outline Algorithms Scalability.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Networking and internetworking devices. Repeater.
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
23-Dec-154/598N: Computer Networks Overview 4.2: Routing Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
CS440 Computer Networks 1 Link State Routing and OSPF Neil Tang 10/31/2008.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
IP tutorial - #2 Routing KAIST Dept. of CS NC Lab.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
+ Dynamic Routing Protocols 2 nd semester
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
William Stallings Data and Computer Communications
CSS432 Routing Textbook Ch3.3
ROURING ALGORITHM: LINK STATE
Dynamic Routing Protocols II OSPF
Instructor Materials Chapter 5: Dynamic Routing
Ch 13 WAN Technologies and Routing
Advanced Computer Networks
Link-State Routing Protocols
Network Layer – Routing 1
Chapter 4: Network Layer
CSCI-1680 Network Layer: Intra-domain Routing
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Chapter 5: Dynamic Routing
Dynamic Routing Protocols II OSPF
Routing in Packet Networks Shortest Path Routing
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
CS 640: Introduction to Computer Networks
ECE453 – Introduction to Computer Networks
2. Fragmentation and Reassembly
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.) Goal is to use this opportunity.
Link-State Routing Protocols
Wide Area Networks (WANs), Routing, and Shortest Paths
Distributed Systems CS
Advanced Computer Networks
Chapter 3 Part 3 Switching and Bridging
Wide Area Networks (WANs), Routing, and Shortest Paths
Brad Karp UCL Computer Science
Wide Area Networks (WANs), Routing, and Shortest Paths
Routing Outline Algorithms Scalability Spring 2003 CS 332.
Routing and Switching Fabrics
CSE 461: Link State Routing
Chapter 4: Network Layer
Distributed Systems CS
Presentation transcript:

Routing and Switching Fabrics Outline Link state routing Link weights Switching Fabrics CS 640

Intradomain Routing Summary Intradomain routing protocols determine how forwarding tables are maintained in routers Least cost algorithms Distance vector routing Algorithm based on building forwarding table by distributing vector of distances to neighbors Completely distributed and based only on knowledge of immediate neighbors Known to converge under static conditions Count to infinity problem Limited network diameter CS 640

Link State (Dijkstra’s algorithm,OSPF) Find SP from a given node by sending path data to all nodes and developing paths in order of increasing length Strategy Route calculation is based on sum of all accumulated link state information All nodes forward all information to all directly connected links Link State Packet (LSP) – created by each node id of the node that created the LSP cost of the link to each directly connected neighbor sequence number (SEQNO) time-to-live (TTL) for this packet CS 640

Link State contd. Send out LSP based on timer and triggers Timer should be coarse grained Seqno’s do not wrap around Since when routers reboot – they start at seqno 0 64 bit field Routing table is not computed until LSP’s from all nodes have been received CS 640

Route Calculation Dijkstra’s shortest path algorithm Let N denotes set of nodes in the graph l (i, j) denotes non-negative cost (weight) for edge (i, j) s denotes this node M denotes the set of nodes incorporated so far C(n) denotes cost of the path from s to node n M = {s} for each n in N - {s} C(n) = l(s, n) /* Costs of directly connected nodes */ while (N != M) M = M union {w} such that C(w) /* Add a node */ is the minimum for all w in (N - M) for each n in (N - M) /* Recalculate costs */ C(n) = MIN(C(n), C (w) + l(w, n )) CS 640

Example 5 3 B C 2 5 3 A 2 1 F 1 1 1 2 E D Itrn M B Path C Path D Path E Path F Path G Path 1 {A} 2 A-B 5 A-C 1 A-D Inf. Inf. 1 A-G 2 {A,D} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 3 {A,D,G} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 4 {A,B,D,G} 2 A-B 4 A-D-C 1 A-D 2 A-D-E Inf. 1 A-G 5 {A,B,D,E,G} 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G 6 {A,B,C,D,E 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G G} 7 {A,B,C,D,E 2 A-B 3 A-D-E-C 1 A-D 2 A-D-E 4 A-D-E-F 1 A-G F,G} G CS 640

Link State Routing Summary One of the oldest algorithm for routing Finds SP by developing paths in order of increasing length Requires each node to have complete information about the network Nodes exchange information with all other nodes in the network Known to converge quickly under static conditions Does not generate much network traffic Other possible routing algorithms? CS 640

Metrics for link cost Simplest method is to simply assign 1 to each link Original ARPANET metric link cost = number of packets enqueued on each link This moves packets toward shortest queue not the destination!! took neither latency or bandwidth into consideration New ARPANET metric link cost = average delay over some time period stamp each incoming packet with its arrival time (AT) record departure time (DT) when link-level ACK arrives, compute Delay = (DT - AT) + Transmit + Latency Transmit and latency are static for the link if timeout, reset DT to departure time for retransmission Fine Tuning compress range over which costs can span using static function smooth variation of cost over time using averaging CS 640

Introduction to switching fabrics Switches must not only determine routing but also do forwarding quickly and efficiently If this is done on a general purpose computer, the I/O bus limits performance This means that a system with 1Gbps I/O could not handle OC12 Special purpose hardware is required Switch capabilities drive protocol decisions Context – a “router” is defined as a datagram “switch” Switching fabrics are internal to routers and facilitate forwarding CS 640

Goals in switch design Throughput Size Cost Functionality Ability to forward as many pkts per second as possible Size Number of input/output ports Cost Minimum cost per port Functionality QoS CS 640

Throughput Consider a switch with n inputs and m outputs and link speed of sn Typical notion of throughput: Ssn This is an upper bound Assumes all inputs get mapped to a unique output Another notion of throughput is packets per second (pps) Indicates how well switch handles fixed overhead operations Throughput depends on traffic model Goal is to be representative This is VERY tricky! CS 640

Size/Scalability/Cost Maximum size is typically limited by HW constraints Eg. fanout Cost is related to number of inputs/outputs How does cost scale with inputs/outputs? CS 640

Ports and Fabrics Ports on switches handle the difficult functions of signaling, buffering, circuits, RED, etc. Most buffering is via FIFO on output ports This prevents head-of-the-line blocking on input ports which is possible if only one input port can forward to one output port at a time Switching fabrics in switches handle the simple function of forwarding data from input ports to output ports Typically fabric does not buffer (but it can) Contention is an issue Many different designs CS 640