Lab - LAN Modeling
Lab - LAN Modeling
1 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
LAN Modeling
Overview
This lesson focuses on the use of LAN models and background link utilization. You will
learn to
Configure the object palette with the models you need
Set up application and profile configurations
Model a LAN as a single node
Specify background utilization that changes over time on a link
Simulate multiple scenarios simultaneously
Apply filters to graphs of results and analyze the results
This lesson focuses on two features, LAN models, which model entire LANs, and the
link Background Load attribute, which is used to model existing link traffic.
LAN Models: If you are modeling a medium or large
internetwork, you may only be interested in specific aspects of the
network's behavior (whether a key router will be overloaded, for
example). In such cases, single nodes can model entire LANs.
Link Background Load: Use the Background Load attribute to
model existing traffic on a link instead of explicitly modeling each
packet. You can also specify changes in this background traffic over the course
of a simulation.
Background Load Attribute Dialog Box
11/23/2009 12:19 PM
LAN Modeling
2 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
3 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
1. Click Choose from maps for Network Scale and click Next >.
2. Choose usa from the Border Map list.
3. Choose usa from the MapInfo Maps list and click >> to move it to the Selected
(background first) pane.
Choose Map Wizard
The workspace now shows the specified map and object palette.
OPNET Modeler's full set of node and link models would be overwhelming to work with
all at once, so the object palette can be configured to show only a specific subset, or
model list. You can use the standard model lists, adapt them for your own needs, or
make your own list.
You can create your own custom object palettes for use in modeling projects.
For this lesson, we created the LAN_Mod_Model_List. Now you will adapt that model
list by adding the LAN node model to it:
1. Click the Object Palette Icon (or choose Open Object Palette from the
Topology menu if Object Palette dialog box is not open).
Object Palette Icon
11/23/2009 12:19 PM
LAN Modeling
4 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
The Object Palette dialog box lets you change the object palette and then save it.
2. Scroll to the top of folder treeview and click the Node Models folder in the Object
Palette dialog box.
Under Node Models, click Fixed Node Models > By Name >10BaseT.
3. Under 10BaseT, right click on 10BaseT_LAN and click on Add to Default
Palette: LAN_Mod_Model_List.
10BaseT LAN Added to Object Palette
11/23/2009 12:19 PM
LAN Modeling
5 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
Tip: If you are not happy with your first zoom, you can click the Zoom to
Previous toolbar button, next to the Zoom toolbar button, and then zoom in
again.
3. Continue to zoom until the names of cities, including Boston and Atlanta, appear
11/23/2009 12:19 PM
LAN Modeling
6 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
on the map.
Configuring Applications
It is a good idea to define the profiles and applications that will be used by the LAN
before you begin constructing the network. You 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. You might have one profile for Marketing
(heavy use of email; light use of file transfer) and another profile for Engineering
(light use of email; heavy use of file transfer).
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.
Profile Definition and Application Definition Objects
11/23/2009 12:19 PM
LAN Modeling
7 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
8 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
7. Set Mean Outcome to 100, then click OK to close the Start Time Specification
dialog box.
The Start Time attribute has a value of constant (100).
Do not close the profile configuration attribute dialog box.
You will be modeling FTP performance. That application should be included in the
profile.
1. Click in the Applications column and choose Edit... from the pop-up menu.
The Applications dialog box appears.
2. Change the number of rows to 1.
3. Set the Name to File Transfer (Heavy) by clicking in the cell and selecting the
application from the drop-down list.
The contents of the drop-down list are controlled by the Applications
Configuration object. When you selected Default as the value for the
Application Definitions attribute in this object, you enabled this list of
applications.
Note that the list includes 16 entries, a heavy and light version for each of the
eight standard applications.
4. Set Start Time Offset to uniform (0, 300).
a. Verify that the Distribution Name is uniform.
b. Set Minimum Outcome to 0.
c. Set Maximum Outcome to 300, then click OK.
5. Verify that the completed dialog box looks like this:
Completed Applications Dialog Box
11/23/2009 12:19 PM
LAN Modeling
9 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
10 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
Initially, a subnet's grid properties are based on its parent subnet. If the subnet's grid
settings are inappropriate, you can change them to fit your network. To change the grid
inside a subnet:
1. Double-click on the Atlanta subnet.
2. Select View > Background > Set Properties.
Note that the display grid is in degrees, which is not appropriate for an office.
3. Set units to Meters.
4. Set resolution to 10 pixels/m.
11/23/2009 12:19 PM
LAN Modeling
11 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
12 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
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:
1. Drag a BN_BLN_4s_e4_f_sl8_tr4 node (a Nortel Networks router) from the object
palette to the workspace near the Office_LAN node.
2. Name the new node router.
3. Connect the router and the Office_LAN nodes with a 10BaseT link. Right-click to
turn off link creation.
The Atlanta subnet is now configured. Because the subnets in the other cities are
identical, you can copy the Atlanta subnet and place it appropriately.
When several subnets or network objects have an identical configuration, you can copy
and paste these objects.
To copy the subnet:
1. Return to the parent subnet view by clicking on the Go to
Parent Subnet button (you can also right-click on the
workspace to display the workspace pop-up menu, then
choose Go to Parent Subnet from the menu).
2. Select the subnet.
3. Select Edit > Copy or press <Control>+c.
Paste the subnet to each of the four different cities:
1. Select Edit > Paste or press <Control>+v and click on the Washington, DC icon.
Pasting the Subnet
11/23/2009 12:19 PM
LAN Modeling
13 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
14 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
node.
7. Right-click to turn off link creation.
The network should resemble the following:
The Initial Topology
To complete the network, the main office in Washington D.C. needs to have a switch
and a server added to it. To configure the network in D.C.:
1. Double-click on the Washington_DC subnet to enter its subnet view.
2. Place one <Bay Network Accelar1050> switch and one ethernet_server node in
the workspace.
3. Rename the <Bay Network Accelar1050> node to switch.
4. Rename the ethernet_server to FTP.
5. Connect the "router" and the "FTP" nodes to the switch with 10BaseT links.
Right-click to turn off link creation.
6. Close the object palette.
11/23/2009 12:19 PM
LAN Modeling
15 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
6. Click OK to close the Supported Services dialog box, and then click OK to close
the (FTP) Attributes dialog box.
The Washington, D.C. subnet is now complete and should resemble the
following figure.
Washington, D.C. Subnet
7. Use the workspace pop-up menu to return to the parent subnet view.
8. Save the project by selecting File > Save.
Background Load
Now that you have created a model to act as a baseline for the performance of the East
Coast company's network, you can add background traffic to the links connecting the
cities and compare the results from the two scenarios.
This topic focuses on
Duplicating a scenario
Implementing a varying background load on the links
Background loading is an efficient means of modeling a known traffic load on a link.
Network studies show that traffic rises gradually over the course of the day as
employees arrive and begin work. You can use background link utilization to model this
pattern.
Because you want to compare the performance of the network with and without
background utilization, you need to prepare two scenarios, one for each situation.
You will duplicate the existing scenario, then add background traffic to it:
11/23/2009 12:19 PM
LAN Modeling
16 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
11/23/2009 12:19 PM
LAN Modeling
17 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
The intensity table above indicates that for the first 300 seconds of the simulation,
the background load on this link will be 19,200 bps (that is, 30 percent of the DS0
capacity of the link). For the next 200 seconds, the background load on the link
will be 25,600 bps (about 40 percent of the link capacity), and for the last part of
the simulation, the load will be 32,000 bps (about 50 percent of the link capacity).
10. Click OK to close the profile table.
11. Click in the [Washington_DC.router -> Atlanta.router] and choose Edit...
12. Set Average Packet Size (bytes) to Default.
13. Click on the value cell of the Traffic Load (bps) and choose Select...
The following table appears.
Attribute Profile Table
14. Select <Local Profiles> from the Profile Library list and "My_WAN_Load" from the
Profile list.
15. Click OK to close the Profile Selection dialog box.
16. Click OK to close the Traffic Information table dialog box.
Do not close the link attributes dialog box.
11/23/2009 12:19 PM
LAN Modeling
18 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
The last step in setting Traffic Information is to apply the changes made to the Atlanta
Washington, D.C. link to all selected links.
1. Check the Apply changes to selected objects check box in the Atlanta <->
Washington_DC Attributes dialog box.
Link Attributes Dialog Box
2. Click OK to close the Attributes dialog box, then click Yes if you are prompted to
continue.
Note that "4 objects changed." appears in the message area.
Confirming Message
Collecting Statistics
Now that you have configured both scenarios (one without background load as a
baseline, and one with background load), you are ready to collect data and analyze it.
The relevant statistics for this network are the throughput and utilization statistics for
the links and the global FTP download time for the network.
This topic focuses on:
Specifying statistics to collect in each scenario
Switching between scenarios
Running multiple simulations
11/23/2009 12:19 PM
LAN Modeling
19 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
3. Select the Link Statistics > point-to-point > throughput (bits/sec) --> and
utilization --> statistic.
Selecting the Throughput and Utilization Statistics
11/23/2009 12:19 PM
LAN Modeling
20 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
2. Collect the same statistics that you did in the back_load scenario:
Global Statistics > Ftp > Download Response Time (sec)
Link Statistics > point-to-point > throughput (bits/sec)-->
Link Statistics > point-to-point > utilization -->
3. Close the Choose Results dialog box and save the project.
You are now almost ready to run the simulations to collect the statistics you have
specified.
First, though, verify that your Network Simulation Repositories preference is set
appropriately.
1. Choose Edit > Preferences.
2. Type network sim in the Search for: field and click the Find button.
3. If the Value field for the Network Simulation Repositories preference is not
stdmod, click on that field.
The Network Simulation Repositories dialog box opens.
4. Click the Insert button, then type stdmod in the field.
5. Click OK twice to close the Network Simulation Repositories and Preferences
dialog boxes.
Now you are ready to run the simulations to collect the statistics you have specified.
Using the Manage Scenarios dialog box, you can rename scenarios, change their
order, and run single or multiple simulations.
Instead of running each simulation separately, you can batch them together to run
consecutively. To run multiple simulations:
1. Select Scenarios > Manage Scenarios...
The Manage Scenarios dialog box appears.
Manage Scenarios Dialog Box
2. Click on the Results value for the no_back_load and back_load scenarios and
change the value to <collect>.
11/23/2009 12:19 PM
LAN Modeling
21 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
3. Set the Sim Duration value for each scenario to 2,000 and the Time Units to
seconds.
Running the Simulation from the Manage Scenarios Dialog Box
4. Click OK.
This runs simulations for both scenarios. A DES Execution Manager dialog box
shows the simulation progress. Close the dialog box when the simulations are
done.
If your simulation does not complete, if no results were collected, or if the results
vary significantly from those shown, you will have to troubleshoot your simulation.
See "Troubleshooting Tutorials".
Comparing Results
You are now ready to examine the results of the two scenarios. Because you collected
the same statistics in each scenario, you can use the Compare Results feature to look
at them together.
To view the results from two or more different scenarios against each other, you can
use the Compare Results feature. You can also apply different built-in filters to the
graphs.
This topic focuses on:
Comparing results between scenarios
Applying filters to graphs
The Compare Results feature shows results from two or more scenarios. To look at
link utilization:
1. Right-click on the workspace to display the pop-up menu and choose View
Results.
2. Under the DES Graphs tab, selects Results for Current Project and then select
both scenarios.
3. Under Show Results, select
Object Statistics > Network >
Atlanta <-> Washington_DC [0] > point-to-point > utilization -->.
11/23/2009 12:19 PM
LAN Modeling
22 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
6. Click Show to display the graph. Your graph should resemble the following
figure, though it will not match exactly:
Average Utilization Compared
The network with the background load (back_load) shows higher utilization. You may
want to look at the utilization of other links to determine the maximum utilization of any
link.
11/23/2009 12:19 PM
LAN Modeling
23 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
You can also compare the link throughputs (bps) by selecting Object Statistics >
Network >
Atlanta <-> Washington_DC [0] > point-to-point > throughput (bits/sec) -->.
Next, let's look at Global FTP response time:
1. Move the link utilization graph aside and click the Unselect button in the
Compare Results dialog box.
2. Check the Global Statistics > Ftp > Download Response Time (sec) statistic in
the Compare Statistics dialog box.
3. Verify that the Filter menu shows average, then click Show.
Select Average from the Filter Menu
11/23/2009 12:19 PM
LAN Modeling
24 of 24
file:///C:/Program%20Files/OPNET/14.5.A/doc/modeler/BasicTut/Basic...
This graph shows that, as steady state is reached, response time increases by several
seconds when the link is heavily loaded.
1. Select File > Close and save changes before closing.
Now that you have completed the LAN lesson, you can move on to the Web Reporting
lesson. This lesson presents the web reporting feature and how it can help you to
make informed decisions about a network's behavior. Return to the main tutorial menu
and choose Web Reporting from the list of available lessons.
NoteBe sure to delete the stdmod setting for the Network Simulation Repositories
preference when you are finished doing tutorials. To delete the setting, select Edit >
Preferences, search for Network Simulation Repositories, click on the value, and
choose Delete.
Home
1986-2008 OPNET Technologies, Inc.
All Rights Reserved. This software may be covered by one or more U.S. Patents. See complete patent notice in the Legal Notices section.
OPNET Support Center
11/23/2009 12:19 PM