Implementing and Comparing DSR and DSDV Routing Protocols of Mobile Ad-Hoc Networks using NS2 Simulator

Similar documents
Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

A Comparison Study of Qos Using Different Routing Algorithms In Mobile Ad Hoc Networks

Formal Measure of the Effect of MANET size over the Performance of Various Routing Protocols

Step by Step Procedural Comparison of DSR, AODV and DSDV Routing protocol

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

NetworkPathDiscoveryMechanismforFailuresinMobileAdhocNetworks

COMPARATIVE ANALYSIS OF ON -DEMAND MOBILE AD-HOC NETWORK

Fast and Secure Data Transmission by Using Hybrid Protocols in Mobile Ad Hoc Network

Performance Evaluation of Aodv and Dsr Routing Protocols for Vbr Traffic for 150 Nodes in Manets

Study of Network Characteristics Incorporating Different Routing Protocols

SIMULATION STUDY OF BLACKHOLE ATTACK IN THE MOBILE AD HOC NETWORKS

Optimization of AODV routing protocol in mobile ad-hoc network by introducing features of the protocol LBAR

Study And Comparison Of Mobile Ad-Hoc Networks Using Ant Colony Optimization

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

Comprehensive Evaluation of AODV, DSR, GRP, OLSR and TORA Routing Protocols with varying number of nodes and traffic applications over MANETs

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

PERFORMANCE ANALYSIS OF AD-HOC ON DEMAND DISTANCE VECTOR FOR MOBILE AD- HOC NETWORK

Keywords- manet, routing protocols, aodv, olsr, grp,data drop parameter.

Investigating the Performance of Routing Protocols Using Quantitative Metrics in Mobile Ad Hoc Networks

DESIGN AND DEVELOPMENT OF LOAD SHARING MULTIPATH ROUTING PROTCOL FOR MOBILE AD HOC NETWORKS

Security and Scalability of MANET Routing Protocols in Homogeneous & Heterogeneous Networks

An Extended AODV Protocol to Support Mobility in Hybrid Networks

Performance Comparison of AODV, DSDV, DSR and TORA Routing Protocols in MANETs

Achieving Energy Efficiency in MANETs by Using Load Balancing Approach

Security Threats in Mobile Ad Hoc Networks

LIST OF FIGURES. Figure No. Caption Page No.

A Study of Internet Connectivity for Mobile Ad Hoc Networks in NS 2

Keywords: DSDV and AODV Protocol

CHAPTER 6. VOICE COMMUNICATION OVER HYBRID MANETs

ADAPTIVE LINK TIMEOUT WITH ENERGY AWARE MECHANISM FOR ON-DEMAND ROUTING IN MANETS

Energy-Aware Performance Metric for AODV and DSDV Routing Protocols in Mobile Ad-Hoc Networks

Performance Analysis of Load Balancing in MANET using On-demand Multipath Routing Protocol

VoIP over MANET (VoMAN): QoS & Performance Analysis of Routing Protocols for Different Audio Codecs

IJMIE Volume 2, Issue 7 ISSN:

Delay aware Reactive Routing Protocols for QoS in MANETs: a Review

Position and Velocity Aided Routing Protocol in Mobile Ad Hoc Networks

Control overhead reduction: A Hierarchical Routing Protocol In Mobile Ad hoc Networks

PERFORMANCE ANALYSIS OF AODV, DSR AND ZRP ROUTING PROTOCOLS IN MANET USING DIRECTIONAL ANTENNA

INTELLIGENT LOAD BALANCING IN MOBILE AD HOC NETWORKS. A Thesis by. Varun Khanna. Bachelor of Technology, Kurukshetra University, India, 2004

ROUTE MECHANISMS FOR WIRELESS ADHOC NETWORKS: -CLASSIFICATIONS AND COMPARISON ANALYSIS

Ad hoc On Demand Distance Vector (AODV) Routing Protocol

Simulation Analysis of Different Routing Protocols Using Directional Antenna in Qualnet 6.1

An Efficient AODV-Based Algorithm for Small Area MANETS

Security Scheme for Distributed DoS in Mobile Ad Hoc Networks

1 M.Tech, 2 HOD. Computer Engineering Department, Govt. Engineering College, Ajmer, Rajasthan, India

CHAPTER 8 CONCLUSION AND FUTURE ENHANCEMENTS

A Survey: High Speed TCP Variants in Wireless Networks

An Efficient QoS Routing Protocol for Mobile Ad-Hoc Networks *

II RELATED PROTOCOLS. Dynamic Source Routing (DSR)

