Algorithm
Algorithm
ISSN: 2278-0181
NCETRASECT-2015 Conference Proceedings
Abstract:- A Mobile Ad-Hoc Network (MANET) is a which it discovers and maintains the route. In every routing
collection of wireless mobile nodes forming a temporary protocol, there is a data structure which stores the
network without using any centralized access point or information of route and modifies the table as route
administration. MANET protocols have to face high maintenance is requires. A routing metric is a value used
challenges due to dynamically changing topologies, low by a routing algorithm to determine whether one route
transmission power and asymmetric links of network. The should perform better than another. Metrics can cover such
widely accepted existing routing protocols designed to information as bandwidth, delay, hop count, path cost,
accommodate the needs of such self-organized networks do load, reliability and communication cost. The routing table
not address possible threats aiming at the disruption of the stores only the best possible routes while link-state or
protocol itself. In this paper an attempt has been made to topological databases may store all other information as
compare the performance of two On-demand reactive routing well [3][7][9].
protocols namely AODV and DSR and a proactive routing The main objective of ad-hoc routing protocols is to deliver
protocol namely DSDV in different scenarios under CBR data packets among mobile nodes efficiently without
traffic patterns considering End-to-End delay, Packet
predetermined topology or centralized control. The various
mobile ad-hoc routing protocols have been proposed and
Delivery Ratio, and Throughput metrics for performance
have their unique characteristics. Hence, in order to find
analysis and the simulator used is NS-2 in Ubuntu operating
out the most efficient routing protocol for the highly
system(Linux).The simulations are carried out by varying the
dynamic topology in ad-hoc networks, the behaviour of
packet size, number of maximum connecting nodes, varying
routing protocols has to be analyzed under different traffic
number of nodes and the results are analyzed
patterns respect to their metrics [4].
Keywords: - MANET, DSDV, AODV, DSR, CBR.
1. MOBILE AD-HOC ROUTING PROTOCOLS
I. INTRODUCTION
There are two main approaches for routing process in ad-
hoc networks[10]. The first approach is a proactive
An Ad-Hoc network is a collection of wireless mobile
approach which is table driven and attempt to maintain
nodes dynamically forming a temporary network without
consistent, up-to-date routing information from each node
the use of existing network infrastructure or centralized
to every other node in the network. Proactive protocols
administration [1][2]. MANET is a kind of wireless
present low latency, but high routing overhead, as the
network and self configuring network of moving routers
nodes periodically exchange control messages and routing-
associated with wireless network. The routers are free to
table information in order to keep up-to-date route to any
move randomly and organize themselves arbitrarily, thus,
active node in the network. The second approach is re-
the network's wireless topology may change rapidly and
active, source-initiated or on-demand. Reactive protocols
unpredictably [1][3]. Main challenges to maintain the
create routes only when desired by the source node. When
Mobile Ad-Hoc network are: No central controlling
a node requires a route to a destination, it initiates a route
authority, limited power ability, continuously maintain the
discovery process within the network. Reactive protocols
information required to properly route traffic.
do not maintain up-to-date routes to any destination in the
This infra-structure less network is managed using the
network and do not generally exchange any periodic
routing protocols. Routing is the process of selecting paths
control messages. Thus, they present low routing overhead,
in a network along which to send data or physical traffic.
but high latency as compared to proactive protocols. The
Routing directs the passing of logically addressed packets
DSDV is a proactive protocol and AODV, DSR, and
from their source toward their ultimate destination through
TORA are reactive protocols. The mobile ad-hoc routing
intermediary nodes. So routing protocol is the routing of
protocols considered in this study are AODV, DSR, and
packets based on the defined rules and regulations. Every
DSDV [4].
routing protocol has its own algorithm on the basis of
5. SIMULATION RESULTS AND THEIR Figure 2(a): Average End-To-End Delay for AODV, DSR, and DSDV by
PERFORMANCE ANALYSIS varying number of connection.
Two On-demand (Reactive) routing protocols namely Ad Average End to End Delay: The performance of DSR first
hoc On-Demand Distance Vector Routing (AODV) and decrease and then increases with increasing number of
Dynamic Source Routing (DSR) and one Table-driven nodes. It also degrades with increasing nodes for network
(Proactive) namely Destination Sequenced Demand but at coming to the end both remains the same with
Vector (DSDV) is used. The mobility model used is decreasing the number of nodes for AODV the delay is low
Random waypoint mobility model because it models the at first than it increase with the increasing the number of
random movement of the mobile nodes. nodes. AODV shows better performance than DSDV &
DSR.
Table 1: Simulation Setup
Platform Ubuntu
NS version Ns-allinone-2.35
Pause time 0,40,80,120,160,200
Simulation time 200ms
Number of nodes 10,30
Traffic pattern CBR(Constant Bit Rate)
Transmission Range 250m
Simulation Area Size 500 * 500
Node speed 20 m/s
Mobility model Random way point
Interface type LL
Figure 2(c): Packet Delivery Ratio for AODV, DSR, and DSDV by
varying number of connection.
Figure 3(a): Average End-To-End Delay for AODV, DSR, and DSDV by
Packet Delivery Ratio: performance of AODV & DSR varying speed of the node in the network.
remains constant for increasing number of nodes, Where as
DSDV performs the increase with decrease then remains Average End To End Delay: AODV & DSR performs
with increasing the number of nodes. almost same, where as DSDV shows least performance and
DSR performs constantly when the speed of nodes
Scenario 2: In this scenario, total number of nodes in the changes. Whereas AODV performs better than DSDV.
network at a time remains fixed and thus varying speed of
the node with which they are moving in the network.
PARAMETER VALUE
Number of Nodes 100
Simulation Time 100 sec
Routing Protocol AODV,DSDV,DSR
Simulation Model Two Ray Ground
MAC Type 802.11
No. of connection 50
Link Layer Type LL
Interface Type Queue
Traffic Type CBR
Packet size 512 MB
Queue Length 50
Pause Time 10 sec Figure 3(b): Throughput for AODV, DSR, and DSDV by varying speed of
Node speed 10,30,50,70,90 m/s the node in the network.
Figure 3(c): Packet Delivery Ratio for AODV, DSR, and DSDV by
varying speed of the node in the network. Figure 4(a): Average End-To-End Delay for AODV, DSR, and DSDV by
varying packet size in the network.
Packet Delivery Ratio: DSDV performs with decrease in
Average End To End Delay: The performance of AODV,
increasing with the speed of nodes and AODV & DSR
DSDV & DSR remains constant for increasing packet size
performs constantly in all condition where as AODV
but AODV performs and show better than DSR & DSDV.
performs better than both DSDV & DSR routing protocols.
PARAMETER VALUE
Number of Nodes 30
Simulation Time 50 sec
Routing Protocol AODV,DSDV,DSR
Simulation Model Two Ray Ground
MAC Type 802.11
No. of connection 10
Link Layer Type LL
Interface Type Queue
Traffic Type CBR
Packet size 28,38,48,98,128 MB
Queue Length 50
Pause Time 00 sec Figure 4(b): Throughput for AODV, DSR, and DSDV by varying packet
Node speed 20 m/s size in the network.
7. REFERENCES