0% found this document useful (1 vote)
181 views8 pages

Opnet Lab Network

The document describes an experiment using the OPNET Modeler network simulation software. The objectives are to introduce OPNET Modeler, create a network project, build a network topology, define traffic characteristics, create alternative scenarios, simulate the network, and adjust the network based on specifications. Students will work in groups of two to complete the simulation, answer questions, and submit their work. The experiment aims to familiarize students with OPNET Modeler.

Uploaded by

werkineh eshete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
181 views8 pages

Opnet Lab Network

The document describes an experiment using the OPNET Modeler network simulation software. The objectives are to introduce OPNET Modeler, create a network project, build a network topology, define traffic characteristics, create alternative scenarios, simulate the network, and adjust the network based on specifications. Students will work in groups of two to complete the simulation, answer questions, and submit their work. The experiment aims to familiarize students with OPNET Modeler.

Uploaded by

werkineh eshete
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

06/03/2015 P21432-14YR: Experiment details

Network Design and Management (ENG749S2) (2014):
My home /  My Sites /  Faculty of Technology /  School of Engineering /  P21432­14YR
/  Network Design Modelling and Simulation Lab /  Experiment details

Experiment details
 

Introduction

OPNET Modeller is the industry’s leading network modelling and simulation environment, allowing
you to design and study communication networks, devices, protocols, and applications with
unmatched flexibility. Modeller is used by the world’s most prestigious technology organizations to
accelerate the R&D process.

This laboratory experiment is worth of 10% of the total mark of the unit. All students need to
complete the simulation described below, answer all questions and return the
questions sheet to the lab’s supervisor before leaving the room. You are required to
work in a group of two.

Aim

The aim of this experiment is to familiarize the students with the Opnet Modeler network
simulation software package.

Objectives

The objectives of this experiment are:

3.1 Introduce Opnet Modeller.

3.2 Create a new project.

3.3 Build a network in the project.

3.4 Define the traffic characteristics of the designed network.

3.5 Create alternative project scenarios for comparison purposes.

3.6 Simulate the network(s) and generate results in graphical and Web Report formats.

3.7 Adjust the network characteristic according to given specifications.

moodle.port.ac.uk/mod/page/view.php?id=159959 1/8
06/03/2015 P21432-14YR: Experiment details

4. Method

4.1 Starting the experiment

4.1.1 Getting Started Using Linux PCs

Enter your name and password to log into the PC. From the top­left icon (Applications), go to
ECE Applications, then Modelling and double click on OPNET (Modeller NOT Animator).

4.2 Creating the Network Model

4.2.1 Creating the project area

Do File ­ New and press ok for a new project. Name the project NetDes. Name the scenario
Des_1_XX where XX your initials and press OK. Press next in the Initial topology wizard and in
the next dialog select Choose From Maps and press next. Select UK Region (you need to
make sure it appears in the right hand window by pressing “>>” button) and press next. In the
select technologies dialog select the internet toolbox and press next. Finally press Finish to
close the review of the startup wizard and you should now be presented with a workspace
containing the map of the UK and the object palette next to it. Arrange the windows neatly so that
they don’t overlap and take up the maximum workable screen area to make your work easier and
more effective.

4.2.2 Configuring the Object Palette

Click the top left icon (left to “Search by name:”) to change display and then click on Configure
palette. In the new window click on Link models and include a PPP_DS0_int entry/link. Press
OK and then click on the Node Models and include the BN_Accelar1050_1s_ae12_ge1 and a
BN_BLN_4s_e4_f_sl8_tr4. Click OK to close the “select included entries dialog” and OK on the
configure palette. Save the palette as it is suggested and by this way we have created a custom
object palette designed specifically for our needs.

4.2.3 Configuring the traffic

It is a good idea to define the profiles and applications that will be used by the LAN before we
begin constructing the network. We define the profiles in the profile definition object and
applications in the application definition object. A profile is applied to a workstation, server, or
LAN. It specifies the applications used by a particular group of users. An application may be any
of the common applications (email, file transfer) or a custom application you define. Eight
common (“standard”) applications are already defined: Database Access, Email, File Transfer,
File Print, Telnet Session, Video conferencing, Voice over IP Call, and Web Browsing.

moodle.port.ac.uk/mod/page/view.php?id=159959 2/8
06/03/2015 P21432-14YR: Experiment details

To configure the Application Configuration object drag an Application Config object to the
project workspace. Right­click on it and select Edit Attributes. Set the name attribute to
Application Configuration and change the Application Definitions attribute to Default by
clicking in the attribute’s Value column and selecting Default from the pop­up list. Selecting
Default configures the application definition object to have the eight standard applications
mentioned earlier. Close the Attributes dialog box.

