Professional Documents
Culture Documents
Hybrid
On-Demanddriven/Reactive
DSR AODV TORA
Clusterbased/ Hierarchical
LANMAR CEDAR
LinkState
OLSR TBRPF FSR STAR
ZRP
Ad-hoc Networks
Ad-hoc network:
A collection of wireless mobile hosts forming a temporary network without the aid of any established infrastructure or centralized administration.
Distance-Vector routing
Each node maintains a routing table containing
list of all available destinations number distance to each each destination next hop to reach a destination
The succession of next hops leads to a destination Each node periodically broadcasts its current estimate of the shortest distance to each available destination to all of its neighbors Typical representative: Distributed Bellman-Ford (DBF)
Bellman-Ford Algorithm
Bellmann-Ford (G,w,s) Initialize-Single-Source (G,s) for i 1 to |V[G]|-1 do for each edge (u,v) E[G] do Relax (u,v,w) for each edge (u,v) E[G] do if d[v] > d[u]+w(u,v) then return FALSE return TRUE
Felix Peter, Dec. 2, 2003 5
Initialize Single Source (G,s) for each vertex vV[G] do d[v] [v] NIL d[s] 0
Relax (u,v,w) if d[v] > d[u] + w(u,v) then d[v] d[u] + w(u,v) [v] u
Bellman-Ford Algorithm
Bellman-Ford Routing
Computationally efficient Easy to implement Problem: Can cause loops Problem: Counting to infintiy Modifications elminate the problem of loops but need some internodal coordination mechanisms which imply few topological changes Not designed to handle rapid topological changes
DSDV
Design goals:
Keep the simplicity of Bellman-Ford Avoid the looping problem Remain compatible in cases where a base station is available
10
Full dump: all information from the transmitting node Incremental dump: all information that has changed since the last full dump Full dump if incremental dump exceeds one NPDU (network protocol data unit)
11
Selection of Routes
If new routing information is received Any route with a more recent sequence number is used If the new route has equal seqence number but better metric, this route is chosen Newly recorded routes are scheduled for immediate advertisement
12
MH2
MH6
MH4
Damping Fluctuation
Causes for Fluctuation:
Many hosts with irregular updates Different propagation speed Different transmission intervals Broadcasts are asynchronous events
Solution: Keep a route settling time table in each node with a time to wait for a route with a better metric before advertising the update message. Settling time: Calculated by maintaining a running weighted average over the most recent updates of the routes for each destination.
14
Stale Entries
Stale entries are defined to be entries that have not been updated the last few update periods
Stale entries are deleted at the same time when routing updates are applied to the routing table
Any route using that host as a next hop is deleted, included the route indicating that host as the actual destination
15
MH3
MH4
MH5
MH2
MH6 MH7
MH8
MH1
16
MH2
MH6
MH8
MH1
Destination Next Hop
MH7
Metric 0 2 1 2 2 1 2 3 Seq. No
17
MH2
MH6
MH8
MH1
MH7
MH1
1) Update triggered by MH1 , broadcasted to MH7 and MH8 2) On detection of broken link: Immediate incremental update triggered by MH2 with odd sequence number and infinite metric 3) Updates are propagated through the network
18
MH2
MH6
MH8
MH7
Destination Next Hop Metric 0 3 1 2 2 1 2 3
MH1
Seq. No
19
20
Simulation results
Simulation by Broch, Maltz, Johnson, Hu, Jetcheva DSDV fails to converge if nodes dont pause for at least 300 seconds Packet delivery ratio is in the range of 70%-92% at higher rate of mobility Packet loss is mainly caused by stale routing entries Routing overhead is approximately constant, regardless of movement rate or traffic load Nearly optimal path can be selected in routing procedure
21
22
Conclusion
DSDV is effective for creating ad-hoc networks for small populations of mobile nodes DSDV is a fairly brute force approach, because connectivity information needs periodical update througout the whole network
23
Current Status
DSDV is a well-known routing algorithm for ad hoc network routing No standard specifications or commercial implementations available Many improved protocols based on DSDV have been developed Example: AODV: Ad-hoc On-Demand Distance Vector Routing
24
AODV
AODV is based on the DSDV algorithm
Distance vector Sequence numbers
Creation of routes on a demand basis Nodes that are not on a selected path do not maintain routing information or participate in routing table exchanges! Goal: Minimize broadcast overhead and transmission latency
25
AODV
Hybrid
On-Demand driven/Reactive
DSR AODV TORA
Clusterbased/ Hierarchical
LANMAR CEDAR
LinkState
OLSR TBRPF FSR STAR
ZRP
AODV
Path discovery Process:
Source node initiates path discovery process by broadcasting RREQ Neighbors forward RREQ RREQ is forwarded until either destination or intermediate node with a fresh enough route to it is located Destination or intermediate node responds by unicasting RREP along the reverse path
Local connectivity checked on a regular basis by listening to retransmission or sending hello messages Link failure:
Failure notification message (RREP with infinite metric) is passed upstream to the source, erasing that part of the route
Felix Peter, Dec. 2, 2003 27
Simulation by Broch, Maltz, Johnson, Hu, Jetcheva Implementation without Hello mechanism Delivery of over 95% regardless of mobility rate Routing overhead drops as mobility rate drops Not optimal path, up to 4 or more hops longer paths Requires up to 5 times the overhead of DSR
28
AODV:
On demand Good performance at all mobility rates Still requires transmission of many routing overhead packets
29
References
Charles E. Perkins and P. Bhagwat, Highly Dynamic Destination Sequenced Distance Vector Routing (DSDV) for Mobile Computers, ACM SIGCOMM94, 1994 Guoyou He, Destination-Sequenced Distance Vector (DSDV) Protocol Josh Broch, David A. Maltz, David B. Johnson, Yih-Chun Hu, Jorjeta Jetcheva, A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols, MobiCom98, 1998 Charles E. Perkins, Elizabeth M. Royer, Ad-hoc On-Demand Distance Vector Routing, 1999 Elizabeth M. Royer, Chai-Keong Toh, A Review of Current Routing Protocols for Ad Hoc Mobile Wireless Networks, IEEE Personal Communications, April 1999 Andrew S. Tanenbaum, Computer Networks, 3rd Edition, Prentice Hall, 1996 T.H. Cormen, C.E. Leiserson, R.L. Rivest, Introduction to Algorithms, MIT Press, 1990
Felix Peter, Dec. 2, 2003 30