DSDV Highly Dynamic Destination-Sequenced Distance-Vector Routing

Slides:



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

The Destination Sequenced Distance Vector (DSDV) protocol
Routing Protocols Lecture # 6 Obaid Khan.
Proposed ad hoc Routing Approaches Conventional wired-type schemes (global routing, proactive): –Distance Vector; Link State Proactive ad hoc routing:
Overview of Ad Hoc Routing Protocols. Overview 1.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Ad hoc Routing: Issues and Algorithms
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
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.
Highly Dynamic Destination- Sequenced Distance-Vector Routing (DSDV) for Mobile Computers C. E. Perkins & P. Bhagwat Presented by Paul Ampadu.
Ad-hoc On-Demand Distance Vector Routing (AODV) Sirisha R. Medidi.
Highly Dynamic Destination- Sequenced Distance-Vector Routing Protocol (DSDV) for Mobile Computers Charles E. Perkins Pravin Bhagwat Mobile Computing,
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.
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
Routing in mobile ad-hoc networks (MANETs). 1. WHAT IS A MANET ? A MANET can be defined as a system of autonomous mobile nodes A MANET can be defined.
Mobile Ad-Hoc Networking By Jared Roberts. Overview What is a MANET? What is a MANET? Problems with routing in a MANET Problems with routing in a MANET.
Scalable Routing Protocols for Mobile Ad Hoc Networks Xiaoyan Hong, Kaixin Xu, and Mario Gerla at UCLA.
Mobile Adhoc Network: Routing Protocol:AODV
Routing in Ad Hoc Networks Audun Søberg Henriksen Truls Becken.
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
Routing Protocols for Mobile Ad-Hoc Networks By : Neha Durwas For: Professor U.T. Nguyen COSC 6590.
The Destination Sequenced Distance Vector (DSDV) protocol
1 Ad Hoc On-Demand Distance Vector Routing (AODV) Dr. R. B. Patel.
#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,
Doc.: IEEE /1047r0 Submission Month 2000August 2004 Avinash Joshi, Vann Hasty, Michael Bahr.Slide 1 Routing Protocols for MANET Avinash Joshi,
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.
DSDV Destination-Sequenced Distance-Vector Routing Protocol
Ad-hoc On Demand Distance Vector Protocol Hassan Gobjuka.
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
Ad Hoc On-Demand Distance Vector Routing (AODV) ietf
Jim Parker CMSC691t Spring 2000 “Ad-hoc On-Demand Distance Vector Routing” A dynamic routing algorithm for mobile ad-hoc networks.
Wireless Ad Hoc Network Routing Protocols
Ad Hoc Wireless Routing
AODV-OLSR Scalable Ad hoc Routing
Lecture 28 Mobile Ad hoc Network Dr. Ghalib A. Shah
Kyle Fitzpatrick Konstantin Zak
Routing design goals, challenges,
Mobicom ‘99 Per Johansson, Tony Larsson, Nicklas Hedman
Internet Networking recitation #4
Ubiquitous Networks Mobile Ad Hoc Networks
Sensor Network Routing
CSE 4340/5349 Mobile Systems Engineering
Routing Protocols for Ad Hoc Wireless Networks
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Routing.
Ad-hoc On-demand Distance Vector
Ad Hoc Wireless Routing
Ad hoc Routing Protocols
by Saltanat Mashirova & Afshin Mahini
UNIT-7 Mobile Ad hoc Networks.
Network: Routing Y. Richard Yang 3/30/2011.
RFC 1058 & RFC 2453 Routing Information Protocol
Proactive vs. Reactive Routing
Communication Networks NETW 501
A Probabilistic Routing Protocol for Mobile Ad Hoc Networks
Routing.
Routing in Mobile Ad-hoc Networks
COS 461: Computer Networks
Vinay Singh Graduate school of Software Dongseo University
DSDV Destination-Sequenced Distance-Vector Routing Protocol
Routing.
A Talk on Mobile Ad hoc Networks (Manets)
Presentation transcript:

DSDV Highly Dynamic Destination-Sequenced Distance-Vector Routing A little modified slides from Tobias Schwägli

