PERFORMANCE COMPARISON OF AODV AND DSR ROUTING PROTOCOL IN MOBILE AD-HOC NETWORK 1 T. NISHI KUMAR SINGH, 2 MRIGANKA BARUAH 1,2 Department of Computer Science & Engineering, NERIST, Nirjuli, Arunachal Pradesh, India Email: speak2nishi@gmail.com, mriganka22@gmail.com Abstract- A mobile ad-hoc network (MANET) is a selforganizing, self-configuring infrastructure less network of mobile devices such as laptops, smart phones, and sensors etc that can communicate with each other over a wireless links and cooperate in a distributed manner in order to provide the necessary network functionality. Any mobile nodes can join or leave the network at anytime without causing network failure in MANET. In this paper, we compare the performance of routing protocols i.e., AODV and DSR in MANET in terms of Packet Delivery Ratio (PDR), Throughput, Average End to End Delay, Jitter, Routing Load, and Routing Frequency by using a fixed number of nodes, by varying the pause time and mobility of nodes using network simulator ns-2.35. Keywords- MANET, AODV, DSR, Throughput, Average End to End Delay, Packet Delivery Ratio (PDR), Jitter, Routing load, Routing frequency. I. INTRODUCTION Mobile Ad-Hoc Network (MANET) is one of the most popular and interesting topic in research area. There are Basically two types of network i.e., infrastructure and infrastructure less network. In infrastructure network, there is a fixed base station that has centralized control over the network whereas in infrastructure less network, nodes cooperate in a distributed manner. Fig. I shows both the infrastructure and infrastructure less network. nodes to their destination. There are many routing protocol that are used to communicate among mobile nodes. In this paper we have used AODV and DSR routing protocols and evaluate the performance of these routing protocols based on throughput, packet delivery ratio, average end to end delay, jitter, routing load, routing frequency by varying the pause time and mobility of nodes. The rest of this paper is organized as follows. In Section II we describe the related works, in Section III we describe different categories under which routing protocols of MANET falls, in Section IV we give the simulation results and in Section V we conclude the paper. II. RELATED WORKS. Fig. 1 Infrastructure and Infrastructure less network. Mobile Ad Hoc Network (MANET) is a collection of communication devices or nodes that wish to communicate without any fixed infrastructure and pre-determined organization of available links. In other words it is a selfconfiguring network of mobile nodes connected by wireless links the union of which forms an arbitrary topology. The nodes are free to move randomly. Thus the networks wireless topology may be unpredictable and may change rapidly. So MANET can be setup at anytime and anywhere. The main challenge among the mobile nodes is how to deliver the packets to the destination node. Routing is the process by which mobile nodes exchange information from one node to another. Nodes that lie within each other s send range can communicate directly and are responsible for dynamically discovering each other. In order to enable Communication between nodes that are not directly within each other s send range, intermediate nodes act as routers that relay packets generated by other Many works have been performed related to performance comparison of different routing protocols in MANET. We focus on those works done on network simulator ns-2. Table 1 below shows the related work: 70
protocol, each node has one or more routing tables that contain the latest information of the routes to any node in the network. Each node broadcast a message to the network if there is any change in the network topology. So routes to all nodes in the network are known in advance. However it suffers from cost overhead as it maintains up-todate information and as a result affects the throughput of the network. Destination Sequenced Distance Vector (DSDV) is one of the routing protocols under this category. Table 1: Related work done in ns-2 simulator It is clear from Table1 that comparative performance evaluation for all the parameters namely Packet Delivery Ratio (PDR), Throughput, Average End to End Delay, Jitter, Routing Load, and Routing Frequency among the routing protocols have not been done in a single paper, also most of the comparisons have been done between proactive and reactive protocols. III. ROUTING PROTOCOLS. Routing protocol plays an important role in delivering the packet from one node to another. Some of the common routing protocols in MANET are AODV, DSDV, DSR, OLSR and many more. All these adhoc routing protocols are categorized into three broad categories that are as follows Fig. 2 Classification of routing protocols in MANET 3.1 Proactive (Table-Driven) Routing Protocols In proactive routing protocol also known as table-driven 3.2 Reactive (On-Demand) Protocols Also known as on-demand routing protocol. It is a reactive protocol as it only requests a route when needed and does not require nodes to maintain routes to the destinations that are not actively used in communication. Thus if a node wants to send a packet to another node then this protocol request a route in an on-demand manner and establishes the connection in order to transmit and receive the packet. Dynamic source Routing (DSR), Ad hoc ondemand distance vector routing (AODV) both are examples of reactive protocols. 3.3 Hybrid Protocols It is a combination of proactive and reactive protocols taking the best features from both worlds. In this hybrid protocol, if nodes are within the range (in terms of distance) of a sending node then it transfers packet based on table driven (proactive) routing protocols and if nodes are out of the range from the sending node then it uses on-demand approach. In this paper, we focus on the following two routing protocols: (A) AODV: The Ad hoc On-Demand Distance Vector routing (AODV) is an on demand or reactive routing protocol in which the sender node first checks its routing table if it has a current route to the destination and if there is no route, the sender node initiates the route discovery process by broadcasting the route request (RREQ) message to its neighbor nodes. The neighbor nodes in turn broadcast the message to their neighbor until the message reaches the intermediate node which has a valid route to the destination or destination node. Once the destination node or the intermediate node receives the RREQ message it replies back by unicasting to the sender node with the route reply (RREP) message AODV also performs route maintenance by using the route error (RERR) message. The local connectivity of MANET is maintained by periodic local broadcast using the Hello message. (B) DSR: The dynamic source routing (DSR) protocol is an on-demand routing protocol based on source routing. In the source routing technique, a sender node partially or completely determines the route to the destination. In DSR every nodes in MANET maintain a route cache. The cache basically contains source routes to the destination. When a sender node wants to send a 71
packet to another node, it first checks the route cache and if route to the destination is found then it directly sends the packet to the destination. Otherwise it initiates a route discovery process which is similar to AODV route discovery process. DSR also checks route maintenance. In route maintenance, after every node maintains its route cache, if a sender node wants to send a packet to the destination and there is a link failure in the route or there is change in the network topology, then the sender node can detect the route failure and it can send packets through different routes it already happens to know or it can newly initiate route discovery scheme to the destination. VI Routing frequency: The aggregate number of route request generated by all sources per second. (C) Simulation Output 1) Table below shows the information obtained from simulating the routing protocol AODV and DSR. Table 2.1 When maxspeed is varied and pausetime is fixed in AODV IV. SIMULATION (A)Simulation Scenarios i). Traffic model We used the constant bit rate (CBR) data source running on top of UDP. The data packet size was 512 bytes. The data transmission rate was 1.5151 packets per second. The numbers of traffic sources were set to 48 sources. ii). Mobility model The mobility model uses the Random Waypoint model. We performed the simulation in two scenarios. In the first scenario, a topology with field area of (1000m x 1000m) and fixed number of nodes i.e., 120 nodes moving with 0 pause time and varying speeds (1, 2, 3, 4 and 5) m/s are created. In the second scenario, a topology with field area of (1000m x 1000m) and fixed number of nodes i.e., 120 nodes moving with fixed speed 1 m/s and varying pause time (10, 20, 30, 40 and 50) sec are created. The total simulation time in both the cases is 120 seconds. (B) Performance Metrics: I Packet Delivery Ratio (PDR): It is a measure to determine how much packet is received to the total packet sent. PDR = Total packet received Total packet Sent II Average End to End Delay: It is a measure to determine how much average time is taken by a packet from the source node to reach the destination node. It is measured in seconds. III Throughput: It is a measure to determine how much packets are sent per unit time. It is measured in Kilobits per second. Throughput = Total packet size Simulation time IV Jitter: It is a measure that determines average variation in the received time of data packets. V Routing Load: It is a measure that determines how much route packets are to be sent for route discovery and route maintenance so that data packets can propagate. Table 2.2 When pausetime is varied and maxspeed is fixed in AODV Table 2.3 When maxspeed is varied and pausetime is fixed in DSR Table 2.4 When pausetime is varied and maxspeed is fixed in DSR 2) The graphical representation obtained from the comparison of AODV and DSR in terms of Packet Delivery Ratio, Throughput, End to End Delay, Jitter, Routing Load and Routing Frequency with varying mobility and pause time are shown in the figures below: Case 1: In AODV and DSR, when maxspeed is varied and pausetime is fixed. Fig. 3 Average End to End Delay Vs Maxspeed 72
Fig. 4 Packet Delivery Ratio Vs Maxspeed Fig. 8 Routing Frequency Vs Maxspeed Case 2: In AODV and DSR, when pause time is varied and maxspeed is fixed. Fig. 5 Jitter Vs Maxspeed Fig. 9 Average End to End Delay Vs Pause time Fig. 6 Throughput Vs Maxspeed Fig. 10 Packet Delivery Ratio Vs Pause time Fig. 7 Routing Load Vs Maxspeed Fig. 11 Jitter Vs Pause time 73
Fig. 12 Throughput Vs Pause time mobility of node increases whereas when the pause time is varied both AODV and DSR are approximately same. DSR has higher Packet Delivery Ratio, Jitter, and Routing Frequency in both the scenarios. However both the Average End to End Delay and Routing Load of AODV is better in both the scenarios. Generally, we can conclude that in high mobility, DSR outperforms AODV routing protocol. Poor performances of DSR routing protocol, when mobility are increased, are the consequence of aggressive use of caching and lack of any mechanism to expire stale routes or determine the freshness of routes when multiple choices are available. Also it can be concluded that DSR outperforms AODV when pause time increases. Thus from the above simulation the overall performance of DSR is better than AODV. REFERENCES Fig. 13 Routing Load Vs Pause time [1] Ankur Lal, Dr.Sipi Dubey, Mr.Bharat Pesswani. Reliability of MANET through the Performance Evaluation of AODV, DSDV, DSR, International Journal of Advanced Research in Computer Science and Software Engineering,, Volume 2, Issue 5, May 2012. [2] Md Foyzer Mondal,Akshai Aggarwal, Study of MANET Routing Protocols by Glomosim Simulator. [3] Asma Tuteja, Rajneesh Gujral, Sunil Thalia, Comparative Performance Analysis of DSDV, AODV and DSR Routing Protocols in MANET using NS2 2010 International Conference on Advances in Computer Engineering. [4] Bhavyesh Divecha, Ajith Abraham, Crina Grosanand Sugata Sanyal, Impact of Node Mobility on MANET Routing Protocols Models. Fig. 14 Routing Frequency Vs Pause time D) Comparison results of AODV and DSR: The comparison results of AODV and DSR are shown in the table below: Table 3 Comparison of AODV and DSR [5] K. Prabu1, Dr. A. Subramani, Performance Comparison of Routing Protocols in MANET, International Journal of Advanced Research in Computer Science and Software Engineering, Volume 2, Issue 9, September 2012. [6] Jeroen Hoebeke, Ingrid Moerman, Bart Dhoedt and Piet Demeester, An Overview of Mobile Ad Hoc Networks: Applications and Challenges. [7] Sunil Taneja, Ashwani Kush, A Survey of Routing Protocols in Mobile Ad hoc Networks, International Journal of Innovation, Management and Technology, Vol. 1, No. 3, August 2010. [8] AODV, internet draft, http://tools.ietf.org/html/draftietfmanetaodv- 09. [9] Hemanth Narra, Yufei Cheng,Egemen K. Çetinkaya, Justin P. Rohrer and James P.G. Sterbenz Destination-Sequenced Distance Vector (DSDV) Routing Protocol Implementation in ns-3. CONCLUSION In the simulation result, the performance of AODV and DSR is examined with respect to following six performance metrics namely, packet delivery ratio, throughput, average end to end delay, jitter, routing load (routing overhead) and routing frequency. In terms of throughput, AODV is better than DSR when [10] AkshaiAggarwal,SavitaGandhi,NirbhayChaubey, Performa nc e Analysis of AODV,DSDV and DSR in MANETs. [11] P. Manickam T. Guru Baskar, M.Girija, Dr.D.Manimegala Performance Comparisons of Routing Protocols in Mobile Ad- Hoc Networks. [12] Sabina Barakovic, Suad Kasapovic, and Jasmina Barakovic, Comparison of MANET Routing Protocols in Different Traffic and Mobility Models, Telfor Journal, Vol. 2, No. 1, 2010. 74
[13] Ginni Tonk, Indu Kashyap, S.S. Tyagi Performance Comparison of Ad-Hoc Network Routing Protocols using NS-2, International Journal of Innovative Technology and Exploring Engineering (IJITEE)ISSN: 2278-3075,Volume- 1, Issue-1, June 2012. [14] Chenna Reddy, P.; ChandraSekhar Reddy, P.,"Performance Analysis of Adhoc Network Routing Protocols,"ISAUHC '06, International Symposium on Ad Hoc andubiquitous Computing, vol., no., pp.186-187, 20-23 Dec. 2006. [15] Kapang Lego, Pranav Kumar Singh, Dipankar Sutradhar, Comparative Study of Adhoc Routing Protocol AODV, DSR and DSDV in Mobile Adhoc NETwork, Indian Journal of Computer Science and Engineering Vol. 1 No. 4 364-371, 2011. [16] Guntupalli Lakshmikant, A Gaiwak, P.D. Vyavahare, Simulation Based Comparative Performance Analysis of Adhoc Routing Protocols, in proceedings of TENCON 2008. [17] Deepak Kumar, Ashutosh Srivastava, S C Gupta Performance Comparison of DSDV and AODV Routing Protocols in MANETS International Journal of Electronics Communication and Computer Technology (IJECCT) Volume 2 Issue 3 (May 2012. [18] Li Layuan, Li Chunlin, Yaun Peiyan, Performance evaluation and simulation of routing protocols in ad hocnetworks, Computer Communications 30 (2007) 1890-1898. [19] Vijayalaskhmi M. Avinash Patel, Linganagouda Kulkarni, QoS Parameter Analysis on AODV and DSDV Protocols in a Wireless Network, International Journal of Communication Network and Security, Volume-1, Issue-1, 2011. 75