Create An Ethernet Using OPNET Modular November 3, 2003
Create An Ethernet Using OPNET Modular November 3, 2003
November 3, 2003
The purpose of this file is to help a user who is new to OPNET to start on using OPNET. This help file
will guide the user through the basic steps of creating, configuring, simulating and analyzing an ethernet
using OPNET modular.
a. Start the OPNET modeler and from the File menu, choose New, Project, name the project
and the scenario. The default directory for storing the project is C:\op_models. I suggest
naming your project starting with your initials and make a backup copy of all files beginning
with your initials.
b. Create empty scenario and specify the network:
1) Network scale: choose from the list, in this case, choose Office
2) Specify size: e.g. 100m x 100m
3) Choose model family: in this case, choose ethernet
a. Choose objects from the object palette, and then drug the objects and place on the workspace.
b. Use Rapid Configuration:
1) From the Topology menu, choose Rapid Configuration.
2) Select desired topology from the list, e.g. Star.
3) Specify the type of nodes, link, the number of nodes, the size of the topology and the
placement on the workspace.
Place an Application Config object and a Profile Config object on the Workspace.
The properties of all objects on the workspace can be changed by editing their attributes:
To add or modify the amount or types of traffic on the network, you need to edit the Application
Config object and the Profile Config object.
Note: Avoid possible conflicts when specify these parameters. For example: if you
have two applications, both applications run on serial mode, have same start time and
duration, then one of the application will not have a chance to start.
If the network has only one server, set the value to all.
If the network has more than one server, each server has specific task, for example, a FTP
server, a mail server, or a database server. For each server, set value to include all the
applications that the server supports.
To collect object statistics: right click on the object, select Choose Individual Statistics, and then
choose the specific statistics.
To collect global statistics: right click on the object, select Choose Individual Statistics, and then
choose the specific statistics.
3.2 Simulation
From the Simulation menu, choose Configure Discrete Event Simulation, set the duration, seed
of the simulation, then hit run.
4 View Result
a. To view object statistics: right click on the object. To view global statistics: right click on the
workspace.
b. Select View Results.
c. Expand the tree structure and click on the statistics you want to view.