Simple Adhoc Network
Simple Adhoc Network
Aim:
To create a simple ad hoc network and perform its simulation with the required number of hosts
Software Used:
Omnetpp 5.7, INET 4.3.6 framework
Theory:
An ad hoc network is one that is spontaneously formed when devices connect and communicate with
each other.
Ad hoc networks are mostly wireless local area networks (LANs).
The devices communicate with each other directly instead of relying on a base station or access points
as in wireless LANs for data transfer co-ordination.
Each device participates in routing activity, by determining the route using the routing algorithm and
forwarding data to other devices via this route.
We create an Ad hoc network with 7 hosts using Omnetpp and INET through the following steps
Step 2: The omnetpp simulator in now ready with the following user interface
Click on inet folder, then in it click on examples, then on adhoc and then on idealwireless as given
Step 3: In order to load the simulation, double click on two files NetIdealRadios.ned and omnetpp.ini
In this we get a dropdown menu, select n host option and enter the required hosts
The following simulation has 7 hosts