To Configure the Profile Configuration Object Drag a Profile Configuration object from the
object palette to the project workspace. Right­click on it and select Edit Attributes. Set the
name attribute to Profile Configuration and change the Profile Configuration attribute by
clicking in its Value column and selecting Edit... from the drop­down menu. Change the number of
rows to 1, name the new profile LAN Client and change the Operation Mode to Simultaneous.
Then click in the profile’s Start Time (seconds) cell to open the “Start Time” Specification
dialog box and select constant from the Distribution Name pull­down menu. Set Mean Outcome
to 100, then click OK. The Start Time attribute has a value of constant (100). Now close the
Start Time Specification dialog box by clicking OK.

We will be modeling FTP performance. That application should be included in the profile. Click in
the LAN Client’s Applications column and choose Edit... from the pop­up menu and the
(Applications) Table dialog box appears. In that table change the number of rows to 1, set the
name to File Transfer (Heavy) by clicking in the cell and selecting the application from the pop­
up menu. The contents of this pop­up menu are controlled by the Applications Configuration
object. When we selected Default as the value for the Application Definitions attribute in this
object, we enabled this list of applications. Note that the list includes 16 entries, a heavy and light
version for each of the eight standard applications. Set the Start Time Offset to Uniform (0,
300), verify that the Distribution Name is uniform, set the Minimum Outcome to 0 and the
Maximum Outcome to 300. Click OK to close the Applications Table dialog box and OK to close
the Profile Configuration Table, then click OK again to close the Attributes dialog box.

4.2.4 Creating the topology

We will now create the following network inside the area we have prepared for it.

moodle.port.ac.uk/mod/page/view.php?id=159959 3/8
06/03/2015 P21432-14YR: Experiment details

Now that we have set up the scenario and the traffic within it we are ready to begin constructing
the WAN. Because the network contains four identical subnets, we can create the first subnet in
Portsmouth, with its nodes inside it, and then copy the subnet to Glasgow and Manchester. We
will also copy it to London and modify it further.

To create the Portsmouth subnet, click on the subnet icon in the object palette, drag it to the
workspace and right­click to turn off node creation. Now double­click on the Portsmouth subnet
and select View – Background ­ Set Properties.... Note that the display grid is in degrees,
which is not appropriate for an office. Set the units to Meters, uncheck the Visible checkbox for
Satellite orbits and verify that Drawing is set to Dashed. Set the division to 10 and finally
click the Close button.

Modelling the network does not require modelling the precise nature of each node in each
subnet, so we can represent the subnets with a LAN model. To create a LAN model, place a
10BaseT_LAN in the workspace. Right­click on it and choose Edit Attributes. We can change a
LAN model’s attributes so that it accurately represents a network with a certain number of
workstations and a particular traffic profile. To represent one of the offices change the LAN
model’s name attribute to Office_LAN and then choose Edit... for the Application: Supported
Profiles attribute. In there change the number of rows to 1 and then change the Profile Name
to LAN Client and click OK. Now this LAN will use the LAN Client profile we created earlier. This
profile includes the File Transfer (Heavy) application. The LAN will send traffic that models heavy
FTP use. Finally, click OK to close the Edit Attributes dialog box. We have now modelled a 10
workstation LAN inside the Portsmouth subnet. This single object is equivalent to a 10­

moodle.port.ac.uk/mod/page/view.php?id=159959 4/8
06/03/2015 P21432-14YR: Experiment details

workstation star topology LAN.

Because this LAN model is composed of workstations and links only, it must be connected to a
router. The router can then be connected to other routers in the network. To create a router drag
a BN_BLN_4s_e4_f_sl8_tr4 node (a Bay Networks router) from the object palette to the
workspace near the Office_LAN node. Name the new node Router and connect the router and
the Office_LAN node with a 10BaseT link. Right­click to turn off link creation. The Portsmouth
subnet is now configured.

Because the subnets in the other cities are identical, you can copy the Portsmouth subnet and
place it appropriately. To copy the subnet return to the parent subnet view by clicking on the Go
to Parent Subnetwork button (you can also right click on the workspace to bring up the
workspace pop­up menu, then choose Go to Parent Subnetwork from the menu). Change the
subnet’s name to Portsmouth by selecting Set Name from the object’s pop­up menu. Select the
subnet and press <Control>+c and then paste the subnet to each of the three different cities by
pressing <Control>+v. Rename each city’s subnet appropriately and connect each subnet to the
London office using the PPP_DS0_int link form the object palette. Draw a PPP_DS0 link from
London to Porsmouth. A Select Nodes dialog box appears asking which nodes in each subnet
are to be endpoints of the link. Choose the corresponding routers of each subnet and click OK to
establish the link.

