100% found this document useful (1 vote)
1K views

Simulation Steps

The document outlines the steps to simulate three routing protocols (AODV, DSR, OLSR) in wireless mesh networks using OPNET Modeler 14.5. It creates scenarios with 15, 30, and 60 nodes and assigns each protocol to study its performance. Key steps include setting up the network, assigning IP and mobility profiles, deploying traffic applications between sources and destinations, collecting statistics on routing protocols, and comparing results across scenarios.

Uploaded by

asad461
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

Simulation Steps

The document outlines the steps to simulate three routing protocols (AODV, DSR, OLSR) in wireless mesh networks using OPNET Modeler 14.5. It creates scenarios with 15, 30, and 60 nodes and assigns each protocol to study its performance. Key steps include setting up the network, assigning IP and mobility profiles, deploying traffic applications between sources and destinations, collecting statistics on routing protocols, and comparing results across scenarios.

Uploaded by

asad461
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

There are the simulation steps for our simulation.

What we have done in our simulation is written in


precise steps. One following these steps one can perform our simulation very easily, the only important
thing that he/she should have familiarization with OPNET Modeler 14.5. In this simulation three routing
protocols AODV, DSR and OLSR are investigated in WMNs/MANETs by making three scenarios i.e.
when there are 15, 30 and 60 nodes in a workspace window of OPNET Modeler 14.5. All the procedure is
explained in steps which are as follows.

AODV in 15 nodes

1) Choose Campus as network of size 1000 x 1000 meters.


2) Select MANET and click YES
3) In the workspace window, drag wlan_wkstn mobile node according to your need i.e. in first
scenario we will drag 15 mobile nodes because we are creating 15 nodes scenario, then in second
and third scenario we will choose 30 and 60 nodes respectively.
4) Drag wlan_server fixed node in a workspace window.
5) Click Edit  Select all in subnet.
6) Protocols  IP  Addressing  Auto Assign IPv4 addresses
7) When all nodes are already selected, right click and edit attributes.
8) Choose appropriate protocol, say AODV for first time.
9) Tick Apply to selected objects and click OK.
10) Save the project.
11) Drag application_config from the object palette into the workspace window, set its name and
then edit attributes.
12) Under application definitions, set number of rows equal to 1.
13) Enter application name as FTP.
14) Under description menu, choose FTP and apply high-load to it.
15) Tick Apply to selected objects and click OK.
16) Drag profile_config into workspace window, set its name and then edit attributes.
17) Under profile configuration menu, set number of rows equal to 1.
18) Under Enter profile name menu, set its name.
19) Under applications, set number of rows equal to 1.
20) Under application name, set its name to FTP.
21) Set Start time offset to constant=0.
22) Duration= End of profile.
23) Under repeatability option, set inter-repetition time (seconds) to uniform= (0,100).
24) Number of repetitions= Unlimited.
25) Start time (seconds) to constant= 0.
26) Duration= End of simulation.
27) Under repeatability option, set inter-repetition time (seconds) to constant = 300.
28) Set number of repetitions to constant =0.
29) Click Apply to selected objects and click OK.
30) Save the project.
31) Protocols  Applications  Deploy Defined.
32) Transfer all mobile nodes under the category of source on right hand side (RHS). And transfer
server node under the category of “FTP-SERVER” on RHS.
33) Tick Apply and click Ok.
34) Drage mobility_config from object palette to workspace window set its name and edit attributes.
35) Under random mobility profile, set number of rows equal to 1.
36) Under default random waypoint and then under random waypoint parameters, set speed
(meters/seconds) to constant = 10.
37) Set pause time to constant = 200.
38) Set start time (seconds) to constant = 0.
39) Leave all other options as default.
40) Tick Apply and click OK.
41) Save the project.
42) Topology  Random Mobility  Set Mobility Profile.
43) Right click in workspace window and choose individual statistics.
44) A window will appear, under global statistics, choose appropriate protocol, traffic pattern and
Wireless Lan.
45) Click OK and Save the project.

DSR in 15 nodes

1) Scenario  Duplicate Scenario


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols choose DSR protocol this time.
4) Save the project.
5) Right click and choose individual statistics.
6) Under global statistics, choose DSR, traffic pattern and Wireless LAN.
7) Click OK and save the project.

OLSR in 15 nodes

1) Scenario  Duplicate Scenario.


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols choose OLSR this time.
4) Save the project.
5) Right click and choose individual statistics.
6) Under global statistics, choose OLSR, traffic pattern and Wireless LAN.
7) Click OK and save the project.

AODV in 30 nodes

1) Scenario  New Scenario.


2) Drag 30 mobile nodes in workspace window from the object palette this time and one fixed
server node.
3) Repeat steps from 5  45.

DSR in 30 nodes

1) Scenario  Duplicate Scenario.


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols choose DSR this time.
4) Save the project.
5) Right click and choose individual statistics.
6) Under global statistics, choose DSR, traffic pattern and Wireless LAN.
7) Click OK and save the project.

OLSR in 30 nodes

1) Scenario  Duplicate Scenario.


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols, choose OLSR this time.
4) Save the project.
5) Under global statistics, choose OLSR, traffic pattern and Wireless LAN.
6) Click OK and save the project.

AODV in 60 nodes

1) Scenario  New Scenario


2) Drag 60 mobile nodes and one fixed server node from object palette into workspace window.
3) Repeat steps from 5  45.

DSR in 60 nodes

1) Scenario  Duplicate Scenario


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols, choose DSR this time.
4) Save the project.
5) Right click on workspace window and choose individual statistics.
6) Under global statistics, choose DSR, traffic pattern and Wireless LAN.
7) Click OK and save the project.

OLSR in 60 nodes

1) Scenario  Duplicate Scenario.


2) Select all mobile nodes and one fixed server node, right click and edit attributes.
3) Under ad-hoc routing protocols, choose OLSR this time.
4) Save the project.
5) Right click on workspace window and choose individual statistics.
6) Under global statistics, choose OLSR, traffic pattern and Wireless LAN.
7) Click OK and save the project.

Managing the Scenarios


1) Scenarios  Manage Scenarios
2) Click collect under the category of all the scenarios.
3) Enter the sim duration of your own choice.
4) Click OK to run the simulations.
Viewing of Results
1) DES  Results  Compare Results
2) Select the scenario of your own choice.
3) Select the statistics under global statistics option and view the results on RHS.

You might also like