Manet Unit-2 Notes
Manet Unit-2 Notes
Manet Unit-2 Notes
Routing is the process of finding the best path for traffic in a network,
or across multiple networks. The role of routing is similar to the road
map for a hotel. In both cases, we need to deliver messages at proper
location and in an appropriate way.
Routing in a mobile ad-hoc network depends on many factors such as:
o Modeling of the topology,
o Selection of routers,
o Initiation of a route request,
o And specific underlying characteristics that could serve as
heuristics in finding the path effectively.
In a MANET, each node or device is expected to serve as a router, and
each router is indistinguishable from another in the sense that all routers
execute the same routing algorithm to compute paths through the entire
network.
Need for Routing
There are following needs for routing:
o Since centralized routing in a dynamic and even for small networks
is impossible therefore routing computation must be distributed.
o Route computation should not add many more nodes.
o If any host demands for the route, they must have quick access.
o Maintenance of a global state should not involve in the route
computation.
o Each node should care about their destination node to its route and
should not be involved in frequent topology updates for those
portions of the network that have no traffic.
o Since broadcast can be time consuming for MANETs, it must be
avoided as much as possible.
o In routing there must have a backup route when the primary route
has become stale.
Routing Classification
Routing protocol can be classified as:
1. Proactive Protocol
2. Reactive Protocol
3. Hybrid Protocol
1. Proactive Protocol
Proactive protocols attempt to evaluate continuously the routes within
the network. It means proactive protocol continuously maintain the
routing information, so that when a packet needs to be forwarded, the
path is known already and can be immediately used. The family of
distance vector protocols is an example of proactive scheme.
The advantage of the proactive schemes is that whenever a route is
needed, there is negligible delay in determining the route.
Unfortunately, it is a big overhead to maintain routing tables in the
MANET environment. Therefore, this type of protocol has following
common disadvantages:
o Requires more amounts of data for maintaining routing
information.
o Low reaction on re-structuring network and failures of individual
nodes.
2. Reactive Protocols
Reactive protocols do not maintain routes but invoke a route
determination procedure only on demand or we can say reactive
protocols build the routes only on demand. Thus, when a route is
required, some sort of global search procedure is initiated. The family of
classical flooding algorithms belongs to the reactive protocol group.
Examples of reactive ad-hoc network routing protocols include ad hoc
on demand distance vector (AODV) and temporally ordered routing
algorithm (TORA).
These protocols have the following advantages:
o No large overhead for global routing table maintenance as in
proactive protocols.
o Reaction is quick for network restructure and node failure.
Even though reactive protocols have become the main stream for
MANET routing, they still have the following disadvantages:
o Latency time is high in route finding
o Excessive flooding can lead to network clogging.
3. Hybrid Protocols
Hybrid protocols attempt to take advantage of best of reactive and
proactive schemes. The basic idea behind such protocols is to initiate
route discovery on demand but at a limited search cost. One of the
popular hybrid protocols is zone routing protocol (ZRP).
Routing protocols may also be categorized as follows:
1. Table-driven protocols
2. Source initiated on -demand protocols
1. Table-driven routing protocol
o These protocols are called table-driven because each node is
destination node.
o The sequence numbers allow the node to distinguish stale routes
route with the most recent sequence number is used. If two updates
have the same sequence number, the route with smaller metric is
used to optimize the routing.
For example the routing table of Node A from the above network is:
A A 0 A46 001000
B B 1 B36 001200
C B 2 C28 001500
does not have a valid route to the latter, the source initiates a route
discovery process.
o Source sends a route request (RREQ) packet to all its neighbors,
the latter forward the request to all their neighbors, and so on, until
either the destination or an intermediate mobile (node) with a
"fresh enough" route to the destination is reached.
The above figure illustrates the propagation of the broadcast request
(RREQs) across the network. Since in DSDV, destination sequence
numbers are used to ensure that all routes are loop free and contain the
most recent route information. Each node has a unique sequence
number and a broadcast ID, which is incremented each time the node,
initiates RREQ.
The broadcast ID, together with the IP address of node, uniquely
identifies every RREQ.
Intermediate mobile reply only if they have a route to the destination
with a sequence number greater than or at least equal to that contained
in the RREQ. To optimize the route performance, intermediate nodes
record the address.
From the above figure, since RREP (route reply packet) travels back on
the reverse path, the nodes on this path set up their forward route entries
to point to the node from which RREP had just been received. These
forward route records indicate the active forward route. The RREP
continues traveling back along the reverse path till it reaches the
initiator of the route discovery. Thus, AODV can support only the use
of symmetric links.
Dynamic Source Routing (DSR)
o Dynamic source routing is an on-demand routing protocol which is
o Route discovery
o Route maintenance
route to the destination. If it does not, it adds its own address to the
route record of the packet and then rebroadcasts the packet on its
outgoing links.
o To minimize the no. of broadcasts, a mobile rebroadcast a packet
only if it has not seen the packet before and its own address was
not already in the route record.