Wireless Networking Lab 110: Comparison of DSR and AODV Routing Protocols

Introduction

This assignment aims at making the students familiar with the reactive (on-demand) routing protocols used in ad hoc networks and compare the performance of DSR and AODV protocols.

Performance Metrics used

We will evaluate the routing protocols in terms of two metrics-
1. Packet Delivery Fraction/Ratio : It is the ratio of packets delivered to that transmitted by the source.
2. Routing Load : It is the number of routing packets sent per data packet delivered.

NS2 Instructions

Hand In

1. Plot each performance metric for both DSR and AODV versus pause-times, for each CBR Load. Email the compressed image/plot files.
2. State if any peculiar behavior is observed. Give a brief report as to the interpretation of the graphs.
3. Write briefly about what you understand by the random node movement files (generated by ./setdest command in the make-scenario.sh script file) and traffic pattern files (generated by ns cbrgen.tcl command in the make-traffic.sh file) and their usage in this assignment.

Recommendations

1. You will need to use the trace files calculation in many ns2 simulations. Hence, it is good idea to get familiar with the trace file formats. Go through the sections 16.1.6 and 16.1.7 of the ns2 manual. Can you now make out the use of grep commands provided in this assignment?
2. If time permits, try running the whole experiment with seed = 2 in the run-aodv.sh and run-dsr.sh, in the "ns cbrgen.tcl..." command. And make the plots again. Does the behavior change markedly?
3. Study about the cmu-gen utilities we have used in this assignment (used in the make-scenario.sh and make-traffic.sh files).