Escolar Documentos
Profissional Documentos
Cultura Documentos
Atul Sharma(11300517)
PRACTICAL -1
AIM:-To Study about various simulation softwares
Simulation is a very important modern technology. It can be applied to
different science, engineering, or other application fields for different
purposes. Computer assisted
simulation can model hypothetical and
real-life objects or activities on a computer so that it can be studied to see
how the system function. Different variables can be used to predict the
behavior of the system. Computer simulation can be used to assist the
modeling and analysis in many natural systems. Typical application areas
include physics, chemistry, biology, and human-involved systems in
economics, finance or even social science. Other important applications are
in the engineering such as civil engineering, structural engineering,
mechanical engineering, and computer engineering. Application of
simulation technology into networking area such as network traffic
simulation, however, is relatively new.
Network simulators are used by people from different areas such as
academic researchers, industrial developers, and Quality Assurance (QA) to
design, simulate, verify, and analyze the performance of different networks
protocols. They can also be used to evaluate the effect of the different
parameters on the protocols being studied. Generally a network simulator
will comprise of a wide range of networking technologies and protocols and
help users to build complex networks from basic building blocks like clusters
of nodes and links. With their help, one can design different network
topologies using various types of nodes such as end-hosts, hubs, network
bridges, routers, optical link-layer devices, and mobile units.
Table 1 Network simulators
Commercial
OPNET
Open source
WIRELESS NETWORKS
Atul Sharma(11300517)
OPNET
OPNET is the registered commercial trademark and the name of product presented by OPNET
Technologies incorporation. It is one of the most famous and popular commercial network
simulators by the end of 2008. Because of it has been used for a long time in the industry, it
become mature and has occupied a big market share.
4.1 Overview
OPNETs software environment is specialized for network research and development. It can be
flexibly used to study communication networks, devices, protocols, and applications. Because of
the fact of being a commercial software provider, OPNET offers relatively much powerful visual
or graphical support for the users. The graphical editor interface can be used to build network
topology and entities from the application layer to the physical layer. Object-oriented
programming technique is used to create the mapping from the graphical design to the
implementation of the real systems. An example of the graphical GUI of OPNET can be seen in
figure 1. We can see all the topology configuration and simulation results can be presented very
intuitively and visually. The parameters can also be adjusted and the experiments can be repeated
easily through easy operation through the GUI.
WIRELESS NETWORKS
Atul Sharma(11300517)
has set up. Hierarchical structure is used to organize the networks. As other network simulators,
OPNET also provides programming tools for users to define the packet format of the protocol.
The programming tools are also required to accomplish the tasks of defining the state transition
machine, defining network model and the process module.
As of all, OPNET is a popular simulator used in industry for network research and development.
The GUI interface and the programming tools are also useful to help the user to build the system
they want.
WIRELESS NETWORKS
Atul Sharma(11300517)
OMNeT++
OMNeT++ is also a public-source, component-based network simulator with GUI support. Its
primary application area is communication networks. OMNeT++ has generic and flexible
architecture which makes it successful also in other areas like the IT systems, queuing networks,
hardware architectures, or even business processes as well.
Overview
OMNeT++ is also a discrete event simulator. It is a component-based architecture. Components
are also called modules and are programmed in C++. The components are then assembled into
larger components and models by using a high-level language. OMNeT++ also provides GUI
4
WIRELESS NETWORKS
Atul Sharma(11300517)
support, and due to its modular architecture, the simulation kernel can be embedded into all
kinds of different user s' applications. Figure 2 is an OMNeT++ GUI screenshot.
WIRELESS NETWORKS
Atul Sharma(11300517)
9. Utilities (random number seed generation tool, make file creation tool, etc.)
10. Documentation, sample simulations, etc.
As the key feature of OMNeT++, the simulation kernel C++ class library consists of the
simulation kernel and utility classes which will be used to create simulation components. The
library also includes the infrastructure to assemble simulations from different components.
Besides these, there are also runtime user interfaces or environments for simulations, and tools to
facilitate and manage simulations. OMNeT++ can run on Linux, other Unix-like systems and on
Windows (XP, Win2K).
OMNeT++ represents a framework approach. It provides an infrastructure for writing different
simulations. Specific application areas' requirements are met by different simulation models and
frameworks, most of which are open sourced. More important, these models are developed
completely independently of OMNeT++, and follow their own release cycles. This is another
important feature of OMNeT++.
WIRELESS NETWORKS
Atul Sharma(11300517)
Practical-2
AIM:Installation of opnet modller.
Introduction: OPNET simulator is a tool to simulate the behavior and
performance of any type of network. The main difference with other
simulators lies in its power and versatility. This simulator makes
possible working with OSI model, from layer 7 to the modification of
the most essential physical parameters.
Installation steps are:
Step 1.(A)Run modeler_14.5A---- you will see this warning (it shows
youre on the right way):
A compiler was found, but is not configured properly
Click yes button.
Step 2.Use this location to install OPNET: C:\OPNET (If youre going
to use another path REMEMBER to replace the C:\OPNET with the one
youve chosen in Step 4). Click Next.
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 5.Check all three boxes: ACE Capture files OPNET Model Files OPNET Project Files, and Click Next.
WIRELESS NETWORKS
Atul Sharma(11300517)
WIRELESS NETWORKS
Atul Sharma(11300517)
10
WIRELESS NETWORKS
Atul Sharma(11300517)
11
WIRELESS NETWORKS
Atul Sharma(11300517)
PRACTICAL-3
AIM:-Wireless LAN Configuration using OPNET
STEP 1-Open OPNeT modeller 14.5.Click on File then New.
STEP 3-Select the Network Scale for which you want to build network
12
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 5- Select the technology for which you want to build the network
e.g. Wireless LAN advanced in this case
13
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 7-Now drag and drop the models on the work screen
14
WIRELESS NETWORKS
Atul Sharma(11300517)
15
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 9-Connect Ethernet routers and server with 100BaseT link model
16
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 10-Drag and drop application config and profile config of wireless
LAN advanced
17
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 11-Right click on Ethernet router and click on edit attributes then
click on Wireless LAN set BSS identifier as 1 for the first router and
repeat the same steps for second router but with BSS identifier as 2.Do
the same for all the workstations attached with the routers
18
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 12-Click on Protocols then Wireless LAN then configure PHY and
data rate
19
WIRELESS NETWORKS
Atul Sharma(11300517)
STEP 13-Right Click on Application Config then edit attributes and set
application definitions as default
STEP 14-Right Click on Profile Config and click on Edit attributes and
add the number of profiles you want to add
20
WIRELESS NETWORKS
Atul Sharma(11300517)
WIRELESS NETWORKS
Atul Sharma(11300517)
PRACTICAL-4
22
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 3- Right Click on Profile Config and click on Edit attributes and
add the number of profiles you want to add
23
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 4- Right Click on Application Config then edit attributes and set
application definitions as default
24
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 5-Select workstations and assign same BSS identifier to all and
enable the access point functionality
25
WIRELESS NETWORKS
Atul Sharma(11300517)
26
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 6- Click on Protocols then Wireless LAN then configure PHY and
data rate
27
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 8- Click on Scenarios Then Manage Scenarios and select time and
collect results. Click on OK
28
WIRELESS NETWORKS
Atul Sharma(11300517)
PRACTICAL-5
AIM:-Infrastructure Based Network Configuration using OPNET
Step 3- Right Click on Profile Config and click on Edit attributes and
add the number of profiles you want to add
29
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 4- Right Click on Application Config then edit attributes and set
application definitions as default
Step 5-Select workstations and assign same BSS identifier to all and
disable the access point functionality
30
WIRELESS NETWORKS
Atul Sharma(11300517)
31
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 6-Drag and drop Ethernet router and right click on it then click on
edit attributes and disable the access point functionality
32
WIRELESS NETWORKS
Atul Sharma(11300517)
33
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 7- Click on Protocols then Wireless LAN then configure PHY and
data ra
34
WIRELESS NETWORKS
Atul Sharma(11300517)
St
ep 9- Click on Scenarios Then Manage Scenarios and select time and
35
WIRELESS NETWORKS
Atul Sharma(11300517)
PRACTICAL-6
AIM:-To implement Cluster topology using ADHOC Based Network
Configuration.
36
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 3- Right Click on Profile Config and click on Edit attributes and
add the number of profiles you want to add
37
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 4- Right Click on Application Config then edit attributes and set
application definitions as default.
Step 5-Select workstations and assign same BSS identifier to one cluster
and enable the access point functionality Assign same profile to one
cluster and different profile to the other cluster
38
WIRELESS NETWORKS
Atul Sharma(11300517)
39
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 8Click on Scenarios Then Manage Scenarios and select time and collect
results. Click on OK
PRACTICAL-7
40
WIRELESS NETWORKS
Atul Sharma(11300517)
41
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 3- Right Click on Profile Config and click on Edit attributes and
add
the
number
of
profiles
you
want
to
add
42
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 4- Right Click on Application Config then edit attributes and set
application definitions as default
Step 5-Select workstations and assign same BSS identifier to one cluster
and give same profile
43
WIRELESS NETWORKS
Atul Sharma(11300517)
Cl
ick on Application supported profiles and add the profile
Step 6-Assign different profile to the other cluster and also give different
BSS id
44
WIRELESS NETWORKS
Atul Sharma(11300517)
45
WIRELESS NETWORKS
Atul Sharma(11300517)
Step 8- Click on Scenarios Then Manage Scenarios and select time and
collect results. Click on OK
PRACTICAL-8
AIM:-To implement Star Topology using Opnet
STEP 1-1.Choose New from the File menu. 2. Select Project and click OK
Name the project _Token, and the scenario Balanced Click OK. 3. In the Startup
Wizard: Initial Topology dialog box, make sure that Create Empty Scenario is
selected Click Next Choose Office for the Network scale Click Next three
times Click OK. 4. Close the Object Palette and then save your project
46
WIRELESS NETWORKS
Atul Sharma(11300517)
3. In the Rapid Configuration dialog box set the following six values:
Center Node Model= ethernet16_hub, Periphery Node Model = Ethernet station,
Link Model = 10BaseT, Number =16, Y=50, and Radius = 49.67 Click OK. The
10BaseT link represents an Ethernet connection operating at 10Mbps.
47
WIRELESS NETWORKS
Atul Sharma(11300517)
4. Now that the network has been created, it should look like the network below
Choose Statistics
To choose the statistics to be collected during the simulation:
1. Right-click anywhere in the project workspace and select Choose Individual
Statistics DES from the pop-up menu.
2. In the Choose Results dialog box, choose the following statistics:
48
WIRELESS NETWORKS
Atul Sharma(11300517)
A. Ethernet Delay this represents the end-to-end delay of all packets received by
all the stations
B. Traffic Received (in packets/sec) by the traffic sinks across all nodes
49
WIRELESS NETWORKS
Atul Sharma(11300517)
50
WIRELESS NETWORKS
Atul Sharma(11300517)
PRACTICAL-9
AIM:-To implement Token Ring using Opnet
STEP 1-1.Choose New from the File menu. 2. Select Project and click OK
Name the project _Token, and the scenario Balanced Click OK. 3. In the Startup
Wizard: Initial Topology dialog box, make sure that Create Empty Scenario is
selected Click Next Choose Office for the Network scale Click Next three
times Click OK. 4. Close the Object Palette and then save your project
51
WIRELESS NETWORKS
Atul Sharma(11300517)
3. In the Rapid Configuration dialog box, set the following six values and click OK
52
WIRELESS NETWORKS
Atul Sharma(11300517)
53
WIRELESS NETWORKS
Atul Sharma(11300517)
3. Click on the model value: tr_station and select Edit from the drop-down menu.
Now select tr_station_adv from the extended drop-down menu.
4. To test the network under different THT values, you need to promote the THT
parameter. This allows us to assign multiple values to the THT attribute.
a. Expand the Token Ring Parameters hierarchy. b. Right-click on the THT
Duration attribute Choose Promote Attribute to Higher Level.
5. Expand the Traffic Generation Parameters hierarchy Assign exponential
(100) to the ON State Time attribute Assign exponential (0) to the OFF State
Time attribute. (Note: Packets are generated only in the "ON" state.)
6. Expand the Packet Generation Arguments hierarchy Assign exponential
(0.025) to the Interarrival Time attribute.
7. Click OK to return back to the Project Editor. 8. Make sure to save your project.
54
WIRELESS NETWORKS
Atul Sharma(11300517)
55
WIRELESS NETWORKS
Atul Sharma(11300517)
4. As shown in the following Add Attribute dialog box, you need to add the THT
Duration attribute for all nodes. To do that: a. Add the unresolved attribute: Office
Network.*.Token Ring Parameters [0].THT Duration by clicking on the
corresponding cell under the Add? column Click OK
5. Now you should see the Office Network.*.Token Ring Parameters[0].THT
Duration in the list of simulation object attributes (widen the Attribute column to
see the full name of the attribute). Click on that attribute Click the Values
button, as shown below.
6. Add the following six values. (Note: To add the first value, double-click on the
first cell in the Value column Type 0.01 into the textbox and hit enter. Repeat
56
WIRELESS NETWORKS
Atul Sharma(11300517)
7. Click On Run
57
WIRELESS NETWORKS
Atul Sharma(11300517)
58