1
University of Freiburg Computer Networks and Telematics
- Prof. Christian Schindelhauer
Mobile Ad Hoc Networks
Routing
8th Week 13.06.-09.06.2007
Christian Schindelhauer
schindel@informatik.uni-freiburg.de schindel@informatik.uni-freiburg.de
Mobile Ad Hoc Networks Routing 8th Week 13.06.-09.06.2007 - - PowerPoint PPT Presentation
Mobile Ad Hoc Networks Routing 8th Week 13.06.-09.06.2007 Christian Schindelhauer schindel@informatik.uni-freiburg.de schindel@informatik.uni-freiburg.de University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer
1
University of Freiburg Computer Networks and Telematics
Christian Schindelhauer
schindel@informatik.uni-freiburg.de schindel@informatik.uni-freiburg.de
Mobile Ad Hoc Networks 06.06.2007 7th Week - 2
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Find communication paths – Transport of information along this paths
– Proactive: routing tables, continuous updates – Reactive: update on demand – Hybrid: partial tables, partial on demand
– Distance vektor protocols – Link state protocols – Further variants: flooding, potential algorithms, etc.
Mobile Ad Hoc Networks 06.06.2007 7th Week - 3
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– A directed Graph G=(V,E) – Start node – and edge weights
– δ(u,v) = minimal weight w(p) of a path p from u to v – w(p) = sum of all edge weights w(e) of edges e of path p
– The shortest paths from s to all nodes in G
– is described by a tree with root s – Every node points towards the root s
Mobile Ad Hoc Networks 06.06.2007 7th Week - 4
University of Freiburg Institute of Computer Science Computer Networks and Telematics
Dijkstra’s algorithm has runtime Θ(|E| + |V| log |V|)
Mobile Ad Hoc Networks 06.06.2007 7th Week - 5
University of Freiburg Institute of Computer Science Computer Networks and Telematics
Mobile Ad Hoc Networks 06.06.2007 7th Week - 6
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Every node has a
neighbor
– Every node communicates only with his neighbors
– Nodes do not use a round model
– algorithm runs until no further changes occur
Mobile Ad Hoc Networks 06.06.2007 7th Week - 7
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– A new connection is announced quickly.
– Connection fails – Neighbors increase the distance counter – “Count to Infinity”-Problem
Mobile Ad Hoc Networks 06.06.2007 7th Week - 8
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– exchange information using link state packets (LSP) – Every router uses a (centralized) shortest-path-algorithm
– ID of creator of LSP – Costs of all edges from the creator – Sequence no. (SEQNO) – TTL-entry (time to live)
– The current LSP of every node are stored – Forwarding of LSPs to all neighbors
– Periodically new LSPs are generated
– TTL is decremented after every transmission
Mobile Ad Hoc Networks 06.06.2007 7th Week - 9
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– link failure/repair due to mobility may have different characteristics than those due to other causes
– route stability despite mobility – energy consumption
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 10
University of Freiburg Institute of Computer Science Computer Networks and Telematics
networks
– some attempts made to develop adaptive protocols
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 11
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Determine routes independent of traffic pattern – Traditional link-state and distance-vector routing protocols are proactive
– Route is only determined when actually needed – Protocol operates on demand
– Combine these behaviors
Mobile Ad Hoc Networks 06.06.2007 7th Week - 12
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Proactive protocols may have lower latency since routes are maintained at all times – Reactive protocols may have higher latency because a route from X to Y will be found only when X attempts to send to Y
– Reactive protocols may have lower overhead since routes are determined
– Proactive protocols can (but not necessarily) result in higher overhead due to continuous route updating
mobility patterns
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 13
University of Freiburg Institute of Computer Science Computer Networks and Telematics
packet more than once
S
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 14
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
Represents that connected nodes are within each
Z Y
Represents a node that has received packet P
M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 15
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
Represents transmission of packet P
Represents a node that receives packet P for the first time
Z Y
Broadcast transmission
M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 16
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
potential for collision Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 17
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
it again, because node C has already forwarded packet P once Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 18
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M
transmissions may collide => Packet P may not be delivered to node D at all, despite the use of flooding
N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 19
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y
is the intended destination of packet P M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 20
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
also do not receive packet P (example: node N) Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 21
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
(in the worst case, all nodes reachable from sender may receive the packet) Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 22
University of Freiburg Institute of Computer Science Computer Networks and Telematics
transmission is low enough that the overhead of explicit route discovery/maintenance incurred by other protocols is relatively higher – this scenario may occur, for instance, when nodes transmit small data packets relatively infrequently, and many topology changes occur between consecutive packet transmissions
– Because packets may be delivered to the destination on multiple paths
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 23
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Data packets may be delivered to too many nodes who do not need to receive them
– Flooding uses broadcasting -- hard to implement reliable broadcast delivery without significantly increasing overhead
– In our example, nodes J and K may transmit to node D simultaneously, resulting in loss of the packet
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 24
University of Freiburg Institute of Computer Science Computer Networks and Telematics
instead of data packets
transmitted between consecutive control packet floods
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 25
University of Freiburg Institute of Computer Science Computer Networks and Telematics
route to D, node S initiates a route discovery
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 26
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Initially, no information about next hop is available at all – One (only?) possible recourse: Send packet to all neighbors – flood the network – Hope: At some point, packet will reach destination and an answer is sent pack – use this answer for backward learning the route from destination to source
– Use separate route request/route reply packets to discover route
– Store routing information in the discovery packets
Mobile Ad Hoc Networks 06.06.2007 7th Week - 27
University of Freiburg Institute of Computer Science Computer Networks and Telematics
Search for route from 1 to 5
1 7 6 5 3 4 2
[1] [1]
1 7 6 5 3 4 2
[1,7] [1,7] [1,4] [1,7]
1 7 6 5 3 4 2
[1,7,2] [1,4,6] [ 1 , 7 , 2 ] [1,7,3]
1 7 6 5 3 4 2
Node 5 uses route information recorded in RREQ to send back, via source routing, a route reply [5,3,7,1]
Mobile Ad Hoc Networks 06.06.2007 7th Week - 28
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y Represents a node that has received RREQ for D from S M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 29
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Represents transmission of RREQ Z Y Broadcast transmission M N L [S] [X,Y] Represents list of identifiers appended to RREQ
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 30
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
potential for collision Z Y M N L [S,E] [S,C]
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 31
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
it again, because node C has already forwarded RREQ once Z Y M N L [S,C,G] [S,E,F]
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 32
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M
transmissions may collide N L [S,C,G,K] [S,E,F,J]
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 33
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y
is the intended target of the route discovery M N L [S,E,F,J,M]
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 34
University of Freiburg Institute of Computer Science Computer Networks and Telematics
received RREQ
node D
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 35
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L RREP [S,E,F,J,D] Represents RREP control message
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 36
University of Freiburg Institute of Computer Science Computer Networks and Telematics
(RREQ) only if links are guaranteed to be bi-directional – To ensure this, RREQ should be forwarded only if it received on a link that is known to be bi-directional
need a route discovery for S from node D – Unless node D already knows a route to node S – If a route discovery is initiated by D for a route to S, then the Route Reply is piggybacked on the Route Request from D.
directional (since Ack is used)
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 37
University of Freiburg Institute of Computer Science Computer Networks and Telematics
packet header – hence the name source routing
determine to whom a packet should be forwarded
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 38
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L DATA [S,E,F,J,D] Packet header size grows with route length
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 39
University of Freiburg Institute of Computer Science Computer Networks and Telematics
route node D
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 40
University of Freiburg Institute of Computer Science Computer Networks and Telematics
route – Problem: stale route caches
topology by listening to control messages
– Many nodes might know an answer – reply storms – NOT necessary for medium access – MAC should take care of it
– When an error is detected, usually sender times out and constructs entire route anew – Instead: try to locally change the source-designated route
– To remove stale cache entries quickly – Fixed or adaptive lifetime, cache removal messages, …
Mobile Ad Hoc Networks 06.06.2007 7th Week - 41
University of Freiburg Institute of Computer Science Computer Networks and Telematics
[S,E,F] to node F
learns route [K,G,C,S] to node S
[F,J,D] to node D
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 42
University of Freiburg Institute of Computer Science Computer Networks and Telematics
route from its local cache, if such a route to D exists in its cache. Otherwise, node S initiates route discovery by sending a route request
Reply if node X knows a route to node D
– can speed up route discovery – can reduce propagation of route requests
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 43
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K [P,Q,R] Represents cached route at a node (DSR maintains the cached routes in a tree format) M N L
[S,E,F,J,D] [E,F,J,D] [C,S] [G,C,S] [F,J,D],[F,E,S] [J,F,E,S]
Z
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 44
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z M N L
[S,E,F,J,D] [E,F,J,D] [C,S] [G,C,S] [F,J,D],[F,E,S] [J,F,E,S] RREQ
When node Z sends a route request for node C, node K sends back a route reply [Z,K,G,C] to node Z using a locally cached route
[K,G,C,S] RREP
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 45
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L
[S,E,F,J,D] [E,F,J,D] [C,S] [G,C,S] [F,J,D],[F,E,S] [J,F,E,S] RREQ
Assume that there is no link between D and Z. Route Reply (RREP) from node K limits flooding of RREQ. In general, the reduction may be less dramatic.
[K,G,C,S] RREP
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 46
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L RERR [J-D] J sends a route error to S along route J-F-E-S when its attempt to forward the data packet S (with route SEFJD) on J-D fails Nodes hearing RERR update their route cache to remove link J-D
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 47
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– reduces overhead of route maintenance
intermediate nodes replying from local caches
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 48
University of Freiburg Institute of Computer Science Computer Networks and Telematics
network
propagated by neighboring nodes – insertion of random delays before forwarding RREQ
nodes replying using their local cache – Route Reply Storm problem – Reply storm may be eased by preventing a node from sending RREP if it hears another RREP with a shorter route
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 49
University of Freiburg Institute of Computer Science Computer Networks and Telematics
thus polluting other caches
invalid cached routes is incorporated.
– Static timeouts – Adaptive timeouts based on link stability
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 50
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Location Aided Routing LAR [Ko98Mobicom] – Query localization [Castaneda99Mobicom]
– The Broadcast Storm Problem [Ni99Mobicom]
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 51
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– reduces the scope of route request flood – reduces overhead of route discovery
– Nodes need to know their physical locations – Does not take into account possible existence of obstructions for radio transmissions
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 52
University of Freiburg Institute of Computer Science Computer Networks and Telematics
S A B D C F E
H G
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 53
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Node G is the neighbor of C who is closest from destination E, but C does not have a route to E
S A B D C F E
H G
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 54
University of Freiburg Institute of Computer Science Computer Networks and Telematics
exists from source to destination
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 55
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Very popular routing protocol – Essentially same basic idea as DSR for discovery procedure – Nodes maintain routing tables instead of source routing – Sequence numbers added to handle stale caches – Nodes remember from where a packet came and populate routing tables with that information
Mobile Ad Hoc Networks 06.06.2007 7th Week - 56
University of Freiburg Institute of Computer Science Computer Networks and Telematics
Ad Hoc On-Demand Distance Vector Routing (AODV) [Perkins99Wmcsa]
– particularly when data contents of a packet are small
nodes, so that data packets do not have to contain routes
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 57
University of Freiburg Institute of Computer Science Computer Networks and Telematics
pointing towards the source – AODV assumes symmetric (bi-directional) links
sending a Route Reply
forwarded
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 58
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y Represents a node that has received RREQ for D from S M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 59
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Represents transmission of RREQ Z Y Broadcast transmission M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 60
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Represents links on Reverse Path Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 61
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K
it again, because node C has already forwarded RREQ once Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 62
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 63
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y
is the intended target of the RREQ M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 64
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y Represents links on path taken by RREP M N L
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 65
University of Freiburg Institute of Computer Science Computer Networks and Telematics
Reply (RREP) provided that it knows a more recent path than the
more recent, destination sequence numbers are used
when using AODV not as high as DSR – A new Route Request by node S for a destination is assigned a higher destination sequence number. An intermediate node which knows a route, but with a smaller sequence number, cannot send Route Reply
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 66
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L Forward links are setup when RREP travels along the reverse path Represents a link on the forward path
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 67
University of Freiburg Institute of Computer Science Computer Networks and Telematics
B A S E F H J D C G I K Z Y M N L Routing table entries used to forward data packet. Route is not included in packet header. DATA
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 68
University of Freiburg Institute of Computer Science Computer Networks and Telematics
interval – timeout should be long enough to allow RREP to come back
a active_route_timeout interval – if no data is being sent using a particular routing table entry, that entry will be deleted from the routing table (even if the route may actually still be valid)
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 69
University of Freiburg Institute of Computer Science Computer Networks and Telematics
neighbor sent a packet within active_route_timeout interval which was forwarded using that entry
neighbors are informed
also update destination sequence numbers
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 70
University of Freiburg Institute of Computer Science Computer Networks and Telematics
link (X,Y), it generates a RERR message
node X
using destination sequence number at least as large as N
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 71
University of Freiburg Institute of Computer Science Computer Networks and Telematics
be used as an indication of link failure
number N, node D will set its sequence number to N, unless it is already larger than N
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 72
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– To determine which route is newer
– Assume that A does not know about failure of link C-D because RERR sent by C is lost – Now C performs a route discovery for D. Node A receives the RREQ (say, via path C-E-A) – Node A will reply since A knows a route to D via node B – Results in a loop (for instance, C-E-A-B-C )
A B C D E
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 73
University of Freiburg Institute of Computer Science Computer Networks and Telematics
– Loop C-E-A-B-C
A B C D E
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 74
University of Freiburg Institute of Computer Science Computer Networks and Telematics
limit their propagation – DSR also includes a similar optimization
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
Mobile Ad Hoc Networks 06.06.2007 7th Week - 75
University of Freiburg Institute of Computer Science Computer Networks and Telematics
in active use
– Multi-path extensions can be designed – DSR may maintain several routes for a single destination
Tutorial by Nitin Vaidya presented on INFOCOM 2006 Tutorial on Mobile Ad Hoc Networks: Routing, MAC and Transport Issues
http://www.crhc.uiuc.edu/wireless/talks/2006.Infocom.ppt
76
University of Freiburg Computer Networks and Telematics
Mobile Ad Hoc Networks Christian Schindelhauer 8th Week 13.06.2007
schindel@informatik.uni-freiburg.de schindel@informatik.uni-freiburg.de