ISSN: (Online) Volume 2, Issue 4, April 2014 International Journal of Advance Research in Computer Science and Management Studies

International Journal of Wireless & Mobile Networks (IJWMN) Vol. 4, No. 2, April 2012

Location-Aided Routing (LAR) in mobile ad hoc networks

POWER AWARE QOS MULTIPATH ROUTING PROTOCOL FOR DISASTER RECOVERY NETWORKS

International Journal of Advanced Research in Computer Science and Software Engineering

Optimized Load Balancing Mechanism Using Carry Forward Distance

Performance of VoIP strategies for hybrid Mobile Ad Hoc Networks

PERFORMANCE OF MOBILE AD HOC NETWORKING ROUTING PROTOCOLS IN REALISTIC SCENARIOS

Internet Connectivity for Ad hoc Mobile Networks

Performance comparison and analysis of routing strategies in Mobile ad hoc networks

Technology Longowal, Punjab, India

International Journal of Advanced Research in Computer Science and Software Engineering

A Review Paper on Preventing DDOS Attack and Black Hole Attack with MANETs Protocols

SECURE DATA TRANSMISSION USING INDISCRIMINATE DATA PATHS FOR STAGNANT DESTINATION IN MANET

A Workload-Based Adaptive Load-Balancing Technique for Mobile Ad Hoc Networks

Intelligent Agents for Routing on Mobile Ad-Hoc Networks

A Performance Comparison of Routing Protocols for Large-Scale Wireless Mobile Ad Hoc Networks

Adaptive Multiple Metrics Routing Protocols for Heterogeneous Multi-Hop Wireless Networks

Cross Layer TCP Congestion Control Load Balancing Technique in MANET

LOAD BALANCING AND EFFICIENT CLUSTERING FOR IMPROVING NETWORK PERFORMANCE IN AD-HOC NETWORKS

CHAPTER 6 SECURE PACKET TRANSMISSION IN WIRELESS SENSOR NETWORKS USING DYNAMIC ROUTING TECHNIQUES

Modified AODV protocol for prevention of Denial of service attacks in wireless Ad hoc networks

Load-balancing Approach for AOMDV in Ad-hoc Networks R. Vinod Kumar, Dr.R.S.D.Wahida Banu

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Dynamic Source Routing in Ad Hoc Wireless Networks

Security in Ad Hoc Network

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

Comparing the Performance of the Ad Hoc Network under Attacks on Different Routing Protocol

An Implementation of Secure Wireless Network for Avoiding Black hole Attack

Autoconfiguration and maintenance of the IP address in ad-hoc mobile networks


Multipath Routing in Mobile Ad Hoc Networks: Issues and Challenges

Network Lifetime Analysis of AODV, DSR and ZRP at Different Network Parameters

Comparative Study of Delay-Oriented and Hybrid Load Balancing Routing Protocols in Mobile Ad Hoc Networks

Gateway Load Balancing in Integrated Internet- MANET to Improve Network Performance

EXTENDING NETWORK KNOWLEDGE: MAKING OLSR A QUALITY OF SERVICE CONDUCIVE PROTOCOL

Comparison of Various Passive Distributed Denial of Service Attack in Mobile Adhoc Networks

