Beruflich Dokumente
Kultur Dokumente
Qamar A Tarar
OLSR Protocol
Problems in MANETs
Scalability QoS
Security
Interoperation with the Internet Limited Battery Life Node Mobility Unreliable radio channel Hidden terminal problem Route maintenace Unpredictable link properties
Qamar A Tarar
OLSR Protocol
Table-Driven/ Proactive
Hybrid
On-Demanddriven/Reactive
DSR AODV TORA
Clusterbased/ Hierarchical
LANMAR CEDAR
DistanceVector
DSDV
LinkState
OLSR TBRPF FSR STAR
ZRP
CBRP
MANET: Mobile Ad hoc Network (IETF working group)
OLSR Protocol 3
Qamar A Tarar
+ Routes to all reachable nodes in the network available. + Minimal initial delay for application. - Larger signalling traffic and power consumption.
Reactive Routing Protocols (DSR, CBR etc)
+ Smaller signalling traffic and power consumption. - A long delay for application when no route to the destination available
Qamar A Tarar
OLSR Protocol
Structure
OLSR
Overview Multipoint relays Neighbor sensing MPR selection MPR information declaration Routing table calculation Extensions in OLSR
Conclusions
Qamar A Tarar
OLSR Protocol
Overview
OLSR
Developed by IETF Table driven Inherits Stability of Link-state protocol Selective Flooding Periodic Link State Information generated only by MPR MPRs employed for optimization
Qamar A Tarar
OLSR Protocol
Qamar A Tarar
OLSR Protocol
OLSR Overview
In LSR
protocol a lot of control messages unnecessary duplicated
In OLSR
only MPR retransmit control messages:
Qamar A Tarar
OLSR Protocol
Qamar A Tarar
OLSR Protocol
Description of OLSR
Qamar A Tarar
OLSR Protocol
10
Neighbor sensing
Each node periodically broadcasts Hello message:
Qamar A Tarar
OLSR Protocol
11
Also every entry in the table has a timestamp, after which the entry in not valid
Qamar A Tarar
OLSR Protocol
12
Reduce re-transmission in the same region Each node select a set of MPR Selectors MPR Selectors of node N - MPR(N)
- one-hop neighbors of N
Qamar A Tarar
OLSR Protocol
13
Reduce re-transmission in the same region Each node select a set of MPR Selectors MPR Selectors of node N - MPR(N)
- one-hop neighbors of N
N
MPR set of Node N
Set of MPRs is able to transmit to all two-hop neighbors Link between node and its MPR is bidirectional.
Qamar A Tarar
OLSR Protocol
14
Qamar A Tarar
OLSR Protocol
15
Available BW OLSR: node B will select C as its MPR So all the other nodes know that they can reach B via C D->B route is D-C-B, whose bottleneck BW is 3
10
3
40 110 50
60
25
10
100
30
Qamar A Tarar
OLSR Protocol
16
Available BW OLSR: node B will select C as its MPR So all the other nodes know that they can reach B via C D->B route is D-C-B, whose bottleneck BW is 3
10
3
40 110 50
60
25
10
100
30
17
Optimal route (i.e., path with maximum bottleneck bandwidth: D-F-B (bottleneck bandwidth of 10)
Qamar A Tarar OLSR Protocol
Multi-Point Relays/routers
Qamar A Tarar
OLSR Protocol
18
Qamar A Tarar
OLSR Protocol
19
As devices move
Qamar A Tarar
OLSR Protocol
20
As devices move
Topological relationships change Routes change Backbone shape and composition changes
Qamar A Tarar
OLSR Protocol
21
Sent periodically. Message might not be sent if there are no updates and sent earlier if there are updates Contains: MPR Selector Table
Sequence number
Qamar A Tarar
OLSR Protocol
22
Topology Table
Destination address Destinations MPR MPR Selector sequence number Holding time
Qamar A Tarar
OLSR Protocol
23
If there exist some entry to the same destination with higher Sequence Number, the TC message is ignored If there exist some entry to the same destination with lower Sequence Number, the topology entry is removed and the new one is recorded If the entry is the same as in TC message, the holding time of this entry is refreshed If there are no corresponding entry the new entry is recorded
Qamar A Tarar
OLSR Protocol
24
Routing Table
Each node maintains a routing table to all known destinations in the network Routing table is calculated from Topological Table, taking the connected pairs Routing table:
Routing Table is recalculated after every change in neighborhood table or in topological table
Qamar A Tarar
OLSR Protocol
25
Extensions in OLSR
Qos OLSR Fast OLSR Towards IPv6 OLSR Power saver mode Change in the contents of TC packet
Qamar A Tarar
OLSR Protocol
26
Qamar A Tarar
OLSR Protocol
27
But..
Little work has been done to analyse the impact of the additional overhead on pro-active QoS routing
Qamar A Tarar OLSR Protocol 28
3
40
30
Qamar A Tarar
OLSR Protocol
29
10
3 10
OLSR_R2: select the best BW neighbors as MPRs until all the 2-hop neighbors are covered.
Node 1 Hop Neighbors 2 Hop Neighbors MPR(s) B A,C,F,G D,E F
60
25
MPR(s) A,F
30
OLSR Protocol
Qamar A Tarar
OLSR Protocol
31
Performance Metrics
Error rate: percentage of routes with non-optimal bandwidth Average difference: for routes with non-optimal bandwidth, how far off the optimal bandwidth are we Overhead: the average number of control messages transmitted per node MPR count: average number of MPRs in the network
Qamar A Tarar
OLSR Protocol
32
Experimental Results
Algorithm Transmissi on Range
300 M 200 M 100 M
OLSR_R1
Performace
Error Rate 28% 41% 12% 14% 21% 8% 0% 0% 0% 0% 0% 0% 0% 0% 0% Average difference 46% 51% 45% 22% 26% 44% 0% 0% 0% 0% 0% 0% 0% 0% 0% Overhead 12 24 5 12 24 5 18 33 5.7 26 38 5.7 1245 979 28
Cost
MPR Count 65 68 42 65 68 42 70 72 45 71 73 44 100 100 100
Standard OLSR
OLSR_R2
OLSR_R3
Algorithm
Qamar A Tarar
OLSR Protocol
33
Fast OLSR
However In dense network, due to fast node Mobility, links valid only for short time period.
Qamar A Tarar
OLSR Protocol
34
Qamar A Tarar
OLSR Protocol
35
To operate with IPv6, the only required change is to replace the IPv4 addresses with IPv6 address.
The minimum packet and message sizes should be adjusted accordingly, considering the greater size of IPv6 addresses.
Qamar A Tarar
OLSR Protocol
36
A node can indicate if it agrees to keep the packets of its neighbors Any node, who wants to go in sleep mode, will select ONLY that neighbor as MPR who can keep its packets TC packet will diffuse this info, and all data packets will be routed through that power saver node
Qamar A Tarar
OLSR Protocol
37
Instead of advertising its set of MPRs, a node will list its neighbors who has selected him as an MPR Many nodes (loosely connected, or at the boundaries) will not be selected MPR any node. So they will not send any TC (25% less overhead) Less frequent changes in this set
Qamar A Tarar
OLSR Protocol
38
Conclusions
Advantages
Route immediately available Reactivity to topological changes can be adjusted by setting the time interval for HELLO messages Minimize flooding by using MPR
Disadvantages
Bigger overhead
Qamar A Tarar
Readings
G. Pei, M. Gerla, and X. Hong, " LANMAR: Landmark Routing for Large Scale Wireless Ad Hoc Networks with Group Mobility," In Proceedings of IEEE/ACM MobiHOC 2000, Boston, MA, Aug. 2000. R. Ogier, F. Templin, M. Lewis, " Topology Dissemination Based on Reverse-Path Forwarding (TBRPF) ," IETF Internet Draft , July 28 2003. Thomas Clausen, Philippe Jacquet, " Optimized Link State Routing Protocol (OLSR) ," IETF Internet Draft , July 3 2003. X. Hong, K. Xu, and M. Gerla, " Scalable Routing Protocols for Mobile Ad Hoc Networks " IEEE Network Magazine, July-Aug, 2002, pp. 11-21 Thomas Kunz,Ying Ge, Louise Lamont, Quality of Service Routing in Ad-Hoc Networks Using OLSR Carleton University, CRC,2002 M Benzaid, P Minet and K A Agha, Integrating fast mobility in the OLSR routing protocol INRIA, LRI, France,September 2002.
OLSR Protocol 40
Qamar A Tarar
Q&A
Qamar A Tarar
OLSR Protocol
41