Professional Documents
Culture Documents
Submitted by
The following protocols have been studied and analyzed in the following lab:
1. DSDV
2. AODV
DSDV protocol is proactive in nature in the sense that each node has to have apriori
knowledge about the network.
AODV protocol is reactive in nature in the sense that each node only has to have the
knowledge about the network as and when required.
Performance Metrics used for comparison:
1. Packet Delivery Ratio
by the source.
PDR
2. Routing Overhead :
delivered.
Routing Overhead
Simulation
1. The tcl scripts for both algorithms are present in ns-allinone-2.35/ns
2.35/tcl/ex/wireless-simple-mac.tcl file.
2. To select the specific algorithm uncomment it.
3. Set number of mobile nodes to 10 or more as required.
4. Run the tcl script using following command
ns wireless-simple-mac.tcl
5. This generates two files namely
a.) wireless-simple-mac.tr :
trace file
b.) wireless-simple-mac.nam
8. To compare both algorithms copy content of graph.xg and graph1.xg for Packet Delivery
Ratio and Routing Overhead into one file
xgraph compare.xg
Screenshots:
1. Packet Delivery Ratio vs Pause Time