`PERFORMANCE COMPARISON OF ENERGY EFFICIENT AODV PROTOCOLS

Robust Routing in Wireless Ad Hoc Networks

Evaluating the performance of secure routing protocols in Mobile Ad-hoc Networks

Performance Evaluation of Mobility Speed over MANET Routing Protocols

ISSUES AND CHALLENGES OF QUALITY OF SERVICE IN MOBILE ADHOC NETWORK

Transcription:

Implementing and Comparing and Routing Protocols of Mobile Ad-Hoc Networks using NS2 Simulator Charu Bhatia Mona Nandwani Nidhi Vandana Negi Kavita Sheoran ABSTRACT MANETs consists of mobile nodes that dynamically form a network temporarily without any support of central administration. MANET is a self organized and self configurable network. Moreover, each node in MANET moves arbitrarily, making routing a crucial issue. This paper presents the performance evaluation of Dynamic Source Routing () and Destination-Sequenced Distance Vector () routing protocols based on metrics such as throughput, packet delivery fraction, dropped packets, packet loss, normalized routing load and average end-to-end delay by using the NS2 simulator. is a Proactive routing algorithm where the mobile node periodically broadcasts an advertisement message which is transmitted after expiration of the timer. is a Reactive routing algorithm where a mobile node of MANET connects or advertises the message only when it is needed. KEYWORDS MANET,,, NS2, Average end-to-end delay 1. INTRODUCTION Ad-hoc is a Latin word, which means for this or for this only [1]. An Ad-hoc wireless network which is collection of wireless and mobile nodes that does not rely on a preexisting infrastructure is called Mobile Ad-hoc network. They are selfcreating, self-organizing and self-administrative. Every node becomes a router which must be able to forward the traffic on behalf of other nodes are mobile in nature so their topology is ever-changing and unpredictable that s why routing is a major issue periodic or frequent route updates in large MANET may consume significant part of the available bandwidth, increase channel contention and may require each node to frequently recharge their power supply these are the constraints of MANET. In this paper, and routing protocols are analyzed on the basis of throughput, packet delivery ratio, average endto-end delay, dropped packets, packet loss and normalized routing overhead and is presented with the simulation results obtained by NS2 simulator. The organization of rest of the paper is Section II discusses the taxonomy of the routing protocols in MANET. Section III describes and routing protocols. Section IV describes the performance metrics. Section V describes the simulation of protocols based on the performance metrics. Section VI has Results and Discussion. Finally section VII concludes the paper. 2. TAXONOMY OF ROUTING PROTOCOLSIN MANETs Routing protocols are broadly classified into three types such as Proactive, Reactive and Hybrid protocols [2]. 2.1 Table Driven Protocol It is based on the proactive mechanism where each node advertises its routing table to its neighboring nodes periodically or when network topology changes. These protocols maintain the route for all the nodes in their routing tables. In this way each node maintains an up-to-date view of the network. Proactive mechanism works best in the network that have low node mobility or where the nodes transmit data frequently. As the nodes are mobile due to which it will render the routing information in the table invalid quickly. In these protocols packet forwarding is fast on the same side routing overhead is increased as the routing tables have predefined information about all routes in the network. They have lower latency because all the routes are maintained at all the times. Destination-sequenced distance vector () protocol, Optimized Link State Routing (OLSR) come under this class. 2.2 On-Demand Protocol It is based on reactive mechanism where nodes advertise their routing table when it is needed. This will reduce the routing overhead and increase routing latency. In this routing protocol, the route discovery is very important phase where the source node will flood the packets into the network in search of an optimal path to the destination node and also 18

updates its routing table. Once a route has been established, some form of route maintenance procedure maintains it until either the destination node becomes inaccessible along every path from the source node or until the route is no longer desired. Dynamic Source Routing () protocol, Ad Hoc On- Demand Distance-Vector Routing protocol (AODV) come under this class. 2.3 Hybrid Protocol It is combination of both proactive as well as reactive mechanisms and takes advantages from both of the routing protocols. Due to which it has faster packet forwarding and low routing overhead. Zone Routing Protocol (ZRP) comes under this class. 3. OVERVIEW OF AND ROUTING PROTOCOLS This section gives the succinct overview of the routing protocols. 3.1 Destination - Sequenced Distance Vector () Protocol, a table driven protocol, is a modified version of classical Bellman-Ford Algorithm [3]. The tendency of Bellman-Ford algorithm to create routing loops is overcome by adding destination-sequence number field in the routing tables. Each node will transmit the sequence number, which is periodically increased by 2 along with update messages to its neighboring nodes. If the received sequence number is greater than the sequence number stored by the received node, it will update its routing table otherwise it will ignore the update message, thus avoid the formation of loops. Each node maintains its routing table, which consists of list of all available destinations, the hop count and the sequence number. Each node periodically advertises its routing table or if any significant change has occurred in the table to its neighboring nodes, hence updates are both time-driven and event-driven in nature. Two different types of routing updates are there: full updates and incremental updates [7, 11]. In full update, node advertises the full routing table to all the neighboring nodes whereas in incremental update, only those entries from the routing table are advertised where changes are made, hence congestion is less. This protocol has four advantages: to avoid loops, avoid count to infinity problem, to reduce high routing overhead and latency for route discovery is low. The disadvantage is huge volume of control messages. 3.2 Dynamic Source Routing () Protocol, an on-demand routing protocol, utilizes source routing algorithm. This routing protocol uses the cache technology to maintain the routing table. There are two phases in : Route Discovery and Route Maintenance. The node first checks its route cache and then sends the packet. If the route is available in the cache then source node sends the packet through the route to the destination node, else it initiates the Route Discovery process by broadcasting route request (RREQ) packet to the network, to know the route dynamically. Receiving the RREQ packet, node checks its cache. If the received node doesn t have the route to the destination then it appends its own address to the route record field of the RREQ packet, then that packet is forwarded to its neighbors. If the RREQ packet reaches to the destination or to the immediate node that have the route to the destination in its cache then that node generates a route reply (RREP) packet for the source node. When the RREP packet is generated by the destination, it comprises addresses of nodes that have been traversed by the RREQ across the network. Otherwise, the RREP comprises the addresses of nodes the RREQ has traversed concatenated with the route in the intermediate node s route cache. The route carried back by the RREP packet is cached at the source for future use. If any link on the source route is broken in the network then the source node is notified by generating route error (RERR) packet. The source removes any link from its cache by using this packet. makes very aggressive use of source routing and route caching. The advantage of this routing protocol is overhead is low as compared to by using route cache. 4 PERFORMANCE METRICS 4.1 Packet Delivery Fraction (PDF) PDF is the ratio of data packets delivered to the destination to those generated by the sources [8] and is calculated as follows: Packet Delivery Fraction= (Number of Packets Received / Number of Packets Sent) x 100. (1) 4.2 Average End-to-End Delay (e2e delay) It is the average time of the data packet to be successfully transmitted across a MANET from source to destination. The average e2e delay is computed by, (2) Where D is the average end-to-end delay, n is the number of data packets successfully transmitted over the MANET, ' i ' is the unique packet identifier, R i is the time at which a packet with unique identifier ' i ' is received and S i is the time at which a packet with unique identifier ' i ' is sent. The Average End-to-End Delay should be less for high performance. 4.3 Packet Loss (PL) It is the difference between the number of data packets sent and the number of data packets received. It is calculated as follows: Packet Loss= Number of data packets sent Number of data packets received (3) 4.4 Throughput It is the ratio of total amounts of data that reaches the receiver from the source to the time taken by the receiver to receive the last packet. It is represented in packets per second or bits per second [4]. Throughput (bits/sec) = (Number of delivered packets * Packet Size * 8) / Total simulation period (4) 19

4.5 Normalized Routing Load Normalized Routing Overhead is the number of routing packets transmitted per data packet towards destination and calculated as follows [9]: Normalized Routing Overhead = Number of Routing Packets / Number of Packets Received (5) 4.6 Dropped Packets Dropped data packet also determines network performance. It can be measured as follows [10]: Dropped Data Packet (%) = ((Number of packets sent - number of packets received) / (Total Number of packets sent)*100 (6) 5 SIMULATION The simulations were performed using Network Simulator 2 (NS-2.35) [6]. First the tcl file is generated and then using protocol simulation is done which gives the nam file and trace file. Then another nam and Trace files are created for protocol [5]. simulation. Table 2(b) shows the observed behavior of and protocols with respect to varying number of mobile nodes in the simulation process. Table 2(c) shows the observations with respect to changing network load. Table 2(a): Performance data of and protocol with respect to pause time Performance Parameters Packet delivery fraction Average end-to-end delay Throughput Dropped packets Packet loss Normalized routing load Best protocol Table 2(b): Performance data of and protocol with respect to no. of mobile nodes Performance Parameters Packet delivery fraction Average end-to-end delay Best Protocol Fig 1: Overview of simulation model The following table gives the simulation parameters used during the simulation Parameter Table 1: General Simulation Parameters Value Simulator NS 2.35 Transmission range 250 m Simulation time 150 s Routing Protocols and Topology Size 500 m X 500 m Number of mobile 10, 20, 30, 40, 50 nodes Number of sources 5, 10, 15, 20, 25 Traffic Type CBR or TCP Packet Size 512 bytes Pause Time 20, 40, 60, 80 and 100 s Network Load 2, 4, 6, 8, 10 packets per second 6 RESULTS AND DISCUSSION The performance of and protocol is measured in terms of variation in pause time, number of mobile nodes and network load in CBR traffic. Table 2(a) shows the observed behavior of and protocols with respect to varying pause time based on Throughput Dropped packets Packet loss Normalized Routing Load Table 2(c): Performance data of and protocol with respect to network load Performance Parameters Packet delivery fraction Average end-to-end delay Throughput Dropped packets Packet loss Normalized routing load Best Protocol The comparison results of and protocols are described in terms of six performance metrics by graphs and are discussed below. 6.1 Packet Delivery Fraction Fig 2(a), Fig 2(b) and Fig 2(c) shows the delivery rate of the data packets of and in terms of variation in pause time, number of mobile nodes and network load. The Packet Delivery rate needs to be high for effective performance of routing. Variation in all the three parameters shows higher values of as compared to. 20

Fig 2(a): PDF of & with respect to PT Fig 3(a): e2e delay of & with respect to PT Fig 2(b): PDF of & with respect to No. of nodes Fig 3(b): e2e delay of & with respect to no. of nodes Fig 2(c): PDF of & with respect to NL 6.2 Average End to End Delay The End to End Delay is a significant parameter for evaluating a protocol which must be low for good performance. From Fig 3(a), Fig 3(b) and Fig 3(c) the variation in pause time, no. of mobile nodes and network load gives significant impact in protocol. In other words, the is performing well than. Fig 3(c): e2e delay of & with respect to NL 6.3 Average Throughput From Fig 4(a) and Fig 4(b), the variation in pause time and no. of mobile nodes depicts that has better average throughput than but from Fig 4(c), shows better result in case of network load. 21

Fig 4(a): Throughput of & with respect to PT Fig 5(a): Packet Loss of & with respect to PT Fig 4(b): Throughput of & with respect to no. of nodes Fig 5(b): Packet Loss of & with respect to no. of nodes Fig 5(c): Packet Loss of & with respect to NL Fig 4(c): Throughput of & with respect to NL 6.4 Packet Loss From Fig 5(a), Fig 5(b) and Fig 5(c), the variation in pause time, number of mobile nodes and network load depicts that has more packet loss than. Packet loss should be less for better performance. 6.5 Normalized Routing Overhead From Fig 6(a), Fig 6(b) and Fig 6(c), the variation in pause time, number of mobile nodes and network load depicts that has more normalized overload than. Normalized routing overload should be less for better performance. 22

has more dropped packets than. Dropped Packets should be less for better performance. Fig 6(a): Normalized Routing Load of & with respect PT Fig 7(a): Dropped Packets of & with respect to PT Fig 6(b): Normalized Routing Load of & with respect to no. of nodes. Fig 7(b): Dropped Packets of & with respect to no. of nodes Fig 6(c): Normalized Routing Load of & with respect NL 6.6 Dropped Packet From Fig 7(a), Fig 7(b) and Fig 7(c), the variation in pause time, number of mobile nodes and network load depicts that 7 CONCLUSION The and protocols are compared in terms of the variation in pause time, number of mobile nodes and network load in CBR traffic. Due to randomness in mobility, CBR are selected as scenario parameters. The protocol is giving better performance than the protocol for most of the performance parametric measures. Fig 7(c): Dropped Packets of & with respect to NL 8 REFERENCES [1] P. Sharma, Arvind Kalia and Jawahar Thakur Performance analysis of AODV, and routing protocols in mobile ad-hoc network (MANET) - Journal of Information Systems and Communication ISSN: 0976-8742 & E-ISSN: 0976-8750, Volume 3, Issue 1, 2012, pp.-322-326 [2] P. Manickam, T. Guru Baskar, M. Girija, Dr. D. Manimegalai Performance comparisons of routing protocols in mobile ad hoc networks - International Journal of Wireless & Mobile Networks (IJWMN) Vol. 3, No. 1, February 2011 23

[3] P. Singh, Dinesh Singh and Vikram Singh Evaluation of Routing Protocols in MANETs with Varying Network Scope - 2012 International Conference on Information and Network (ICINT 2012) IPCSIT vol. 37 (2012) (2012) IACSIT Press, Singapore [4] T. Saleem and Kifayat Ullah Performance Issues of Routing Protocols in Mobile Ad-hoc Networks. [5] M.Transier Ns2 tutorial running simulations [6] Network Simulator - ns-2 at http://www.isi.edu/nsnam/ns/ [7] R.P.Yadav, Narendra Singh Yaday,, Performance Comparison and Analysis of Table-Driven and On- Demand Routing Protocols for Mobile Ad-hoc Networks, Interational Journal of Information and Communication Engineering, 2008 [8] A.Khandakar Step by Step Procedural Comparison of, AODV and Routing protocol, Qatar University 2012 4th International Conference on Engineering and (ICCET 2012) IPCSIT vol.40 (2012) (2012) IACSIT Press, Singapore. [9] M. tahiliani- Normalized Routing Overhead at http://mohittahiliani.blogspot.in/2011/08/awk-scripts-fornormalized-routing.html [10] Md. Shohidul Islam, Md. Naim Hider, Md. Touhidul Haque and Letonmiah An Extensive Comparison among, and AODV Protocols in MANET, International Journal of Applications (0975 8887)Volume 15 No.2, February 2011 [11] H. Paul and Dr. Prodipto Das Performance Evaluation of MANET Routing Protocols, IJCSI International Journal of Issues, Vol. 9, Issue 4, No 2, July 2012 ISSN. IJCA TM : www.ijcaonline.org 24