Distance-Vector maintain distance and next hop information Also known as Distributed Bellman- Ford(DBF) algorithm used in RIP Cause Loop and Count to infinity.

Slides:



Advertisements
Similar presentations
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Advertisements

Routing Protocols Lecture # 6 Obaid Khan.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
Challenges of Routing in Ad-hoc Networks Chandra D Yarlagadda.
Routing in Mobile Ad Hoc Networks Marc Heissenbüttel University of Berne Bern,
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
ITIS 6010/8010 Wireless Network Security Dr. Weichao Wang.
Secure Routing in Ad Hoc Wireless Networks
Highly Dynamic Destination- Sequenced Distance-Vector Routing (DSDV) for Mobile Computers C. E. Perkins & P. Bhagwat Presented by Paul Ampadu.
1 Computer Systems Engineering Centre University of South Australia An Abstract Model of Routing in Mobile Ad Hoc Networks Cong Yuan, Jonathan Billington,
Routing.
Ad-hoc On-Demand Distance Vector Routing (AODV) Sirisha R. Medidi.
Sensor Network Routing Romit Roy Choudhury and Pradeep Kyasanur (Some slides are based on Dr. Nitin Vaidya’s tutorial)
Highly Dynamic Destination- Sequenced Distance-Vector Routing Protocol (DSDV) for Mobile Computers Charles E. Perkins Pravin Bhagwat Mobile Computing,
CS 260: Seminar in Computer Science Topic: Mobile Ad Hoc Networks Instructor: Srikanth Krishnamurthy Tuesday, Thursday 2:10 p.m. – 3:30 p.m.
Routing in Ad-hoc Networks19 th CEENet Workshop Budapest, 2004 Routing in Ad-hoc Networks 9 th CEENet Workshop on Network Technology NATO ANW Iskra Djonova.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
Ad Hoc Wireless Routing COS 461: Computer Networks
Routing Two papers: Location-Aided Routing (LAR) in mobile ad hoc networks (2000) Ad-hoc On-Demand Distance Vector Routing (1999)
Routing Protocols for Ad-Hoc Wireless Networks Lecture#12.
Itrat Rasool Quadri ST ID COE-543 Wireless and Mobile Networks
Interior Gateway Protocols: RIP & OSPF
Distance Vector Routing Protocols W.lilakiatsakun.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
Network Course Internetworking Protocols Dr. Raed Al Qadi.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Mobile Adhoc Network: Routing Protocol:AODV
Routing in Ad Hoc Networks Audun Søberg Henriksen Truls Becken.
Ad hoc On-demand Distance Vector (AODV) Routing Protocol ECE 695 Spring 2006.
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
RFC 3561 AODV Routing Protocol Mobile Ad Hoc Networking Working Group Charles E. Perkins INTERNET DRAFT Nokia Research Center 19 June 2002 Elizabeth M.
The Destination Sequenced Distance Vector (DSDV) protocol
#1 EETS 8316/NTU CC725-N/TC/ Routing - Circuit Switching  Telephone switching was hierarchical with only one route possible —Added redundant routes.
AODV: Introduction Reference: C. E. Perkins, E. M. Royer, and S. R. Das, “Ad hoc On-Demand Distance Vector (AODV) Routing,” Internet Draft, draft-ietf-manet-aodv-08.txt,
-1- Georgia State UniversitySensorweb Research Laboratory CSC4220/6220 Computer Networks Dr. WenZhan Song Associate Professor, Computer Science.
DSDV Destination-Sequenced Distance-Vector Routing Protocol
Ad-hoc On Demand Distance Vector Protocol Hassan Gobjuka.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Spring Routing: Part I Section 4.2 Outline Algorithms Scalability.
Lecture 7. Building Forwarding Tables There are several methods Static Method Dynamic Methods Centralized Distributed Distance Vector Link State.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
CS 414 Indian Institute of Technology, Bombay CS 414 Routing in Wireless Networks.
Centralized vs Distributed Routing
DSDV Highly Dynamic Destination-Sequenced Distance-Vector Routing
Routing design goals, challenges,
Rip Routing Protocol.
Internet Networking recitation #4
Ubiquitous Networks Mobile Ad Hoc Networks
Sensor Network Routing
Routing: Distance Vector Algorithm
Routing.
Ad hoc Routing Protocols
UNIT-7 Mobile Ad hoc Networks.
RFC 1058 & RFC 2453 Routing Information Protocol
Proactive vs. Reactive Routing
Communication Networks NETW 501
CS 3700 Networks and Distributed Systems
Communication Networks
Routing.
COS 461: Computer Networks
Vinay Singh Graduate school of Software Dongseo University
DSDV Destination-Sequenced Distance-Vector Routing Protocol
Routing.
Presentation transcript:

Distance-Vector maintain distance and next hop information Also known as Distributed Bellman- Ford(DBF) algorithm used in RIP Cause Loop and Count to infinity problem! Slow to converge

Distance-Vector Algorithm In Mobile Ad Hoc Network –Not suitable for rapid topological changes –Split-horizon and poisoned-reverse are not useful. –Single interface to a restricted broadcast medium. –A solution -> use DSDV

DSDV Overview DSDV is Proactive –Each node maintains routing information for all known destinations –Routing information must be updated periodically (no sleeping nodes) –Traffic overhead even if there is no change in network topology –Maintains routes which are never used

DSDV Overview Why DSDV use Distance Vector? –Make it “Simple”. –Easier to implement –Less storage space –How about Loop?

DSDV Overview Guarantee Loop Free –use “Sequence Number” Allow fast reaction to topology changes –immediate route advertisement on significant changes in routing table –but wait with advertising of unstable routes (damping fluctuations)

DSDV (Table Entries) Sequence number originated from destination. Ensures loop freeness. Install Time when entry was made (used to delete stale entries from table) Stable Data Pointer to a table holding information on how stable a route is. Used to damp fluctuations in network. DestinationNextMetricSeq. NrInstall TimeStable Data AA0A Ptr_A BB1B Ptr_B CB3C Ptr_C DB4D Ptr_D

DSDV (Route Advertisements) Advertise to each neighbor own routing information –Destination Address –Metric = Number of Hops to Destination –Destination Sequence Number –Other info (e.g. hardware addresses) Rules to set sequence number information –On each advertisement increase own destination sequence number (use only even numbers) –If a node is no more reachable (timeout) increase sequence number of this node by 1 (odd sequence number) and set metric = .

DSDV (Route Selection) Update information is compared to own routing table –1. Select route with higher destination sequence number (This ensure to use always newest information from destination) –2. Select the route with better metric when sequence numbers are equal.

DSDV (Tables) C Dest.NextMetricSeq AA1A-550 BB0B-100 CC1C-588 Dest.NextMetricSeq AA0A-550 BB1B-100 CB2C-588 Dest.NextMetricSeq. AB1A-550 BB2B-100 CC0C-588 BA

(A, 1, A-550) (B, 0, B-102) (C, 1, C-588) (A, 1, A-550) (B, 0, B-102) (C, 1, C-588) DSDV (Route Advertisement) CBA B increases Seq.Nr from 100 -> 102 B broadcasts routing information to Neighbors A, C including destination sequence numbers Dest.NextMetricSeq AA0A-550 BB1B-100 CB2C-588 Dest.NextMetricSeq AA1A-550 BB0B-102 CC1C-588 Dest.NextMetricSeq. AB2A-550 BB1B-100 CC0C-588

DSDV (Route Advertisement) CBA Dest.NextMetricSeq AA0A-550 BB1B-102 CB2C-588 Dest.NextMetricSeq AA1A-550 BB0B-102 CC1C-588 Dest.NextMetricSeq. AB2A-550 BB1B-102 CC0C-588

DSDV (Respond to Topology Changes) Immediate advertisements –Information on new Routes, broken Links, metric change is immediately propagated to neighbors. Full/Incremental Update: –Full Update: Send all routing information from own table. –Incremental Update: Send only entries that has changed. (Make it fit into one single packet)

(D, 0, D-000) DSDV (New Node) CBAD Dest.NextMetricSeq. AA0A-550 BB1B-104 CB2C-590 Dest.NextMetricSeq. AA1A-550 BB0B-104 CC1C-590 Dest.NextMetricSeq. AB2A-550 BB1B-104 CC0C D broadcast for first time Send Sequence number D-000

