Routing Protocols in Manets: Cs290F Winter 2005
Routing Protocols in Manets: Cs290F Winter 2005
in MANETs
CS290F
Winter 2005
What is a MANET
Mobile nodes, wireless links
Infrastructure-less: by the nodes, …
Multi-hop routing: …, and for the nodes
Minimal administration: no hassles
What’s unique about a MANET ?
Moving nodes ever changing topology
Wireless links
various and volatile link quality
Pervasive (cheap) devices
Power constraints
Security
Confidentiality, other attacks
Challenges in MANET Routing
Need dynamic routing
Frequent topological changes possible.
Very different from dynamic routing in the Internet.
Potential of network partitions.
Routing overhead must be kept minimal
Wireless low bandwidth
Mobile low power
Minimize # of routing control messages
Minimize routing state at each node
Other Challenges
Auto configuration issues
Address assignment
Service discovery
Security issues
Ease of denial-of-service attack
Misbehaving nodes difficult to identify
Nodes can be easily compromised
New Applications/services
Location based: Distribute some information to all nodes in a
geographic area (geocast).
Content based: Query all sensors that sensed something
particular in the past hour.
MANET Protocol Zoo
Topology based routing
Proactive approach, e.g., DSDV.
Reactive approach, e.g., DSR, AODV, TORA.
Hybrid approach, e.g., Cluster, ZRP.
Position based routing
Location Services:
DREAM, Quorum-based, GLS, Home zone etc.
Forwarding Strategy:
Greedy, GPSR, RDF, Hierarchical, etc.
Routing Protocols
Reactive (On-demand) protocols
Discover routes when needed
Source-initiated route discovery
Proactive protocols
Traditional distributed shortest-path protocols
Based on periodic updates. High routing overhead
Tradeoff
State maintenance traffic vs. route discovery traffic
Route via maintained route vs. delay for route
discovery
Reactive Routing
Advantages:
0 eliminate periodic updates
query(0)
reply(0) adaptive to network dynamics
1 query(0) Disadvantages:
query(0) high flood-search overhead
3 with
reply(0)
query(0)
mobility, distributed traffic
query(0)
2 high route acquisition latency
4
query(0)
reply(0) query(0)
5
Reactive Routing – Source initiated
B Initiator ID
A-B-D-G
A-B-D-G G Initiator seq#
A-B-D-G
A-B Target ID
A D A-B-D
Partial route
A
A-C-E
A E H A-B-C
A-C-E
Route Request (RREQ)
A-C-E
C A-C A-B-C
F Route Reply (RREP)
no
Host’s
address yes Discard
already in route
patrial request
route
Append no
myAddr to no
partial route myAdd
r=targ
et
yes
Store <src,id>
in list Send route
reply packet
Broadcast packet
done
DSR - Route Discovery
Route Reply message containing path information is
sent back to the source either by
the destination, or
intermediate nodes that have a route to the
destination
Reverse the order of the route record, and include it in
Route Reply.
Unicast, source routing
Each node maintains a Route Cache which records
routes it has learned and overheard over time
Route Maintenance
Route maintenance performed only while route is in
use
Error detection:
Monitors the validity of existing routes by passively
listening to data packets transmitted at neighboring nodes
Lower level acknowledgements
When problem detected, send Route Error packet to
original sender to perform new route discovery
Host detects the error and the host it was
attempting;
Route Error is sent back to the sender the packet –
original src
Route Maintenance
B
RERR
RERR G
D
G
C
F
A Summary of DSR
S E
F
A
C
G D
B
S E
F
A
C
G D
B
S E
F
A
C
G D
B
S E
F
A
C
G D
B
S E
F
A
C
G D
B
S E
F
A
C
G D
B
A B C D
A B C D
S Y ? D
Dest seq. no. = 10 Has a route to D
with seq. no = 7 Seq. no. = 15
9
A B C D
7 9 10
E
5
All DNS’s are for D
1 3 1
Destination Destination
2 2
Source 4 Source 4
Node C Cache
E:
E:C,
C,D,
D,EE
A: C, B, A
Node A Cache Z: C, X, Y, Z
E: A, B, C, D, E V: C, X, W, V
A B C D E
V W X Y Z
Additional feature #2: RREP with Cached Routes
B
RERR
RERR
RREQ
(! D-G) D
G
A
B
RERR
RERR G
D
G
Route Cache (D)
A G: D, E, H, G
E H
C
F
0 2 3 3
1 2 2
… … …
2
4
Tables grow linearly with # nodes
4 {2,3,5}
5
Dijkstra’s Algorithm can {2,4}
then be used for the
Existing On-Demand Protocols
Dynamic Source Routing (DSR)
Associativity-Based Routing (ABR)
Ad-hoc On-demand Distance Vector (AODV)
Temporarily Ordered Routing Algorithm (TORA)
Zone Routing Protocol (ZRP)
Signal Stability Based Adaptive Routing (SSA)
On Demand Multicast Routing Protocol (ODMRP)
…