300 likes | 1.08k Views
Introduction to Opnet Modeler. ENTC 345 Dr. Ana Goulart Assistant Professor. Assignments. Reading: Chapter 1 and 2 (Stallings) Homework #1: due next Wednesday. Opnet Workflow. Project Editor. Run Simulation. View and Analyze Results. Create Network Models. Choose Statistics.
E N D
Introduction to Opnet Modeler ENTC 345 Dr. Ana Goulart Assistant Professor
Assignments • Reading: Chapter 1 and 2 (Stallings) • Homework #1: due next Wednesday
Opnet Workflow • Project Editor Run Simulation View and Analyze Results Create Network Models Choose Statistics
Opnet’s editors • Network Models • Represent data networks • Run simulations on network • Node Models • Model devices in the network • Process Models • Represent communication protocols, CPUs, queuing systems Process Node Network
Network model – Project Editor Project Editor Workspace
Process model – Process Editor • Finite state machines (FSM) • States and transitions coded in C or C++
And many more editors • Link editor • Path editor • Packet format editor • Probe editor • Simulation sequence editor • Modulation curve editor • Antenna pattern editor, etc….
Projects and Scenarios • Project-and-Scenario approach to modeling network • Project: collection of related network scenarios. • Scenario: is a single instance of the network. Typically, a scenario represents a unique configuration of the network.
The Project/Scenario Workflow • Create Project • Create Baseline Scenario • Import or create topology • Import or create traffic • Choose results • Run simulation, view results • Duplicate Scenario • Make changes • Re-run simulation • Compare results Iterate
Object Hierarchy • Subnets: represent various network objects in a single component (may contain various LAN, node and link models) • LAN: a local area network abstracted as a single node • Nodes: represent servers, switches, gateways, workstations, or any other physical device • Links: represent the physical link between nodes
Organizing Models – Object Palettes • An object palette is a graphical dialog box that displays a group of nodes and link models • Object palettes can be customized to contain only the nodes and links that we need
Example: Small Internetworks • How to use Project Editor • Example: • A company has a star-shaped Ethernet network on the first floor. Due to the increase in the number of employees, the network has to expand to the second floor (a second star-shaped network). They want to find out the impact of this additional traffic to the system.
Run Simulation View and Analyze Results Create Network Models Choose Statistics 1) Create the network New project New scenario -> Startup Wizard Topology Rapid Configuration: Star Choose switch Choose wkst (30 stations) Size = office network, 100 x 100 m Object Palette: Choose server Choose link between server and switch (10BaseT) 2) Create the traffic Object Palette: Application configuration (database access) Profile definition
Run Simulation View and Analyze Results Create Network Models Choose Statistics 3) Choose statistics Object statistic (server): SERVER LOAD (bps) Global statistic : ETHERNET DELAY (sec) 4) Simulation Configure simulation Time = 0.5 h Seed
Run Simulation View and Analyze Results Create Network Models Choose Statistics
Run Simulation View and Analyze Results Create Network Models Choose Statistics 1) Create the network Duplicate scenario -> Startup Wizard Topology Rapid Configuration: Star Choose switch Choose wkst (15 stations) Size = office network Object Palette: Choose router Choose link between router and switches (10BaseT) 2 ) Run simulation 3 ) Compare results
Potential analysis Response time In seconds 99th percentile Of response time 2 1 Average response time 0 Max number Of active users Number of active users A good specification for a system is that response time is under one second 99% of the time.
Conclusion • We’ll do the small internetwork example in the lab • Important concepts to remember: • Project Editor => to create a network • Node Editor => to model network equipment • Process Editor => to model modules (functions) of the network equipment • Object Palette => a collection of node models • Project = {scenario 1, scenario 2, …..} Process Node Network