# Introduction here exist three types of mobile wireless networks: infrastructure networks, ad-hoc networks and hybrid networks which combine infrastructure and ad-hoc aspects. An infrastructure network (Figure 1.1(a)) consists of wireless mobile nodes and one or more bridges, which connect the wireless network to the wired network. These bridges are called base stations. A mobile node within the network searches for the nearest base station (e.g. the one with the best signal strength), connects to it and communicates with it. The reality is all communication is taking place between the wireless node and the base station but not between different wireless nodes. In contrary to this infrastructure networks, an adhoc network (Figure 1.1(b)) lacks any infrastructure. Adhoc is a Latin word, which means "for this or for this only." There are no base stations, no fixed routers and no centralized administration. A Mobile ad hoc network (MANET) is a group of wireless mobile computers (or nodes); in which nodes collaborate by forwarding packets for each other to allow them to communicate outside range of direct wireless transmission. Ad hoc networks require no centralized administration or fixed network infrastructure such as base stations or access points, and can be quickly and inexpensively set up as needed. Easy and fast deployment of wireless networks will be expected by the future generation wireless systems. This fast network deployment is not possible with the existing structure of present wireless systems. The recent advancements such as Bluetooth introduced a fresh type of wireless systems which is known as mobile ad-hoc networks. Mobile ad-hoc networks or AOMDV, "short live" networks control in the nonexistence of permanent infrastructure. MANET is a kind of wireless ad-hoc network and it is a self-configuring network of mobile routers (and associated hosts) connected by wireless links -the union of which forms an arbitrary topology. The routers, the participating nodes act as router, are free to move randomly and manage themselves randomly; thus, the network's wireless topology may change rapidly and unpredictably. Such a network may operate in a standalone fashion, or may be connected to the larger Internet. Mobile ad hoc network is a collection of independent mobile nodes that can communicate to each other via radio waves. The mobile nodes can directly communicate to those nodes that are in radio range of each other, whereas others nodes need the help of intermediate nodes to route their packets. These networks are fully distributed, and can work at any place without the aid of any kind of infrastructure. This property makes these networks highly robust. In (Figure 1.2) nodes 1 and 3 must discover the route through 2 in order to communicate. The circles indicate the formal range of each node's radio transceiver. Nodes 1 and 3 are not in direct transmission range of each other, since 1's circle does not cover 3. # Existing System The MANET routing protocols DSDV (Cluster Based Routing Protocol) and DSR, AODV (Ad-Hoc On-demand Distance Vector) of Proactive and Reactive will be described theoretically in all the books, but we don't know the practical scenario how they work. To know their behavior practically we have to simulate the protocols with certain parameters. From the existing system we have proposed a system to simulate the results and know the behavior of the protocols DSDV, DSR, AODV, AOMDV and make comparative analysis between them using the Network Simulator -2 (NS version 2). # III. # Proposed System The objective of this work is to evaluate the routing protocols namely DSDV, DSR, AODV, AOMDV based on their behavior. This evaluation is to be carried out through exhaustive literature review and simulation IV. Classification of Routing Protocols "Routing is the process of information exchange from one host to the other host in a network." Routing is the mechanism of forwarding packet towards its destination using most efficient path. Routing protocols are classified as in fig 2. DSDV is an improved routing protocol of the distributed Bellman-Ford routing algorithm. In this protocol, a table consisting of the shortest distance and the starting node of the shortest path is maintained at every node. Table updates are done with the increasing sequence number provided so as to, i. Prevent loops ii. Provide a faster convergence iii. Avoid the count-to-infinity problem. Every node in the table-driven routing protocol has route to destination. The routing table is exchanged periodically between the neighboring nodes, so that an up-to-date view of the topology is maintained. If a node sees a change in the network topology, then also the Year ( ) Disadvantages a. The table updates due to broken links causes heavy control overhead during the high mobility. b. The available bandwidth gets congested even if a small network contains high mobility or a large network contains low mobility. Thus, a large control overhead exists which increases with the number of nodes in the topology. Also, this protocol does not have the scalability factor in the ad hoc wireless networks which contain a high dynamic network topology and a limited bandwidth. c. Some delay occurs in obtaining the information regarding a specific destination node. V. # DSR Description DSR is an on-demand routing protocol. In ad hoc wireless networks, bandwidth is drained by control packets. Hence, regular table-update messages used in the previous table-driven routing protocols are removed, thereby controlling the bandwidth consumption. DSR is different from the on-demand routing protocols as it does not transmit the frequent beacon/hello packet (to identify its presence) to its neighbors. During the construction phase of routing, the key feature of DSR is that, a route should be created # AODV Description AODV is based on on-demand routing approach for locating routes. Whenever, a source node needs a path for forwarding data packets, and then only a route is established. The packet consists of the sequence numbers of the destination node so as to identify the most recent path. The difference between AODV & DSR routing protocols is that the latter employs source routing wherein the data packets itself maintains the entire path from source to destination, whereas in the former the source node source node and all the intermediate nodes maintain the information about the next hop taken for transmitting data packets. When no route is established for reaching the destination, then source node broadcasts the Route Request packet throughout the network. AODV differs from the other on-demand routing protocols, because the data packets in AODV use the destination sequence numbers in order to identify up-todate path for reaching destination. # AOMDV Description Ad hoc On-demand Multipath Distance Vector Routing (AOMDV) shares several characteristics with AODV. It is based on the distance vector concept and uses hop-by-hop routing approach. Moreover, AOMDV also finds routes on demand using a route discovery procedure. The main difference lies in the number of routes found in each route discovery. In AOMDV, RREQ propagation from the source towards the destination establishes multiple reverse paths both at intermediate nodes as well as the destination. Multiple RREPs traverse these reverse paths back to form multiple forward paths to the destination at the source and intermediate nodes. Note that AOMDV also provides intermediate nodes with alternate paths as they are found to be useful in reducing route discovery frequency. The core of the AOMDV protocol lies in ensuring that multiple paths discovered are loop-free and disjoint, and in efficiently finding such paths using a flood-based route discovery. AOMDV route update rules, applied locally at each node, play a key role in maintaining loop freedom and disjointness properties. Here we discuss the main ideas to achieve these two desired properties. Next subsection deals with incorporating those ideas into the AOMDV protocol including detailed description of route update rules used at each node and the multipath route discovery procedure. AOMDV relies as much as possible on the routing information already available in the underlying AODV protocol, thereby limiting the overhead incurred in discovering multiple paths. In particular, it does not employ any special control packets. In fact, extra RREPs and RERRs for multipath discovery and maintenance along with a few extra fields in routing control packets (i.e., RREQs, RREPs, and RERRs) constitute the only additional overhead in AOMDV relative to AODV. # AOMDV Mechanisms i. Route Discovery ii. # Route Maintenance Advantages ? AOMDV is Loop free because loops are overcome by using sequence number. ? Reduce Route discovery time and limit the control messages in Route discover. # Disadvantages ? AOMDV has more message overheads during route discovery due to increased flooding and since it is a multipath routing protocol, the destination replies to the multiple RREQs those results are in longer overhead. ? Congestion may occur due more RREQ and RREP messages. VIII. # Performance Metrics USED The main goal of this paper is to compare the performance of the above four protocols under different scenario. Comparing the different methods is done by simulating them and examining their behavior. In comparing the four protocols, the evaluation could be done by using the following simulation metrics. 1) Throughput is the average rate of successful message delivery over a communication channel. The system throughput or aggregate throughput is the sum of the data rates that are delivered to all terminals in a network. Simulation Environment # Conclusion In this paper we have evaluated the performance of Destination Sequenced Distance Vector (DSDV), Dynamic Source Routing (DSR), Ad hoc On Demand Distance Vector Routing (AODV) and Ad hoc On Demand Multipath Distance Vector (AOMDV) protocols using (TCL) Tool command language in the NS-2 Simulator. The performance of the protocols was measured with respect to metrics Packet delivery ratio, packet loss, throughput, overhead, delay. The obtained results of this simulation indicate that each protocol has its own significance on a particular QoS metric. It is observed that AOMDV protocol gives better performance as compared to AODV & DSR in terms of packet delivery fraction and throughput, delay. It is also observed that the DSDV has better throughput value. And it is observed that DSR protocol overhead is less. And AODV has higher packet loss. AOMDV incurs more routing overhead than AODV. AODV gives less delay with respect to pause time. The main conclusion of this paper is that the choice of which protocol to use, depends on the properties of the network. 1![Figure 1.1 : (a) An Infrastructure network](image-2.png "Figure 1") 12![Figure 1.2 : Example of a simple Ad hoc network with three participating nodes](image-3.png "Figure 1 . 2 :") 2![Figure 2 : Routing protocols classification a) DSDV, DSR, AODV, AOMDV PROTOCOLS DESCRIPTON i. DSDV DescriptionDSDV is an improved routing protocol of the distributed Bellman-Ford routing algorithm. In this protocol, a table consisting of the shortest distance and the starting node of the shortest path is maintained at every node. Table updates are done with the increasing sequence number provided so as to, i. Prevent loops ii. Provide a faster convergence iii. Avoid the count-to-infinity problem.Every node in the table-driven routing protocol has route to destination. The routing table is exchanged periodically between the neighboring nodes, so that an up-to-date view of the topology is maintained. If a node sees a change in the network topology, then also the](image-4.png "Figure 2 :") ![(2) Next hop IP address. (3) Number of hops to reach the destination. (4) Sequence number assigned by the destination node. (5) Install time. Fig.3 & Fig.4 shows the Example of DSDV Operation .Fig.4 shows DSDV 'message Header' format. And Fig.5 shows the flowchart of DSDV operation.](image-5.png "") 3![Figure 3 : Node 1 transmits packet to node 4, forwarding](image-6.png "Figure 3 :") 44![Figure 4 : Node 4 retransmits packet to the next hop Destination Address Hop Count Sequence Number Figure 4 : DSDV message header format](image-7.png "Figure 4 :Figure 4 :") 5![Figure 5 : Flowchart of DSDV Advantages a. Delays are smaller because the routing availability is always provided to all the destinations. b. Because of the incremental updates in the routing table, the existing wired network Protocols are adaptive to the ad hoc wireless network. c. All the nodes maintain an up-to-date view of the topology.](image-8.png "Figure 5 :") 910![Figure 6 : Source node S](image-9.png "Figure 9 :Figure 10 :") ![Figure 16 : AODV operation](image-10.png "") ![Throughput = (total no. of bytes received/Simulation time) * (8/1000) Kbps 2) Packet loss or delivery is defined as the number of packets sent and number of packets lost while transmitting in a network.Packet loss = total no. of packets sent-Total no. of packets received3) Overhead is defined as the excess traffic generated while transmitting the packet over a network. This leads to dropping of packets before reaching the destination.Overhead = total no. of routing packets Sent / total no. of data packets Received 4) Delay is defined as the overall time taken from the moment the data.Delay = end time -start time 5) Packet loss is the number of packets lost while transmitting in a network.Packet loss= total no of packets sent-Total no of packets received IX.](image-11.png "") with the help DisadvantagesReceived Packet is the destination address of packet in the local topology Local topology routing End NO a) Route DiscoveryYESIdentify the closed node via geometry based protocola. If a broken link is seen then it is not repaired,instead the route discovery process is initiated bythe source node.b. During the reconstruction phase or routing, the stateroute cache information may lead to inconstancy inthe route paths.c. The connection setup delay is more whencompared to the table-driven routing protocols.d. With an increase in the mobility of nodes, theperformance of the protocol decreases.e. DSR uses a source-routing mechanism andbecause of which a large routing overhead isrequired. This overhead entirely depends upon thelength of the path.Mechanismsi. Route Discoveryii. Route Maintenance 1YearParameterValueSimulatorNS-2 (Version 2.35 )Channel typeChannel/Wireless channelRadio-propagationPropagation/Two ray roundmodelwaveNetwork interface typePhy/WirelessPhyMAC TypeMac /802.11Interface queue TypeQueue/Drop Tail orLink Layer TypeCMUPriQueue LL( )AntennaAntenna/Omni AntennaMaximum packet in ifq50Area ( M*M)900 * 900Number of mobile20 ,30 ,40,50 nodesnodeSource TypeUDP, TCPSimulation Time200 secRouting ProtocolsDSDV, DSR,AODV,AOMDVuseda) Simulation SetupSTEPS for simulation:Step 1: Tcl Script filePerformance Analysis of Manet Routing Protocols -DSDV, DSR, AODV, AOMDV using NS-2 © 2015 Global Journals Inc. (US) 1 16 Global Journal of C omp uter S cience and T echnology Volume XV Issue VI Version I Year ( ) v. Summarized Results 2ParametersAOMDVAODVDSRDSDVPacketHigher thanHighMediumlowDeliveryAODVratioThroughputSlightlyHighMediumlowsimilar toDSDVOverheadHigher thanMediumLowHighDSDV andAODVDelaySlightlyLowMediumHighsimilar toAODV andDSDVPacket losslowHighMediumLowX. © 2015 Global Journals Inc. (US) © 2015 Global Journals Inc. (US) 1