Sunteți pe pagina 1din 4

International Journal of Applied Engineering Research, ISSN 0973-4562 Vol.7 No.11 (2012) Research India Publications; http://www.ripublication.com/ijaer.

htm

Simulation Based Performance Comparison of AODV and DSR Routing Protocols in MANETS
Sahil Gupta1, Sunanda Arora2, Gaurav Banga3 Department Of Electronics And Communication Engineering Geeta Institute of Management & Technology, Kanipla, Kurukshetra, Haryana, India 1sahil.btech.ece@gmail.com 2 Department Of Electronics And Communication Engineering International Institute of Engineering & Technology, Samani, Kurukshetra, Haryana, India 2sunanda.nitk@gmail.com 3 Department Of Electronics And Communication Engineering Institute of Science & Technology, Klawad, Yamunanagar, Haryana, India 3gauravbanga86@gmail.com
1

Abstract Mobile ad-hoc networks (MANETS) are formed by a collection of mobile nodes that have the ability to form a communication network without the help of any fixed infrastructure. Because of the nature of these networks, routing protocols play a prominent role in their scalability and overall performance. Due to limited radio transmission range, multiple hops may be required in order to exchange data among the communicating nodes. So, a key requirement of any efficient routing protocol is to find a route between two communicating nodes quickly and with low bandwidth overheads. This study inspects two MANET protocols (i.e. Ad-hoc On-demand Distance Vector routing (AODV) and Dynamic Source Routing (DSR)) and examines their performance based on variation of node density and mobility. The performance is determined on the basis of throughput and average end-to-end delay with varying node density and mobility. AODV with higher node density shows an extreme degradation in performance. Keywords: MANETS, AODV, DSR.

Due to bandwidth constraints, it is readily understandable that an on demand approach (i.e. the route discovery is initiated only if there is a demand for communication) is often used in wireless ad-hoc network scenarios.

Figure 1: Mobile Ad-hoc Network The most famous routing approach in ad-hoc networks is that of reactive protocols and the most popular on-demand routing algorithms are Ad-hoc On-Demand Distance Vector routing (AODV) [1] and Dynamic Source Routing (DSR) [2]. So, since they are widely used, this paper discusses the impact of random waypoint and a variation of random waypoint with attractions on the performance of AODV and DSR with varying node density and mobility patterns. The network simulator ns-2 [3] is a commonly used tool for MANETS protocol evaluation. In this study, ns-2.35 is used for all simulation results. II. AD-HOC ROUTING PROTOCOLS Several routing protocols have been developed for ad hoc Mobile networks [1] [13]. Such protocols must deal with typical limitations of these networks which include high power consumption, low bandwidth and high error rates. As figure 2 shows the categorization of these routing protocols.

INTRODUCTION A mobile ad-hoc network is a collection of mobile platforms that form a dynamic infrastructure-less communication network wherever it is required. The absence of a fixed infrastructure means that the communicating nodes in the network must also handle routing. Quick and easy establishment of such networks make them feasible to use in military, disaster area recovery and in other environments where no infrastructure exists or it has been destroyed. Routing is a well studied feature of such networks because mobile nodes may move in various directions, which can cause existing links to break and the establishment of new routes. The mobility (i.e. how nodes move) of mobile nodes plays an important role on the performance of routing protocols. Routes between two communicating nodes may consist of multiple hops through other nodes in the network. Therefore, finding and maintaining routes in MANET is nontrivial.

