Distance Vector Routing 박주호. Introduction.  Modern computer Network generally use Dynamic routing algorithms rather than The.

Slides:



Advertisements
Similar presentations
Network Layer – Routing 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Advertisements

CS4550: Computer Networks II network layer basics 3 routing & congestion control.
Routing Basics What’s going on the back … Faisal Karim Shaikh DEWSNet Group Dependable Embedded Wired/Wireless Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
RIP – Routing Information Protocol Syeda Momina Tabish MIT - 7.
Summary The Problem The Dijkstra’s Shortest Path Algorithm
Distance-Vector Routing COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
RFC 2453 RIP 2 (Routing Information Protocol) Daher Kaiss.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Routing Information Protocol (RIP) Josh Timmons, CCNA Datacom II February 15, 2000.
EECC694 - Shaaban #1 lec #7 Spring The OSI Reference Model Network Layer.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Exploring the Functions of Routing.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How Routing Works INTRO v2.0—4-1.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CS 453 Computer Networks Lecture 24 IP Routing. See…
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
SAvPS – úvod Genči 2009 (bsaed on Tanenbaum’s slides.
Introduction to Routing and Routing Protocols By Ashar Anwar.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
Count to infinity problem
Link-state routing  each node knows network topology and cost of each link  quasi-centralized: each router periodically broadcasts costs of attached.
Introduction to Dynamic Routing Protocol
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
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.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing Protocol.
ITI-510 Computer Networks ITI 510 – Computer Networks Meeting 3 Rutgers University Internet Institute Instructor: Chris Uriarte.
4. Mar INF-3190: Switching and Routing Routing.
Distance Vector Routing
Cisco Systems Networking Academy S2 C 11 Routing Basics.
Stainov - DataComMET CS TC5353 THE NETWORK LAYER 5.2 ROUTING ALGORITHMS - adaptive Distance Vector Routing (Bellman-Ford, Ford-Fulkenson). It was used.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Shortest Path Algorithm
Routing Protocols Brandon Wagner.
Ch 22. Routing Direct and Indirect Delivery.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
Distance Vector Routing
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
Distance Vector and Link State Routing Pragyaditya Das.
4. Interconnecting Networks: Routers. © Tallal Elshabrawy 2 Bridges Vs Routers BRIDGES DO WELL IN SMALL (FEW HUNDRED HOSTS) WHILE ROUTERS USED IN LARGE.
6/12/2016© 2010 Raymond P. Jefferis IIILect The Network Layer.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
Chapter 7 Packet-Switching Networks Shortest Path Routing.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Instructor Materials Chapter 5: Dynamic Routing
Routing Information Protocol (RIP)
THE NETWORK LAYER.
Introduction to Dynamic Routing Protocol
Chapter 5: Dynamic Routing
Lecture 13 review Explain how distance vector algorithm works.
Chapter 3: Dynamic Routing
Introduction to Dynamic Routing Protocol
UNICAST ROUTING PROTOCOLS
Intradomain Routing Outline Introduction to Routing
RFC 1058 & RFC 2453 Routing Information Protocol
Data Communication: Routing algorithms
Presentation transcript:

Distance Vector Routing 박주호

Introduction.  Modern computer Network generally use Dynamic routing algorithms rather than The static one.  Two dynamic algorithm –Distance vector routing –Link state routing

Distance vector routing  This algorithms operate by –Having each router maintain a table –The table(i.e vector) give  the best known distance to each destination and  which line to use to get there. Updated by exchanging information with the neighbors.

History  Sometimes called by other names …  Distributed Bellman-Ford routing algorithm(1957)  Ford-Fulkerson algorithm(1962)  It was original ARPANET routing algorithm  And was used –In the Internet(RIP) –In early versions of DECnet and Novell ’ s IPX  AppleTalk and Cisco routers use improved distributed vector protocols.

The Routing table  Each router maintains a routing table –Contain one entry. –Two part of one entry  The preferred outgoing line  An estimate of the time or distance  The router is assumed to know the “ distance ” to each of its neighbors. distanceLine ABAB

The Metric of distance  Number of hops –The distance is just one hop  Time delay in milliseconds –The router can measure … –Using special ECHO packets(timestamps)  Total number of packets queued along the path –The router simply examines each queue

Algorithm K K - I H H I I H I A A L K J I H G F E D C B A ToAIHKLine JA delay is 8 JI delay is 10 JH delay is 12 JK delay is 6 Vectors received from J’s four neighbors New routing table for J New estimated dealy from J (a) (b) Receive table from neighbors Distances to each neighbor JA = 8 AB = 12 JB = JA+AB = 20

The Count-to-Infinity Problem  Distance vector routing works in theory –A serious drawback in practice  Reacts rapidly to good news,  But leisurely to bad news. ABCDEABCDE     Initially 1    After 1 exchange 1 2   After 2 exchange  After 3 exchange After 4 exchange Initially After 1 exchange After 2 exchange After 3 exchange After 4 exchange After 5 exchange After 6 exchange  

 In case good news. –If longest path of subnet is N hops, –Everyone will know good news.  In case bad news. –Infinity … –Set infinity to the longest path + 1. –If metric is time delay, no well-defined upper bound. –There is a tradeoff …

The Split Horizon Hack  Many ad hoc solutions to the problem have been proposed … –But, complicate, useless …  One of them will be described(why fail?)  The Split Horizon Hack algorithm ABCDE Initially  After 1 exchange   3 4 After 2 exchange   4 After 3 exchange     After 4 exchange

A B C D Router Fig An example where split horizon fails.