CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.

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

Computer Networks with Internet Technology William Stallings
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.
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
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.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
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.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
1 Routing Outline Algorithms Scalability. 2 Overview Forwarding vs Routing –forwarding: to select an output port based on destination address and routing.
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.
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.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Ch 22. Routing Direct and Indirect Delivery.
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.
4. Interconnecting Networks: Routers. © Tallal Elshabrawy 2 Bridges Vs Routers BRIDGES DO WELL IN SMALL (FEW HUNDRED HOSTS) WHILE ROUTERS USED IN LARGE.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
CSS432 Routing Textbook Ch3.3
Centralized vs Distributed Routing
Routing BY, P.B.SHANMATHI.
Routing and Switching Fabrics
Routing Information Protocol (RIP)
Link-State Routing Protocols
Rip Routing Protocol.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Routing in Packet Networks Shortest Path Routing
UNICAST ROUTING PROTOCOLS
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
CS 640: Introduction to Computer Networks
RFC 1058 & RFC 2453 Routing Information Protocol
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
Communication Networks
Routing Outline Algorithms Scalability Spring 2003 CS 332.
Routing and Switching Fabrics
Presentation transcript:

CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm

CS 6402 Overview Forwarding vs Routing –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 6403 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 6404 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 6405 Example Destination Cost NextHop B 1 B C 3 D D 1 D E 2 D F 4 D G 1 G D G A B C E F

CS 6406 Routing Loops Example 1 –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 6407 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 6408 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 6409 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!