Experiment No. 8: 1. Aim: Develop A Simple Wireless Adhoc Network Using Aodv, Aomdv & Tora. Also
Experiment No. 8: 1. Aim: Develop A Simple Wireless Adhoc Network Using Aodv, Aomdv & Tora. Also
8
1. Aim: Develop a simple wireless adhoc network using aodv, aomdv & tora. Also
compare the performance using NS-2.
2. Objectives:
• Understand different routing protocol of adhoc networks
3. Outcomes:
• Implement different routing protocols
• Differentiate different routing protocols.
5. Theory:
The step by step process happening in AODV network simulation in NS2
1. In the TCL script, when the user configures AODV as a routing protocol by using the
command,
the pointer moves to the “start” and this “start” moves the pointer to the Command function
of AODVprotocol.
2. In the Command function, the user can find two timers in the “start”
* btimer.handle((Event*) 0);
* htimer.handle((Event*) 0);
3. Let’s consider the case of htimer, the flow points toHelloTimer::handle(Event*) function
and the user can see the following lines:
agent ->sendHello();
These lines are calling the sendHello() function by setting the appropriate interval of Hello
Packets.
7. Hence, the flow goes to the AODV::recvAODV(Packet *p) function, which will check
different packets types and call the respective function.
AODVTYPE HELLO:
recvHello(p);
break;
6. Conclusion:
7. Viva Questions:
• What is the difference between all 3 protocols?
8. References:
• Ekram Hossain and TeerawatIssariyakul, ―Introduction to Network Simulator NS-2,
SpringerSecond Edition. (T1)
• Jack L.Burbank,―Introduction to Network Simulator 3,Wiley Publications(T2)
• Siva Ram Murthy and B.S. Manoj, ―Adhoc Wireless Networks Architectures and
protocols, 2ndedition, Pearson Education, 2007 (T3)
• Michael Gregg,―Build your own Security lab, Wiley India edition