International Journal of Applied Engineering Research, ISSN 0973-4562 Vol.7 No.11 (2012) Research India Publications; http://www.ripublication.com/ijaer.htm destinations, which are then used in source routed data packets (e.g., DSR); or (b) provide only the distances and next hops to destinations, validating them with sequence Numbers (e.g., AODV) or time stamps (e.g., TORA). Hybrid Routing Protocols Based on combination of both table and demand driven Routing protocols, some hybrid routing protocols are proposed to combine advantage of both proactive and reactive protocols. The most typical hybrid one is zone routing protocol [12]. Figure 2: Categorization of ad-hoc routing protocol III. ON-DEMAND ROUTING PROTOCOLS A. Dynamic Source routing (DSR) DSR uses source routing and caching [4] where the sender node includes the complete hop-by-hop route to the destination node in the packet header and routes are stored in a route cache. When a node wants to communicate with another node to which it does not know the route, it initiates a route discovery process with a flooding request of route request (RREQ) packets. Each node receiving the RREQ packets retransmits it unless it is the target node or it knows the route to the destination from its cache. Such a node replies to the RREQ message with a route reply (RREP) packet. The RREP packet takes the traverse path back to the source node established by the RREQ packet. This route is stored in the source node cache for future communication. If any link of this route is broken, the source node is informed by a route error (RERR) packet and this route is discarded from cache. Intermediate nodes store the source route in their cache for possible future use. B. Ad-hoc On-Demand Distance Vector Routing (AODV) AODV is a destination based reactive protocol. This protocol inherits the feature of route discovery from DSR. However, AODV resolves the problem of large headers found in DSR. This problem can cause significant performance degradation especially when the actual data contents are small. AODV maintains routing tables on the nodes instead of including a header in the data packet. The source node initiates the route discovery process in the same way as in DSR. An intermediate node may reply with a route reply (RREP) only if it knows a more recent path than the one known by the sender node to the destination. A destination sequence number is used to indicate how recent the path is as follows. A new route request generated by the sender node is tagged with a higher sequence number and an intermediate node that knows the route to the destination with a smaller sequence number cannot send the RREP message. Forward links are setup when a RREP travels back along the path taken by RREQ. So the routing table entries are used to forward the data packet and the route is not included in the packet header. If an intermediate node is unable to forward the packet to the next hop or destination due to link failures, it generates the route error (RERR) message by tagging it with a higher destination sequence number. When the sender node receives the RERR message, it initiates a new route discovery for the destination node. IV. PERFORMANCE ANALYSIS The following two quantitative [12] performance metrics are used for this study.

Table-Driven Routing Protocols Table-driven routing protocol [1] [8] attempt to maintain consistent, up-to-date routing information from each node to every other node in the network. These protocols require each node to maintain one or more tables to store routing information, and they respond to changes in network topology by propagating updates routes through out the network in order to maintain a consistent network view. The DestinationSequenced Distance- Vector Routing (DSDV) protocol shown in figure 2 is a table driven algorithm that modifies the Bellman-Ford routing algorithm to include timestamps that prevent loop-formation. The Wireless Routing Protocol (WRP) is a distance vector routing protocol which belongs to the class of path-finding algorithms that exchange second-tolast hop to destinations in addition to distances to destinations. This extra information helps remove the counting-to-infinity problem that most distance vector routing algorithms suffer from. It also speeds up route convergence when a link failure occurs. On Demand-Driven Routing Protocols A different approach from table-driven routing is on-demand routing [5] [6] [4]. This type of routing creates routes only when desired by source node. When a node requires a route to a destination, it initiates a route discovery process within the network. This process is completed once a route is found or all possible routes permutations have been examined. Once a route has been established, it is maintained by a route maintenance procedure until either the destination becomes inaccessible along every path from the source or until the route is no longer desired. On-demand routing protocols were designed with the aim of reducing control overhead, thus increasing bandwidth and conserving power at the mobile stations. These protocols limit the amount of bandwidth consumed by maintaining routes to only those destinations for which a source has data traffic. Therefore, the routing is source-initiated as opposed to table driven routing protocols that are destination initiated. There are several recent examples of this approach (e.g., AODV [5], DSR [4], TORA [5], ZRP [12]) and the routing protocols differ on the specific mechanisms used to disseminate flood search packets and their responses, cache the information heard from other nodes searches, determine the cost of a link, and determine the existence of a neighbor. However, all the on-demand routing proposals use flood search messages that either: (a) give sources the entire paths to