To complete the network, the main office in London needs to have a switch and a server added
to it. To configure the network in London double­click on the London subnet to enter its subnet
view. Place one <Bay Network Accelar1050> switch and one ethernet_server node in the
workspace. Rename the <Bay Network Accelar1050> node to Switch and the ethernet_server to
FTP. Right click and select Edit Attributes on the FTP server and in the Application: Supported
services select edit and add one row in the table. Choose File Transfer (Heavy) from the
menu. Click ok and close the attributes of the server. Now there is a server within the network
configured to support the application used by it. Finally connect the router and the server to the
switch with 10BaseT links and when finished close the object palette.

4.3 Simulation

Before we run the simulation we need to setup statistics reports that we are going to produce
graphically. Right click anywhere on the workspace. Select from the pop­up menu, Choose
Choose Individual Statistics and edit them so that the following only is set to ON (with a green
tick or dot):

Global Statistics – Ftp – Download Response time (sec)

Link Statistics – point­to­point – utilization ­>

moodle.port.ac.uk/mod/page/view.php?id=159959 5/8
06/03/2015 P21432-14YR: Experiment details

Press OK to close the choose results dialog. We are now ready to configure and run the
simulation. In the DES menu choose Configure/Run Discrete Event Simulation. Set the
duration to 1 hour(s) in the common attributes tab. Press RUN for the simulation to start.

4.3.1 Results

To view the graph results, right click anywhere on the workspace and from the menu choose
View Results. From Global Statistics, select Ftp – Download Response Time (sec) and click
show. The plot will appear in a new window on your screen.

You can also manipulate the way the plot appears on the screen in order to make it easier for
you to understand what is happening. Right click on the Ftp plot and select Edit Graph
Properties. In the new window that appears change the draw style from “discrete” to “bar”
and press apply. The graph should change and the points should become bars. Press OK.

To print the desired graphs you can select to create a web report that will contain only the
graphed results that you desire. Leaving the results windows open go to the main Modeller menu
and from the DES choose Results ­ Generate web report (you can choose between “Include
graphed results” or “Include all results”). Name this report Graphs and click OK. A new web report
has now been generated and you can see it in DES ­ Results ­ Launch Last Web Report. A
browser window opens.

Click on Report: Graphed Results on the top left corner and then click on the new link that
appears under it that contains the names of the selected graphs, to view them. Click on the graph
once in order to select the frame containing the graph otherwise you will print something
irrelevant and waste your print quota!!! Choose Print from browser's main menu and the plot will
be sent to printer lja (change it to ljb depending on the printer queues at the time of the lab).

4.4 Multiple Scenarios

We will now create a second scenario with 50% higher loading to test the performance of the
network. Go to Scenarios ­ Duplicate Scenario and name the new scenario2 . Press CTRL­R
and the Configure discrete event simulation window appear. Go to the Global Attributes tab and
scroll down to the end until you find the Traffic scaling factor and by single clicking on it change it
to 1.5. Also change the Traffic scaling mode to all traffic.

4.4.1 Running the simulation

moodle.port.ac.uk/mod/page/view.php?id=159959 6/8
06/03/2015 P21432-14YR: Experiment details

Now we need to configure and run both the scenarios of the project in order to get the results
and compare them. From the Main Menu go to Scenarios ­ Manage scenarios. The manage
scenarios window opens. In the Results row click once in every scenario and choose <collect>.
Under sim duration type 1 for all scenarios. Under Time Units choose hour(s) We are now
ready to run the simulation by clicking OK in the bottom right corner of the window.

4.5 Comparing results

Create a 3rd scenario by duplicating the second and this time try by altering the link capacity
between the nodes to achieve roughly the same utilization as in scenario 1 but without
altering at all the traffic as defined in the Application Configuration Utility block. Once you achieve
that, create a 4th scenario by duplicating the 3rd (we need to use the links used in the 3rd) and
after taking down the traffic scaling factor back to 1 try to increase the traffic in the
Application Configuration Utility block to achieve the same utilization as in the 3rd scenario.

Last modified: Friday, 6 March 2015, 8:28 AM

Navigation

My home
Site home
UoP
My profile
Current course
P21432­14YR
Participants
Badges
General
General Information
Dr Chester's Materials
Dr Aljareh's Materials
Network Design Modelling and Simulation Lab
Aim, objectives, assessment and preparation work
Experiment details
My Sites

moodle.port.ac.uk/mod/page/view.php?id=159959 7/8
06/03/2015 P21432-14YR: Experiment details

Administration

Course administration

My profile settings

Theme: uopbootstrap 2.0.1 | Moodle Version: 2.7+ (Build: 20140619) | Server: moodle­app­01

moodle.port.ac.uk/mod/page/view.php?id=159959 8/8

You might also like