Objectives MANET with more than 20 Ad Hoc
Objectives “MANET“ with more than 20 Ad Hoc nodes running UDP application.
Introduction Ø “MANET” - Mobile Ad Hoc Network is a continuously selfconfiguring, infrastructure-less network of mobile devices connected without wires. Ø Each device is free to move independently in any direction, and will therefore change its links to other devices frequently. Ø Each device must forward traffic unrelated to its own use, and therefore be a router.
Introduction Ø “UDP” - User Datagram Protocol is one of the core members of the Internet protocol suite. Ø Uses a simple connectionless transmission model with a minimum of protocol mechanism. Ø No handshaking dialogues
Getting Started Ø Ø Open OMNe. T++ IDE File -> New -> OMNe. T++ Project name : YOUR_NAME -> Click Finish Note: Make sure “Use default location” and “Support C++ Development” are Checked
Project Reference to INET Ø Ø Ø Right Click on YOUR_NAME Project Folder -> Build Configurations -> Click on Project Features. . Click on Project Reference Check inet and click ok Ø Go to YOUR_NAME Folder -> double click on “package. ned” file
Network Design - Code Ø Click on the Source tab and type the below shown configuration Ø Save Package. ned and build the project
Network Design - GUI
Initialization / Configuration File Ø Ø Click on YOUR_NAME folder File -> New -> Initialization File (ini) File name: omnetpp. ini -> Next -> Choose “Empty Ini File” -> Finish In omnetpp. ini file write
Running the Simulation Ø Ø Ø Save the omnetpp. ini file Right click on omnet. ini file -> Run as -> Omnet++ Simulation Click the Run icon to start the simulation Ø Check the results
TASK (Write a Detailed Report) Ø Ø Ø Design an Ad. Hoc Network with Five Ad. Hoc hosts with different person names (ronaldo, messi, beckham, maradona, rooney) Hosts much run TCP Session App Use Stationary Mobility for maradona Use Random WP Mobility other hosts Speed = 5 mps to 10 mps Use “DYMO” or “Batman” routing protocol
END OF LAB 3
- Slides: 11