International Journal of Applied Engineering Research, ISSN 0973-4562 Vol.7 No.11 (2012) Research India Publications; http://www.ripublication.com/ijaer.htm 1. Average end-to-end delay: Delay caused by latency, buffering, queuing, retransmission and route discovery all are included in this performance analysis. This delay is measured in milliseconds. Throughput: This is the average number of packets delivered per unit time. Throughput of received bits is measured in kilobits per second. 410 400 390 380 370 360 350 340 10 20 30 40 50

2.

End to End Delay(ms)

DSR AODV

V. RELATED WORK AND OBSERVED PROBLEM There is a large number of studies about performance of routing protocols in MANETS for different scenarios [2,5,6,13,14,15] in the literature. In [15], the author mentions that the performance of reactive routing protocols is highly dependent upon the scenario. It was observed during our simulation analysis that AODV and DSR suffers severely with performance degradation with the scenarios considered in our experiments. With increasing node density in a fixed area, the performance of AODV and DSR is affected very badly with all performance metrics taken into consideration for this study VI. RESULTS AND DISCUSSION To evaluate the performance of two protocols, we took two scenarios, in the first the node density was varied by changing the number of nodes in a fixed area and in the second the nodal pause time was varied. Performance analysis with varying node density The key simulation parameters employed in simulating the effect of varying the node density are shown in Table 1. A flat area of 1200*1200 m is chosen with IEEE 802.11b equipped radios and with Two Ray Ground as a propagation model by taking into consideration both direct and indirect paths between communicating nodes. This propagation model would not necessarily give realistic results in a heavily built- up area. A nominal radio coverage range of 250 m is chosen for these experiments. A zero pause time is used to simulate a mobility level with nodes that are continuously moving in the simulation area. Table 1 Simulation parameters with varying node density Parameter Protocols No. of Nodes Area Size Traffic Type Packet Size Queue length Propagation Path loss Model Antenna Type Simulation Time Value AODV, DSR 10,20,30,40,50 1200x1200 m CBR 512 bytes 50 Two Ray Ground Omni-directional 1000 sec

Number of Nodes Figure 1: End-to-End Delay Vs No. Of Nodes

b. From the simulation results in figure 2, it is observed that Throughput decreases linearly with increasing number of nodes for both AODV and DSR. 415 410 405 400 395 390 385 10 20 30 40 50

Throughput(kbps)

DSR AODV

Number of Nodes Figure 2: Throughput Vs No. Of Nodes

Performance analysis with varying mobility The simulation parameters employed in simulations studying the effect on varying the mobility level (lower pause time means higher mobility and vice versa) are shown in Table 2. Table 2: Simulation parameters with varying pause time Parameter Protocols Pause Time Area Size Traffic Type Packet Size Queue length Propagation Path loss Model Antenna Type Simulation Time Value AODV, DSR 5,10,20,30,40 ms 1200x1200 m CBR 512 bytes 50 Two Ray Ground Omni-directional 1000 sec

a. The first analysis is based on varying the number of nodes from 10 to 50 in an area of 1200x1200m. The End-to-End delay shown in Fig1 reveals that DSR shows better performance than AODV as End-to-End delay is lower in DSR as compared to AODV. Higher node density increases the number of neighboring nodes and that causes more route reply messages to the source node and thus increasing delay.

c. The second analysis is based on varying the Pause time. The effect of pause time on end-to-end delay is given in fig 3. We observe that DSR shows the lower delay as compared to AODV. So the performance of DSR protocol is better than the AODV routing protocol.