DSDV Overview Introduction Distance Vector DSDV Protocol Summary Discussion

Mobile Ad Hoc Networks Routing Protocols (single channel) Uniform Non Uniform Destination Based Topology Based Partitioning ZRP OLSR Proactive (Table Driven) Proactive (Table Driven) DSDV WRP, Fisheye GSR Neighbor Selection CEDAR CBRP Reactive (On Demand) Reactive (On Demand) AODV TORA DSR

Introduction DSDV is Uniform Each node sends and responds to routing control message the same way No hierarchical structure Avoids the resource costs involved in maintaining high-level structure Scalability may become an issue in larger networks Uniform

Introduction DSDV is Destination Based Uniform DSDV is Destination Based Nodes maintain only local topology information (e.g. 1 or 2-hop neighborhood) No global view of topology Possible inconsistencies (e.g. loops) Destination Based

Proactive (Table Driven) Introduction Uniform Destination Based Proactive (Table Driven) DSDV is Proactive (Table Driven) 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

Distance Vector Basic Routing Protocol [2] known also as Distributed Bellman-Ford or RIP Every node maintains a routing table all available destinations the next node to reach to destination the number of hops to reach the destination Periodically send table to all neighbors to maintain topology Bi-directional links are required!

Distance Vector (Tables) 1 2 A B C Dest. Next Metric … A B 1 C 3 Dest. Next Metric … A 1 B C 2 Dest. Next Metric … A B 3 2 C

Distance Vector (Update) B broadcasts the new routing information to his neighbors Routing table is updated (A, 1) (B, 0) (C, 1) (A, 1) (B, 0) (C, 1) 1 1 A B C Dest. Next Metric … A B 1 C 3 2 Dest. Next Metric … A 1 B C Dest. Next Metric … A B 3 2 1 C

Distance Vector (New Node) broadcasts to update tables of C, B, A with new entry for D (A, 1) (B, 0) (C, 1) (D, 2) (A, 2) (B, 1) (C, 0) (D, 1) (D, 0) 1 1 1 A B C D Dest. Next Metric … A B 1 C 2 D 3 Dest. Next Metric … A 1 B C D 2 Dest. Next Metric … A B 2 1 C D

Distance Vector (Broken Link) 1 1 1 D A B C Dest. Next Metric … D B 3 Dest.c Next Metric … D C 2 Dest. Next Metric … D  Dest. Next Metric … D B 1

Distance Vector (Loops) 1 1 1 D A B C Dest. Next Metric … D B 3 Dest. Next Metric … D C 2 Dest. Next Metric … D B 3

Distance Vector (Count to Infinity) 1 1 1 D A B C Dest. Next Metric … D B 3, 5, … Dest.c Next Metric … D C 2, 4, 6… Dest. Next Metric … D B 3, 5, …

Distance Vector DV not suited for ad-hoc networks! Solution -> DSDV Loops Bandwidth reduction in network Unnecessary work for loop nodes Count to Infinity Very slow adaptation to topology changes. Solution -> DSDV

DSDV Protocol Keep the simplicity of Distance Vector Guarantee Loop Freeness New Table Entry for Destination Sequence Number Allow fast reaction to topology changes Make immediate route advertisement on significant changes in routing table but wait with advertising of unstable routes (damping fluctuations)

Table Entries Destination Next Metric Seq. Nr Install Time Stable Data A A-550 001000 Ptr_A B 1 B-102 001200 Ptr_B C 3 C-588 Ptr_C D 4 D-312 Ptr_D 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.

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 = .

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.

Tables A B C Dest. Next Metric Seq A A-550 B 1 B-100 C 2 C-586 Dest. A-550 B 1 B-100 C 2 C-586 Dest. Next Metric Seq A 1 A-550 B B-100 C 2 C-588 Dest. Next Metric Seq. A B 1 A-550 2 B-100 C C-588

Route Advertisement A B C B increases Seq.Nr from 100 -> 102 B broadcasts routing information to Neighbors A, C including destination sequence numbers (A, 1, A-500) (B, 0, B-102) (C, 1, C-588) (A, 1, A-500) (B, 0, B-102) (C, 1, C-588) A B C Dest. Next Metric Seq A A-550 B 1 B-102 C 2 C-588 Dest. Next Metric Seq A 1 A-550 B B-102 C C-588 Dest. Next Metric Seq. A B 2 A-550 1 B-102 C C-588

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)

