Documente Academic
Documente Profesional
Documente Cultură
Abstract information for all links between any two nodes inside
the same network.
In this project we aim to implement a new algorithm for Routing table calculation. Based on TC messages
the selection of Multi Point Relays (MPRs) in the OLSR received from other nodes, a node is able to compute
protocol. This would involve detailed background study its shortest-path routes to all reachable nodes in the
about wireless mesh networks and the OLSR protocol.
network, by using an algorithm similar to the
Further we will describe the proposed algorithm to
update the MPR tables maintained by the OLSR Dijkstra‟s algorithm. The shortest-path in terms of the
protocol and the procedure for implementing this on a number of hops is used for route calculation in OLSR.
router. We also aim to provide a comparison between
the performance of two networks, one running on Furthermore, two other messages are defined in OLSR, i.e.
conventional OLSR and the other with the modified Multiple Interface Declaration (MID), and Host and
OLSR. Network Association (HNA). MID messages are used when
a node is equipped with multiple interfaces, i.e. multiple
1. Introduction
wired or wireless cards. However, only one interface is
selected as the ID (main address) of the node. HNA
OLSR protocol (Optimized Link State Routing Protocol) is
messages are used when a node functions as a gateway
a classic table driven, proactive protocol that works
node, and it is especially useful when an ad hoc network is
efficiently. The routing strategy of OLSR protocol is
connected to the Internet. Gateway here means the nodes
similar to traditional routing protocols. Each node
which provide connectivity between an ad-hoc and external
broadcasts control packets periodically, exchanges nodes‟
networks, e.g. the Internet.
information and discovers routes proactively and
independently. Compared with the classical flooding
OLSR maintains the following set of tables:
mechanism, OLSR protocol reduces routing overhead with
the help of its key concept – MPR (Multi Point Relay). Tables Details
Each node in the network selects part of its symmetric Neighbor table State of neighbors
neighbors as MPR with MPR selection algorithm. Only 2 Hop Neighbor table State of 2 hop neighbors
MPRs are allowed to diffuse topology information. An MPR table Information about MPR of
optimization is achieved by minimizing the number of own node
control messages flooded in the network. MPR also reduces MPR selector table Neighboring nodes which
the size of the topology control message by reporting links select this node as their
MPR
between itself and its MPR selectors instead of links to all
Topology table Information acquired from
symmetric neighbors. TC messages received
Routing table Routing information
OLSR operates in three main steps: Duplicate table Information about most
Neighbor sensing. This is achieved by exchanging recently received messages
HELLO messages between all one-hop neighbors in a
network. Through periodic HELLO messages received
from its one-hop neighbors, a node is able to select its 2. Proposed Modification
MPRs. Then a link state database and a neighborhood
database are established by each node based on The existing MPR tables can be optimized by using this
neighbor sensing. algorithm that generates a reduced set of MPRs which
TC messages dissemination. Each node, through its result in reduced overhead in the network when link state
MPRs, periodically advertises its link information to information is transmitted to all the nodes in the network.
all other nodes inside the network. As a consequence,
all nodes inside a network have necessary topology The existing method of selecting MPRs is based on Greedy
Algorithm. Its step could be stated as follows.
Step 1: Select all one hop neighbors that could provide reach-ability to some nodes in the set of second
the only reach ability to some two hop neighbors as hop neighbors, select these nodes as MPRs. Then
MPRs. delete all two hop neighbors that are covered by
Step 2: If there are still some two hop neighbors that these nodes from N2(x). Now if there is no node
are not covered by MPR, select that one hop neighbor in N2(x) then stop else go to step 3
which covers the most uncovered two hop neighbors Step 3: Recalculate D(x,y) for all nodes in N(x)
as MPR. Now repeat this step until all two hop and choose the nodes with the minimal degree. If
neighbors are covered by MPRs. there is only one node with minimal degree delete
it from N(x) and recalculate D(x,y) for all nodes
Fig.1 below is an example of selecting MPRs using the in N2(x) and go to step 2, else using rule I break
above heuristic. As shown in the figure the one hop the tie and delete the selected node from N(x).
neighbor set of A includes the nods {B C D E F} while Now again recalculate D(x,y) for all nodes in
MPR set of A is {B C D}. N2(x) and go to step 2.
Rule I:
6. References
[1] Yan Wen, Guo Wein and Liu Jun, “An Implementation
and Study of OLSR protocol in Linux OS”, 4th
International Conference on Wireless Communications,
Networking and Mobile Computing 2008, WiCom ‟08, Oct
2008.