International Journal of Applied Engineering Research, ISSN 0973-4562 Vol.7 No.11 (2012) Research India Publications; http://www.ripublication.com/ijaer.htm 370 369 368 367 366 365 364 5 10 20 30 40 3561, 2003. [2] D. Johnson, D.A. Maltz and J. Broch, "The dynamic source routing protocol for mobile ad hoc networks (Internet-draft) ", in: Mobile Ad-hoc Network (MANET) Working Group, IETF (1998). [3] http://www.isi.edu/nsnam/ns/doc [4] Xin Yu, "Distributed Cache Updating for the Dynamic Source Routing Protocol," IEEE Transactions on Mobile Computing, vol. 5, no. 6, pp. 609-626, June 2006. [5] Broch, J; Maltz DA, Johnson DB, Hu Y-C, and Jetcheva J. "A performance comparison of multi-hop wireless ad-hoc network routing protocols". Proceedings of the Fourth Annual ACM/IEEE International Conference on Mobile Computing and Networking (Mobicom98), ACM, October 1998. [6] J. Yoon, M. Liu, B. Noble. "Random waypoint considered harmful", Twenty-Second Annual Joint Conference of The IEEE Computer and Communications Societies. INFOCOM 2003. [7] http://www.routingprotokolle.de/Routing/routing_sbr. htm [8] T. Camp, J. Boleng, and V. Davies. " A survey of mobility models for ad hoc network re-search". Wireless Comm. and Mobile Computing (WCMC), 2(5): 483502, 2002. [9] E.M. Royer, P.M. Melliar-Smith, and L.E. Moser. An Analysis of the Optimum Node Density for Ad hoc Mobile Networks, in Proceedings of the IEEE International Conference on Communications (ICC), Helsinki, Finland, June 2001. [10] C. Bettstetter. Smooth is better than sharp: A random mobility model for simulation of wireless networks. In Proceedings of MSWiM01. ACM, July 2001. [11] Bonnmotion: mobility Scenario Generation and Analysis Tool, University of Bonn, Institute of Computer Science, June 2009. [12] S. Corson, J. Macker, Mobile Ad hoc Networking (MANET): Routing Protocol Performance Issues and Evaluation Considerations, IETF RFC 2501, 1999. [13] A. Boukerche, "Performance Evaluation of Routing Protocols for Ad Hoc Wireless Networks Mobile Networks and Applications, 9, 333342, Kluwer Academic Publishers. Manufactured in The Netherlands, 2004. [14] S. R.Das, C.E.Perkins, and E.M.Royer, Performance comparison of two on-demand routing protocols for ad hoc networks, in Proc.,pp. 3-12. INFOCOM 2000. [15] R. Misra and C.R.Manda1, Performance Comparison of AODV/DSR On-demand Routing Protocols for Ad Hoc Networks in Constrained Situation, ICPWC, 2005. [16] S. Kurkowski, T. Camp and M. Colagrosso, MANET Simulation Studies: The Incredibles, SIGMobile Mobile Computing and Communications Review, Volume 9, Number 4, pp. 50-61, 2005.

End to End Delay(ms)

DSR AODV

Pause Time(ms) Figure 3: End-to-End Delay Vs Pause Time d. The effect of pause time on throughput is given in fig 4. 410 409 408 407 406 405 404 403 5 10 20 30 40

Throughput(kbps)

DSR AODV

Pause Time(ms) Figure 4: Throughput Vs Pause Time

We observed that DSR protocol has better throughput as compared to AODV protocol, because of the proper receiving of packets and less packet drop. VII. CONCLUSION This paper provides explanation and simulation analysis of ondemand routing protocols like AODV and DSR for ad-hoc mobile networks and also provides a classification of these protocols according to the routing strategy (i.e. table driven, on-demand and hybrid routing protocol). It has also presented a comparison of these on-demands routing protocol under variation of number of nodes and Pause Time, simultaneously measured performances under various performance metrics including end to end delay and throughput. From different analysis of graphs and simulations it can be concluded that DSR performs well than AODV. DSR protocol shows best results in measuring end to end delay and throughput than AODV protocol. Different initial node position patterns, more sources, additional metrics (such as path length difference from shortest) may be used in future.

REFERENCES [1] C. E. Perkins, B. Royer and S. Das,"Ad hoc On Demand Distance Vector (AODV) Routing", RFC

S-ar putea să vă placă și