OPNET Chapter 1-Introduction
OPNET Chapter 1-Introduction
Introduction
N. Abedpoor Imam Reza International University of Mashhad
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
About OPNET
Alain Cohen, a 20-year-old MIT student, developed OPNET in 1986 Alain Cohen and his classmate Steven Baraniuk developed a prototype data
network
system Network
modeling
they
and
simulation
"Optimized Tools", or
called
Engineering
Nov. 2013
Alain Cohen, along with his brother Marc and Steven Baraniuk, founded MIL 3, Inc. in 1986 (OPNET 1.1) In 2000, MIL 3, Inc. changed name to OPNET Technologies, Inc. (OPNET 7.0)
Today, OPNET Technologies, Inc. is a provider of software products and related services for:
Application performance management Network planning and engineering Network research and development
www.opnet.com
Chairman & Chief Executive Officer: Marc Cohen President & Chief Technology Officer: Alain Cohen
Nov. 2013
The company's first product was OPNET Modeler , a software tool for network simulation and modeling
Since then, it has been diversified to provide a range of solutions for:
Network R&D
OPNET Modeler, OPNET Modeler Wireless Suite, OPNET Modeler Wireless Suite for Defense
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
Sample list of clients: Service providers British Telecom, Deutsche Telekom, France Telecom, Inmarsat, . . Enterprises Deutsche Post AG, FBI, Oracle, 20th Century Fox, Xerox,. . . Network equipment manufacturers 3Com Corporation, Cisco Systems, Ericsson, Fujitsu, HP, Nokia, Defense and homeland security Generic Systems Sweden Ab, NASA, US Air Force, US Army, . . . University Program Over 25,000 university professors and students use OPNET products in Electrical Engineering, Computer Science, and related disciplines
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
The following products are available through the University Program: 1. IT Guru Modeling of a broad range of network protocols and technologies 800+ protocol and vendor device models 2. OPNET Modeler IT Guru with source code for protocol and technology models 3. OPNET Modeler Wireless Suite OPNET Modeler with a broad range of wireless models 4. SP Guru Transport Planner Optical network planning and engineering 5. IT Guru Academic Edition Based on IT Guru commercial version 9.1 (Build 1999) Created for introductory level networking courses Greatly simplified licensing (6-month renewable license)
Nov. 2013
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
3. Activation
Nov. 2013
10
Nov. 2013
11
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
12
OPNET Modeler
System Requirements
Supported platforms: Microsoft: Windows 2000, Windows Server 2003, Windows XP, Windows Vista, Windows 7 Linux: Red Hat Enterprise, Fedora OPNET software does not work with number representation different from English The reason is the different decimal separator: point in English, comma practically in all others Start Control Panel Regional and Language Options Standards and formats English (United States)
Nov. 2013
13
Nov. 2013
14
Nov. 2013
15
Key Features
Hierarchical GUI-based editors High-fidelity modeling 800+ wired/wireless protocol and vendor device models with source code Different aspects of wireless communication, including RF propagation, antenna modeling, signal modulation, node mobility, and interference Scalable simulation 32-bit and 64-bit fully parallel simulation kernel Grid computing support for distributed simulation Sophisticated analysis Integrated GUI-based debugging and analysis Integrating live network and application behavior Optional System-in-the-Loop module to interface simulations with live systems Open interface for integrating external libraries, and other simulators
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
16
Simulation Technologies
OPNET supports 4 simulation technologies: Discrete Event Simulation (DES) Flow Analysis ACE Quick Predict Hybrid Simulation (within the DES environment)
OPNET Simulation technologies
Flow Analysis
Hybrid
Nov. 2013
17
Discrete Event Simulation provides highly detailed models that explicitly simulate packets and protocol messages
The models in DES execute the protocol in much the same way as a production environment
Although DES provides very high-fidelity results, simulation runtimes are longer than with the other methods
Nov. 2013
18
Hybrid simulation combines 2 distinct modeling techniques (analytical and discrete) to provide accurate, detailed results for targeted flows Hybrid simulation relies on background and explicit traffic Background traffic is used to represent most of a network's ambient Load at an abstract level Selected network application flows are represented in detail, using the explicit traffic models Execution runtimes can be significantly faster as compared with DES
Nov. 2013
19
Flow Analysis uses analytical techniques and algorithms to model steady-state network behavior Flow Analysis does not model individual protocol messages or packets, therefore it does not generate results for transient network conditions It can be used to study routing and reachability across the network in steady state, and in scenarios with one or more failed devices Execution runtimes can be significantly faster as compared with DES
Nov. 2013
20
ACE Quick Predict uses an analytical technique for studying the impact on application response time of changing network parameters (e.g., bandwidth, latency, utilization, packet loss) This technique is supported within the OPNET Application Characterization Environment (ACE)
Nov. 2013
21
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
22
Simulation workflow
Projects and Scenarios
OPNET Modeler uses a project-and-scenario approach to model networks Project - a collection of network-related scenarios, each of which explores a particular aspect of the network design All projects contain at least 1 scenario Scenario - a single instance of a network Typically, a scenario presents a unique configuration for the network The term "configuration" can refer to different aspects such as topology, protocols, applications, traffic, and simulation settings
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
23
24
New project
Nov. 2013
25
Project Editor is used to construct and edit the topology of a network model
Nov. 2013
26
Nov. 2013
27
Initial topology
Nov. 2013
28
There are several methods for creating a network topology: Manually, by dragging and dropping objects from an Object Palette to the Project Editor workspace Manually, using the Topology Rapid Configuration... Command from the Menu Bar to specify and build a complete network topology quickly Automatically, by importing the network model from an external data source - either a system that monitors your network or one or more data les that describe the network Importing a topology ensures that the network model you build corresponds to the existing network exactly
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
29
Network scale
Nov. 2013
30
Background maps
Nov. 2013
31
Zooming
Nov. 2013
32
Dragging and dropping objects from an Object Palette into the Project Editor workspace
Nov. 2013
33
Nov. 2013
34
Using the Topology ) Rapid Configuration... command from the Menu Bar to quickly deploy common network topologies
Nov. 2013
35
Available configurations: Bus, Mesh (Full or Randomized), Ring, Star, Tree, and Unconnected Net
Nov. 2013
36
Nov. 2013
37
Using the Topology Deploy Wireless Network... command from the Menu Bar to specify and build a wireless network
Nov. 2013
38
Model Library
OPNET Modeler provides an extensive library of models that you can use to build networks
www.opnet.com/support/desmodel library/index.html
These models are called standard models because users can also develop their own models Those models can then be shared with other OPNET users if desired
Certain models support the needs of users with particular interests in emerging or vendor-specific technologies (aka specialized models) An additional license is needed to use these models in a simulation
Nov. 2013
39
The standard model library consists of the following types of objects: Subnetworks Nodes (aka devices) Links LANs and clouds Utility objects
Nov. 2013
40
Objects
Model Family: internet toolbox
Nov. 2013
41
Subnetworks Subnetworks are essentially containers that abstract the network components specified within them into one object A subnetwork can also contain other subnetworks A special subnetwork called the top level or global subnetwork is the highest level subnetwork in the network hierarchy
Nov. 2013
42
Nov. 2013
43
Nodes A node represents a network device with a wide range of possible capabilities (router, switch, hub, workstation, server, firewall, etc.) The actual function and behavior of a node is determined by its node model
Nov. 2013
44
node model
Nov. 2013
45
Links Links represent the physical media and properties (line rate in bits per second, delay, likelihood of data corruption, etc.) Links are represented as line segments or a series of line segments with arrowheads
Nov. 2013
46
Links
Nov. 2013
47
LANs A LAN object abstracts the LAN infrastructure into one object LAN objects dramatically reduce the amount of configuration required to do to represent an internetwork of LANs, and the amount of memory needed to run the simulation
Nov. 2013
48
LANs
Nov. 2013
49
Clouds A cloud object abstracts the WAN infrastructure into one object Cloud objects provide high-level characteristics (packet latency and discard ratio) used to simulate the behavior of ATM, Frame Relay, and IP WANs
Nov. 2013
50
Clouds
Nov. 2013
51
Utility objects Utility objects do not correspond to the actual physical infrastructure Instead, they perform logical functions in the network (configuration of network resources, scheduling special events, etc.)
Nov. 2013
52
Utility objects
Nov. 2013
53
54
Profiles describes activity patterns, such as: When does a user start using applications? What is the duration of his/her activity? What applications does he/she use? How often does he/she use each application? Configure applications Define profiles (Menu Bar ProtocolsApplications Deploy Defined Applications...)
Nov. 2013
55
Choosing Statistics
Choose statistics to collect Menu Bar DES Choose Individual Statistics... Or Right-click in the Project Editor Choose Individual DES Statistics List of statistics appears Types of statistics Global: collected on the total network (e.g., application response time) Node: collected on individual nodes (e.g., delay, delay variation) Link: collected on individual links (e.g., utilization, throughput, queuing delay)
N. Abedpoor International Imam Reza University of Mashhad Nov. 2013
56
Nov. 2013
57
Choose Results
Nov. 2013
58
Running Simulation
Menu Bar DES Configure/Run Discrete Event Simulation... Set simulation options and click Run
Nov. 2013
59
Running Simulation
Nov. 2013
60
Viewing Results
Menu Bar DES Results View Results... Or Right-click in the Project Editor View Results
Nov. 2013
61
Viewing Results
Nov. 2013
62
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
63
Laboratory Source
Computer Networks-A Systems Approach Edition 3 Larry L. Peterson and Bruce S. Davie
Network manual simulation experiments
Nov. 2013
64
Laboratory workflow: This manual has 12 experiments that cover a variety of networking designs and protocols. The experiments in this manual do not require programming skills as a prerequisite. They are generic and can be easily expanded to utilize new technologies and networking standards. With the free easy-toinstall software, the OPNET IT Guru Academic Edition, networking students and professionals can implement the experiments from the convenience of their homes or workplaces. The manual is suitable for a single-semester course on computer networking at the undergraduate or beginning graduate level. Professors can pick the experiments that are appropriate to their class.
Nov. 2013
65
Nov. 2013
66
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
67
Example
Case study: Small Internetworks In this example, you plan for the expansion of a small company's intranet Currently, the company has a star topology network on the first floor of its office building and plans to add an additional star topology network on another floor You will build and test this "what-if" scenario to ensure that the load added by the second network will not cause the network to fail
Nov. 2013
68
Creating the network Initial Topology: Create empty scenario Choose Network Scale: Office & Use metric units Specify Size: 100 m x 100 m Select Technologies: Sm_Int_Mode_List
Nov. 2013
69
Rapid Configuration: Star Center Node Model: 3C SSII 1100 3300 4s ae52 e48 ge3 Periphery Node Model: Sm_Int_wkstn Number (of periphery nodes): 30 Link Model: 10BaseT Center X x Y: 25 x 25 Radius: 20 Sm_Int_server, 10BaseT, Sm_Application_Config, Sm_Prole_Config
Nov. 2013
70
Right-click on a node View Node Description 3C_SSII_1100_3300_4s_ ae52_e48_ge3 represents a stack of 4 3Com switches (4s): 2 SuperStack II 1100 switches 2 SuperStack II 3300 switches 52 auto-sensing Ethernet ports (ae52) 48 Ethernet ports (e48) 3 Gigabit Ethernet ports (ge3)
Nov. 2013
71
Nov. 2013
72
Nov. 2013
73
Will the server be able to handle the additional load of the second network? Right-click on the server node Individual DES Statistics Node Statistics Ethernet Load (bits/sec) Will the total delay across the network be acceptable once the second network is installed? Right-click in the workspace (but not on an object) Individual DES Statistics Global Statistics Ethernet Delay (sec) Run the simulation for 30 minutes
Nov. 2013
74
Expanding the network Rapid Configuration: Star Center Node Model: 3C_SSII_1100_3300_4s_ae52_e48_ge3 Periphery Node Model: Sm_Int_wkstn Number (of periphery nodes): 15 Link Model: 10BaseT Center X x Y: 75 x 62.5 Radius: 20 CS_2514_1s_e2_sl2 (Cisco 2514 router), 10BaseT
Nov. 2013
75
Nov. 2013
76
Nov. 2013
77
The average load for the expansion scenario is higher (as expected) But there is no significant change in Ethernet delay on the network
Nov. 2013
78
Chapter 1 Introduction
About OPNET IT Guru Academic Edition OPNET Modeler Simulation workflow Laboratory Source Example OPNET Modeler Editors
Nov. 2013
79
Nov. 2013
80
The Node Editor provides operations to support creation and editing of node models
Nov. 2013
81
The Process Editor is used to specify the behavior of process models Process models use a finite state machine (FSM) paradigm to express behavior that depends on the current state and a new stimuli
Nov. 2013
82
The operations performed by a process model are described in statements based on the C or C++ languages These statements can be associated with states, transitions, or special blocks within the process model
Nov. 2013
83