Intradomain Routing Outline Introduction to Routing

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

Courtesy: Nick McKeown, Stanford
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 11 – February 16, 2010.
1 Comnet 2010 Communication Networks Recitation 6 Routing.
Spring 2003CS 4611 Routing Outline Algorithms Scalability.
Routing So how does the network layer do its business?
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
Chapter 4 Distance Vector Problems, and Link-State Routing Professor Rick Han University of Colorado at Boulder
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:
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
Spring 2002CS 4611 Routing Outline Algorithms Scalability.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
CSS432 Routing Textbook Ch 3.3
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
13-Sep-154/598N: Computer Networks Address Translation Map IP addresses into physical addresses –destination host –next hop router Techniques –encode physical.
CS551: Unicast Routing Christos Papadopoulos (
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
1 Chapter 22 Network layer Delivery, Forwarding and Routing (part2)
1 Introduction to Computer Networks Ilam University By: Dr. Mozafar Bag-Mohammadi Routing.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
CSS 432: Routing 1 CSS432 Routing Textbook Ch3.3 Professor: Munehiro Fukuda.
Lecture 17 November 8Intra-domain routing November 13Internet routing 1 November 15Internet routing 2 November 20End-to-end protocols 1 November 22End-to-end.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag-Mohammadi Routing.
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.
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.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
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.
CSS432 Routing Textbook Ch3.3
Centralized vs Distributed Routing
Dynamic Routing Protocols II OSPF
Routing BY, P.B.SHANMATHI.
Routing and Switching Fabrics
OSPF.
Routing Information Protocol (RIP)
Routing Protocols and Concepts
Link-State Routing Protocols
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Dan LI CS Department, Tsinghua University
Dynamic Routing Protocols part2
Routing in Packet Networks Shortest Path Routing
UNICAST ROUTING PROTOCOLS
Link-State Routing Protocols
CS 640: Introduction to Computer Networks
RFC 1058 & RFC 2453 Routing Information Protocol
Communication Networks NETW 501
Introduction to Computer Networks
2. Fragmentation and Reassembly
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
Communication Networks
Advanced Computer Networks
EE 122: Intra-domain routing: Distance Vector
Communication Networks
Routing Outline Algorithms Scalability Spring 2003 CS 332.
Routing and Switching Fabrics
Presentation transcript:

Intradomain Routing Outline Introduction to Routing Distance Vector Algorithm CS 640

Overview Forwarding vs Routing Network as a Graph forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph Assume single admin. authority Assume nodes are routers Assume links have cost Problem: Find lowest cost path (sum of links) between two nodes CS 640

Routing Protocol Issues It may be simple to calculate least cost path if graph is static but… Links and routers go down Links and routers are added Traffic can cause links to overload How are costs calculated? Algorithm must be distributed in order to scale Rich area for research due to distributed, dynamic nature of the problem Different routers can have different routes at same time CS 640

Distance Vector (Bellman-Ford,RIP) Find SP for node such that paths contain at most 1 hop, then 2… Each node maintains a set of triples (Destination, Cost, NextHop) Assume each node knows cost of directly connected neighbors Exchange updates directly connected neighbors periodically ( on the order of several seconds) – even if there are no changes whenever its table changes (called triggered update) Each update is a list of pairs: (Destination, Cost) Update local table if receive a “better” route smaller cost came from next-hop Refresh existing routes; delete if they time out CS 640

Example Destination Cost NextHop 5 3 B C 1 5 2 1 F A 1 2 1 1 E D G B 1 B C 3 D D 1 D E 2 D F 4 D G 1 G 3 B C 1 5 2 1 A F 1 2 1 1 E D G CS 640

Routing Loops Example 1 Example 2 E detects that link to C has failed E sets distance to C to infinity and sends update to D D sets distance to C to infinity since it uses D to reach E D receives periodic update from B with 2-hop path to C D sets distance to C to 5 and sends update to E E decides it can reach C in 3 hops via B Example 2 link from A to G fails A advertises distance of infinity to G B and D advertise a distance of 2 to G B decides it can reach G in 3 hops; advertises this to A A decides it can read G in 4 hops; advertises this to D D decides that it can reach G in 5 hops… CS 640

Loop-Breaking Heuristics Set infinity to 16 Assume this is maximum number of hops in network Split horizon Don’t send routes learned from a neighbor back to a neighbor Split horizon with poison reverse Send route back to neighbor with negative information ie. Infinite What are the problems? 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 send to all nodes (not just neighbors) information about directly connected links (not entire routing table) Link State Packet (LSP) 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 (cont) Reliable flooding store most recent LSP from each node forward LSP to all nodes but one that sent it generate new LSP periodically increment SEQNO start SEQNO at 0 when reboot decrement TTL of each stored LSP discard when TTL=0 This is not easy! CS 640