Download presentation
Presentation is loading. Please wait.
Published byIsaac O’Brien’ Modified over 9 years ago
1
Routing Protocols of On- Demand Dynamic Source Routing (DSR) Ad-Hoc On-Demand Distance Vector (AODV)
2
Outline DSR Introduction Route Discovery Route Maintenance AODV Introduction Route Discovery Route Maintenance Comparison
3
Dynamic Source Routing (DSR) Route Cache A packet carries the list of routers in the path Two main operation Route Discovery Route Maintenance No periodic messages
4
DSR Assumptions Small network diameter Speed of mobility is moderate Choice of promiscuous receive mode Links may or may not be bi-directional
5
DSR Route Discovery RREQ (Route Request) [Initiator, Target, Request id, Path] RREP (Route Reply) Target sends ROUTE REPLY if it knows route to sender Target initiates ROUTE REQUEST to sender and piggybacks the ROUTE REPLY to avoid infinite recursion Target uses the reverse route from the recorded route RRER (Route Error)
6
DSR Route Discovery A B C D EG F H [A,G,ID,A] [A,G,ID,AB] [A,G,ID,ABE] [A,G,ID,AC] Node E drop the packet because it has forward the same ID packet Source A forward data to destination G
7
DSR Route Reply A B C D EG F H [A,B,E] Node A stores the route from A to G in its route cache
8
DSR Route Maintenance Use low-level acknowledgements to detect broken links; inform sender via route error packet If no route to the source exists Use piggybacking Send out a route request and buffer route error Sender truncates all routes which use nodes mentioned in route error Initiate route discovery
9
DSR Route Error A B C D EG F H E sends a route error to A along route E-B-A RERR [E-G] Nodes hearing RERR update their route cache to remove link E-G
10
Optimizations for efficiency Route Cache Store the recent information Each forwarding host can add route information to cache All source routes learned by a node are kept in Route cache reduces cost of route discovery
11
Optimizations for efficiency ABCD Step1: Discovery A->D E Step2: Discovery A->E Step3: Discovery, find A->C only single host BCD CE CD CE
12
Optimizations for efficiency Piggybacking Data is piggybacked on Route Request Packet and Route Reply Packet Reflecting shorter routes ABCD BCDCD
13
DSR Advantages Routes maintained only between nodes who need to communicate reduces overhead of route maintenance Route caching can further reduce route discovery overhead
14
DSR Disadvantages Packet header size grows with route length due to source routing Flood of route requests may potentially reach all nodes in the network Care must be taken to avoid collisions between route requests propagated by neighboring nodes
15
Ad-hoc On-demand Distance Vector (AODV) Improved over DSDV algorithm minimize the number of required broadcast by creating routes on a demand basis AODV retains the desirable feature of DSR that routes are maintained only between nodes which need to communicate DSR resulting large headers can sometimes degrade performance Nodes (not on a selected path) don’t maintain routing information or participate in routing table exchanges. AODV uses sequence numbers
16
AODV Route table entry Destination Next hop Number of hops (metric) Sequence number for the destination Active neighbors for this route Expiration time for the route table entry
17
AODV RREQ Route Requests (RREQ) are forwarded in a manner similar to DSR A node re-broadcasts a Route Request, it sets up a reverse path pointing towards the source
18
AODV RREP Route Reply travels along the reverse path set-up when Route Request is forwarded RERR (Route Error) Periodic forward messages to detect link Hello Message Neighboring nodes periodically exchange hello message
19
AODV Route Discovery A B C D EG F H Source A forward data to destination G A broadcast RREQ sets up a reverse path
20
AODV Route Discovery A B C D EG F H
21
A B C D EG F H
22
AODV Route RREP A B C D EG F H
23
AODV Reverse Path Reverse path setup Forward RREP Destination IP address Source IP address Broadcast_id Expiration time for reverse path route entry Source node ’ s sequence number
24
DSR VS AODV Difference DSR forward greater packets than AODV AODV periodically forward Hello Message to neighbors, DSR not. Similarity Node (not on a select path) do not maintain routing information Only forward the first copy packet RREQ, RREP, RRER
25
Reference D. B. Johnson and D. A. Maltz. “ Dynamic Source Routing in Ad Hoc Wireless Networks ”,1996 C. E. Perkins, E. RM. Royer, and Samir R. Das. “ Ad Hoc On-Demand Distance Vector ”,2000
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.