DSDV (New Node) CBAD Dest.NextMetricSeq. AA0A-550 BB1B-104 CB2C-590 Dest.NextMetricSeq. AA1A-550 BB0B-104 CC1C-590 Dest.NextMetricSeq. AB2A-550 BB1B-104 CC0C-590 DD1D Insert entry for D with sequence number D-000

(A, 2, A-550) (B, 1, B-102) (C, 0, C-592) (D, 1, D-000) (A, 2, A-550) (B, 1, B-102) (C, 0, C-592) (D, 1, D-000) DSDV (New Node cont.) CBAD Dest.NextMetricSeq. AA1A-550 BB0B-102 CC1C-590 Dest.NextMetricSeq. AA0A-550 BB1B-104 CB2C-590 Dest.NextMetricSeq. AB2A-550 BB1B-102 CC0C-592 DD1D C increases its sequence number to C- 592 then Immediately broadcasts! its new table.

DSDV (New Node cont.) CBAD Dest.NextMetricSeq. AA1A-550 BB0B-102 CC1C-592 DC2D-000 Dest.NextMetricSeq. AA0A-550 BB1B-102 CB2C-590 Dest.NextMetricSeq. AB2A-550 BB1B-102 CC0C-592 DD1D B gets this new information and updates its table……. Dest.NextMetricSeq. AC3A-550 BC2B-102 CC1C-592 DD0D-000 D gets routing table from C and create its own table.

(D, 2, D-100) DSDV (no loops, no count to infinity) CBA D Dest. c NextMetricSeq. ……… DC2D-100 Dest.NextMetricSeq. ……… DB3D-100 Dest.NextMetricSeq. ……… DD  D B does its broadcast -> no affect on C (C knows that B has stale information because C has higher seq. number for destination D) -> no loop! 1. Node C detects broken Link: -> Increase Seq. Nr. by 1 (only case where not the destination sets the sequence number -> odd number)

(D, , D-101) DSDV (Immediate Advertisement) CBA D Dest. c NextMetricSeq. ……… DC3D-100 Dest.NextMetricSeq. ……… DB4D-100 Dest.NextMetricSeq. ……… DB1D-100 Dest.NextMetricSeq. ……… DD1D-100 DD  D Immediate propagation B to A: (update information has higher Seq. Nr. -> replace table entry) 3. Immediate propagation C to B: (update information has higher Seq. Nr. -> replace table entry) Dest. c NextMetricSeq. ………... DC2D-100 DC  D-101 Dest.NextMetricSeq. ………... DB3D-100 DB  D-101

Route Fluctuations in DSDV A D Q P 11 Hops12 Hops (D,0,D-102) Entry for D in A: [D, Q, 14, D-100] 1. D makes Broadcast with Seq.# D-102

Route Fluctuations in DSDV A D Q P 10 Hops11 Hops 2. A receives from P Update (D, 15, D-102) -> A must broadcast this route immediately Entry for D in A: [D, P, 15, D-102]

Route Fluctuations in DSDV A D Q P 10 Hops11 Hops Entry for D in A: [D, Q, 14, D-102] A receives from Q Update (D, 14, D-102) A must broadcast this route immediately!.

Route Fluctuations in DSDV A D Q P 11 Hops12 Hops How to damp fluctuations –Record last and avg. Settling Time of every Route in a separate table. (Stable Data) –A still must update his routing table on the first arrival of a route with a newer seq. nr., but he can wait to advertising it. Time to wait is proposed to be 2*(avg. Settling Time). –Like this fluctuations in larger networks can be damped to avoid unececarry adverdisment, thus saving bandwith.

Distance-Vector maintain distance and next hop information Also known as Distributed Bellman- Ford(DBF) algorithm used in RIP Cause Loop and Count to infinity problem! Slow to converge

Summary Advantages –Simple (almost like Distance Vector) –Loop free through destination seq. numbers –No latency caused by route discovery Disadvantages –No sleeping nodes –Slow to converge –Overhead: most routing information never used –Scalability is a major problem