New Node 2. Insert entry for D with sequence number D-000 Then immediately broadcast own table 1. D broadcast for first time Send Sequence number D-000 (D, 0, D-000) A B C D Dest. Next Metric Seq. A A-550 B 1 B-104 C 2 C-590 Dest. Next Metric Seq. A 1 A-550 B B-104 C C-590 Dest. Next Metric Seq. A B 2 A-550 1 B-104 C C-590 D D-000

New Node cont. 3. C increases its sequence number to C-592 then broadcasts its new table. 4. B gets this new information and updates its table……. (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) ……… A B C D Dest. Next Metric Seq. A A-550 B 1 B-104 C 2 C-590 Dest. Next Metric Seq. A 1 A-550 B B-102 C C-592 D 2 D-000 Dest. Next Metric Seq. A B 2 A-550 1 B-102 C C-592 D D-000

no loops, no count to infinity 2. 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 -> no count to infinity 1. Node C detects broken Link: -> Increase Seq. Nr. by 1 (only case where not the destination sets the sequence number -> odd number) (D, 2, D-100) (D, 2, D-100) 1 D A B C Dest. Next Metric Seq. … D B 3 D-100 Dest.c Next Metric Seq. … D C 2 D-100 Dest. Next Metric Seq. … D  D-101

Immediate Advertisement 3. Immediate propagation B to A: (update information has higher Seq. Nr. -> replace table entry) 2. Immediate propagation C to B: (update information has higher Seq. Nr. -> replace table entry) 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) (D, , D-101) D A B C Dest. Next Metric Seq. … ... D B 3 D-100  D-101 Dest. Next Metric Seq. … D B 4 D-100 Dest.c Next Metric Seq. … ... D C 2 D-100  D-101 Dest.c Next Metric Seq. … D C 3 D-100 Dest. Next Metric Seq. … D B 1 D-100 Dest. Next Metric Seq. … D 1 D-100  D-101

Problem of Fluctuations What are Fluctuations Entry for D in A: [D, Q, 14, D-100] D makes Broadcast with Seq. Nr. D-102 A receives from P Update (D, 15, D-102) -> Entry for D in A: [D, P, 15, D-102] A must propagate this route immediately. A receives from Q Update (D, 14, D-102) -> Entry for D in A: [D, Q, 14, D-102] A must propagate this route immediately. This can happen every time D or any other node does its broadcast and lead to unnecessary route advertisements in the network, so called fluctuations. P Q 11 Hops 10 Hops (D,0,D-102) D

Damping Fluctuations A How to damp fluctuations P Q D Record last and avg. Settling Time of every Route in a separate table. (Stable Data) Settling Time = Time between arrival of first route and the best route with a given seq. nr. 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. P Q 11 Hops 10 Hops D

Loop Free Property 1 Prove Part I: Assume we start with no loops All routes to destination d form a directed tree G(d) with d as root Invariant of DSDV: Graph G(d) is loop free  G(d) = Set of disjoint directed trees d d

Loop Free Property 2a Prove Part II: Case A: Node x sets metric for next hop to infinity This operation is equal to deleting the arrow outgoing from x in the graph. => Set of disjoint directed trees  x x

Loop Free Property 2b Prove Part II: Case B: Node x receives an update from a node k for the route to destination d 1) sk > sx (k has higher sequence number from d) Loop = x sets route to k and k is in subtree of x But for nodes k in subtree of x: sk  sx Contradiction => no loop possible 2) sk = sx & mk < mx (better metric to reach d over k) distance vector is always loop free in the case of decreasing metrics (theorem proved by Jaffe and Moss [3]) k x d

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

References [1] Charles E. Perkins, Pravin Bhagwat Highly Dynamic Destination Sequenced Distance Vector (DSDV) for Mobile Computers [2] Andrew S. Tanenbaum Computer Networks, Third Edition [3] J.M. Jaffe and F. H. Moss A responsive distributed algorithm for computer networks