Hi there! ๐ Welcome to the MANET Simulation Project! This project is all about exploring how Mobile Ad Hoc Networks (MANETs) work using two popular routing protocols: AODV (Ad hoc On-Demand Distance Vector) and DSDV (Destination-Sequenced Distance Vector). Ready to dive in? Letโs get started!
Hereโs what makes this project awesome:
- Dynamic Node Movement: Nodes move randomly, just like real-world mobile networks!
- Routing Protocols: Compare the performance of AODV and DSDV in real time.
- Visualizations: Watch how data packets flow between nodes using cool animations.
- Performance Metrics: Get stats like:
- Number of successful ping replies. ๐ฉ
- Number of lost pings. โ
Hereโs what youโll find in this repo:
omnetpp.ini
: The brain of the simulation. Configures mobility, routing protocols, and visualization.ManetProcolsShowcase.ned
: The heart of the network. Defines all the nodes and their roles.
Before you start, make sure you have:
- OMNeT++ (v5.x or later) installed.
- The INET Framework set up in OMNeT++.
- Clone this repo:
git clone https://github.com/daniadrian/manet.git cd manet2
- Open the project in OMNeT++ IDE.
- Build the project.
- Run the simulation! ๐
- Open omnetpp.ini in the OMNeT++ IDE.
- Choose your configuration:
- Aodv: Simulates the AODV protocol.
- Dsdv: Simulates the DSDV protocol.
- Hit the Run button, sit back, and enjoy the show! ๐ฟ
- Explore the metrics:
- Ping Replies: Check how many pings successfully reached their destination.
- Ping Losses: See how often the network struggled.
Want to tweak things? Hereโs how:
- Change Node Speeds: In omnetpp.ini, adjust the speed range:`
*.node*.mobility.speed = uniform(5mps, 15mps)
- Modify Simulation Time: Extend or shorten the simulation:
sim-time-limit = 1000s
- Experiment with Protocols: Play around with AODV and DSDV parameters:
- AODV :
*.*.routingApp.activeRouteTimeout = 1s
- DSDV :
*.*.routing.helloInterval = 100s
- AODV :
This simulation tracks:
- โ Ping Replies: Successfully delivered pings.
- โ Ping Losses: Packets that didnโt make it. Visualizations make it super easy to see these in action. Different protocols are color-coded:
- AODV RREQ: ๐ก Yellow
- Ping Messages: ๐ต Blue
- AODV RREP: โซ Dark Slate Gray
- AODV RERR: ๐ด Red
- Hello Messages: ๐ข Green
Got ideas to make this project even better? Awesome! Feel free to:
- Open an issue.
- Submit a pull request.
- Share your feedback. Your contributions make a difference! โค๏ธ
This project is licensed under the Creative Commons Legal Code CC0 1.0 Universal. See the LICENSE file for details.๐
Got stuck or have questions? No worries! Create an issue or reach out. Weโre here to help you out.
Happy simulating and have fun exploring the world of MANETs! ๐โจ