Download The practical OPNET user guide for computer network

Transcript
The Practical
OPNET@ User Guide for
Computer
Network
Simulation
Adarshpal S. Sethi
Vasil Y.
Hnatyshin
CRC Press
Taylor
Si Francis
Boca Raton
Croup
London
New York
an
imprint of the
Taylor & Francis Croup, an informa business
CRC Press is
Contents
Preface
xvii
Authors
xxi
OPNET Trademark Information
Chapter
1
Getting
1.1
1.2
1.3
1.4
1.5
1.6
1.7
Started with OPNET
1
1.1.1
Installing
2
1.1.2
OPNET License Server
2
1.1.3
Folders Created
3
1.1.4
Enabling Optional Product Modules
OPNET IT Guru and Modeler
at Installation
3
Managing OPNET Preferences
4
1.2.1
The Preferences Editor
5
1.2.2
Changing Preference Values
6
1.2.3
The Environment File
6
Viewing Documentation
Working with Files and Model
1.4.1
File Chooser Modes
1.4.2
Adding
Projects
Working
9
with
11
Projects
12
an
1.6.2
Creating
a
New
1.6.3
Deleting
a
Project
Working
1.7.4
7
9
Model Directories
Opening
1.7.3
7
Directories
and Scenarios
1.6.1
1.7.2
2
1
OPNET IT Guru and Modeler
1.7.1
Chapter
xxiii
Existing Project
Project
with the
12
Startup
Wizard
14
with Scenarios
Creating
12
15
Scenarios
15
Scenarios
16
Scenario
18
Managing
Selecting a
Importing
Scenario
Components
18
Creating Network Topology
21
2.1
21
2.2
2.3
Introduction
Palette Tree
Object
Topology
Utility for Creating Network
22
2.2.1
Model
2.2.2
Models in the internetjoolbox Palette
Naming Conventions
Working with the Object Palette Tree
2.3.1
Opening the Object Palette
2.3.2
Searching for Models in the Object
2.3.3
Creating Custom Models
24
25
26
26
Palette
27
27
Contents
viii
2.4
28
Creating Network Topology
2.4.1
Creating Network Topology: Adding Nodes
2.4.2
Creating Network Topology: Adding Links
2.4.3
Creating Network Topology: Deleting
Nodes
or
29
30
Links
Creating Network
2.4.4
29
Other
Topology:
Editing
30
Operations
2.5
The
Rapid Configuration
30
with
2.5.1
Creating Network Topology
the Rapid Configuration Tool
2.5.2
Example: Creating
Configuration
2.6
Tool
Configuring
Link
2.6.2
Verifying
2.7
Failing
and
2.8
Subnets
31
32
Objects
Link
Recovering
32
Properties
Connectivity
33
Network Elements
35
36
37
2.8.1
Adding
2.8.2
Moving Around the Network Hierarchy
Creating a Network Topology with Subnetworks
2.8.3
a
Subnet Object
Moving Objects between
Creating Topology Annotation
2.8.4
2.9
Rapid
Tool
Changing Basic Link
2.6.1
30
Ethernet LAN with the
2.9.1
Subnets
40
Object
to the
42
Project Workspace
2.9.2
2.9.3
2.10
Chapter 3
42
Objects
Annotation Palette
Showing/Hiding
the Project Workspace
Removing
Configuring
Attributes of Annotation
Modifying
Palette
Objects
in
43
43
Node Clutter
Network
40
41
Annotation Palette
Adding
38
45
Topology
3.1
Introduction
45
3.2
Object Attributes
46
3.2.1
3.2.2
3.3
46
Types of Attributes
The Object Pop-Up
The Edit Attributes
Dialog
3.3.1
Accessing
3.3.2
Working with
47
Menu
49
Box
Attribute
Description
Compound and Grouping
51
Attributes
3.3.3
Attributes with
Multiple
Instances
Filtering
3.3.5
Finding Attributes Using Regular Edit
3.3.6
Finding
51
52
3.3.4
Filtering
Attributes
Attributes
53
Feature
Attributes
Attributes
50
Using
Filtering
Advanced Edit
Feature
53
Contents
ix
3.4
3.5
Configuring Object Properties
3.4.1
Changing Attribute Values
3.4.2
Changing Attribute Values
3.4.3
Editing Selected Objects
3.4.4
Editing
Similar Nodes
3.4.5
The Model Attribute of
or
54
of
a
Single Object
54
of
Multiple Objects
54
55
Links
an
56
56
Object
Promoting Object Attributes
3.5.1
Promoting an Object Attribute
57
3.5.2
60
3.5.3
Unpromoting
Configuring
at
3.5.4
an
59
Attribute
Object
Object Attributes
Promoted
the Simulation Level
Specifying
60
Values for Promoted Attributes
at the Simulation Level
3.5.5
Configuring Promoted
61
Attributes at the
Subnet Level
3.5.6
Chapter
4
Configuring and Running
4.1
4.2
63
Using the Wildcard Option for Assigning
to Multiple Promoted Attributes
Values
Simulation
67
Simulation Statistics in OPNET
67
4.1.1
Statistic Collection Modes
68
4.1.2
Deciding
a
Which Statistics to Collect
70
Simulation Statistics
71
4.2.1
Choose Results Window
71
4.2.2
Selecting Simulation Statistics for
Selecting
Specific
4.2.3
Network
Selecting
a
Single
Object
74
Simulation Statistics for the
Whole Scenario
Selecting
4.2.5
Statistic Information
4.2.6
Statistic Draw
4.2.7
Statistic Collection Modes
Global Simulation Statistics
and Data
74
Collection Panes
76
Statistic Collection Properties
4.3.2
Configure/Run
4.3.3
Simulation
4.3.4
Configuring
Sequence Editor
Executing
a
78
79
Mode
DES Window: Detailed Mode
and
75
76
Styles
Modifying
Configuring and Running a Simulation
4.3.1
Configure/Run DES Window: Simple
4.3.5
4.4
74
4.2.4
4.2.8
4.3
64
80
82
84
Single
Simulation Scenario
85
Configuring and Executing Multiple Simulation
Scenarios through Manage Scenarios
85
Values for Promoted Attributes
4.3.6
Setting
4.3.7
Simulation Execution
86
87
Results Browser
90
4.4.1
90
Source Pane of the Results Browser
Contents
x
4.4.2
Results Pane of the Results Browser
4.4.3
Preview and Presentation Panes of the
Results Browser
4.4.4
4.5
Analysis
Viewing
4.5.1
94
Panels
96
Simulation Results with the Results Browser
Viewing
4.5.3
Viewing
Object in
a
Specific
the Network
98
Viewing Simulation Results for Scenarios in
98
Projects
4.5.5
Comparing Simulation Results
Adding New Statistics to Existing Graphs
4.5.6
Finding Top
4.5.7
4.6
97
Simulation Results for
This and Other
4.5.4
Viewing
Results
Panels
Deleting Analysis
Converting Panels into Annotation Objects
4.6.5
Reloading Analysis Panels with New Results
Advanced Analysis Panel Properties
4.6.4
4.7
4.7.1
4.7.2
4.8
Chapter
5
5.1
5.3
5.4
101
Panel Area
Pop-Up Menu
Graph Area Pop-Up Menu
102
103
103
103
105
106
107
108
DESLog
110
4.8.1
Discrete Event Simulation Tab
111
4.8.2
Miscellaneous Tab
112
Standard
5.2
99
102
Panels
Arranging Analysis Panels
4.6.3
98
99
Results with the Time Controller
Manipulating Analysis Panels
4.6.1
Hiding/Showing Analysis
4.6.2
97
Simulation Results for the
Current Scenario
4.5.2
92
115
Applications
Modeling Traffic Sources in OPNET
Types of Traffic Source Models in OPNET
5.2.1
Explicit Traffic Models
115
5.2.2
Background
117
5.2.3
Hybrid Traffic Models
Traffic Models
Including Applications
in
a
5.3.1
Application Config Utility Object
5.3.2
Configuring
Description
116
118
Simulation Model
Standard
115
Applications
of Standard Applications
118
120
122
124
5.4.1
Database
124
5.4.2
E-mail
127
5.4.3
FTP
128
5.4.4
HTTP
129
5.4.5
Print
5.4.6
Remote
133
Login
134
xi
Contents
5.5
5.4.7
Video
5.4.8
Voice
135
Conferencing
136
Using Symbolic Node Names
5.5.1
Manually Configuring
140
an
Application's
Source
140
Preferences
Manually Configuring
5.5.2
an
Application's
142
Destination Preferences
5.6
Chapter 6
143
Application Statistics
Advanced Traffic Generation Features
153
6.1
153
6.2
Introduction to Custom
Applications
Configuring
Tasks and Phases for Custom
156
Applications
6.2.1
Task
6.2.2
6.3
6.4
156
Config Utility Object
Task Definitions
6.2.3
Specifying
Specifying
6.2.4
Summary: Configuring
Phase
157
Configurations
Tasks for Custom
Applications
Defining Custom Applications in OPNET
Example of Configuring Custom Applications
165
7
166
in OPNET
168
6.5
Explicit Packet Generation Sources
172
6.6
Application Demands and Traffic Flows
175
176
Demands
6.6.1
Application
6.6.2
Traffic Flow Demands
177
6.6.3
Baseline Loads
180
6.7
Custom
6.8
Statistics for
Application Statistics
Application and Traffic
6.9
Statistics for
Explicit
182
Demands
Specifying
7.1
7.2
User Profiles and
188
189
189
User Profiles
189
7.2.1
Profile Config Utility Object
190
7.2.2
Defining a User Profile
An Example of a Simple User Profile
Configuring Application Behavior
192
7.2.3
7.2.4
within
a
Profile
7.2.5
Application Behavior Attributes
7.2.6
Profile Behavior Attributes
Configuring User Profiles
Examples of Configuring User Profiles
7.2.7
7.3
Deploying Applications
User Profiles
Specifying
183
Packet Generation Sources
and Baseline Loads
Chapter
158
191
193
194
198
200
200
xii
Contents
7.4
Using
the
Application Deployment Wizard
Deploying
7.4.1
Application Deployment
7.4.3
Dialog
207
Controls Panel
Box
207
Application Deployment Operations
Deploy Applications Option
7.4.6
Edit Destination Preferences
Panel
209
212
Configuration Option
7.4.8
Clearing Application Deployment
Deploying User Profiles without Application
212
Edit LAN
7.5.1
213
Wizard
214
Configuring
Client Nodes
214
Configuring
Server Nodes
215
7.5.2
7.5.3
Specifying
Specifying
Destination Preferences
Specifying
the
7.5.4
7.5.5
Number of Clients in
a
217
LAN Object
Transport
Protocol Used
218
Common Mistakes in Profile
Configuration
and
219
Application Deployment
Chapter
8
9
TCP and UDP Protocols
Transport Layer:
8.1
Introduction
8.2
Supported
8.3
TCP
8.4
Common
Network
223
224
Attributes
Transport Layer
227
Statistics
230
Introduction to the IP Protocol
9.1
Introduction
9.2
Basic IP
9.2.1
223
TCP Features
Configuration
Layer:
235
235
Configuration
Basic IP
Attributes
236
Configuration Attributes of an
End Node Model
9.2.2
Basic IP
236
Configuration
Attributes
of a Core Node
9.3
Managing
239
IP Addresses
244
9.3.1
IP Addresses and Masks
9.3.2
Identifying
Attached to
9.3.3
9.3.4
9.3.5
9.3.6
244
Names of Interfaces
a
Link
245
Common Mistakes in IP Address
Auto-Assignment
IP Address
Clearing
Identifying
Exporting
Configuration
of IP Addresses
Assignment
Interface with
a
246
247
249
Specified
IP Address
9.3.7
217
by
Application
an
Chapter
208
Option
Deployment
7.6
206
Hints Panel
7.4.5
7.4.7
7.5
205
Network Tree Browser Panel
7.4.2
7.4.4
for
User Profiles
IP Address Allocation
250
251
xiii
Contents
9.4
Configuring
IP
9.4.2
Basic
9.4.3
9.4.4
9.5
251
Other IP Features
9.4.1
Compression
Configuration
252
of
Configuring
Different
Configuring
IP Load
Protocols
253
of IP Interfaces
255
Routing
Types
257
Balancing
Internet Control
258
9.5.1
258
9.5.2
Message Protocol
Specifying Ping Patterns
Deploying IP Ping Demands
with the
260
ip_ping_traffic Object
9.5.3
Deploying
Ping Demands Using the
IP
261
Protocols Menu
9.5.4
9.6
Common IP Statistics, Tables, and
10
Reports
IP Statistics
9.6.2
Visualization and
Configuration Reports
Viewing Forwarding
and
Routing
Tables
Network Address Translation
271
(NAT)
10.1.1
271
10.1.2
Configuring
NAT
273
10.1.3
Specifying Address Pools
10.1.4
Specifying
10.1.5
Deploying Translation
273
275
Translation Rules
Rules
on
Gateway
276
278
IP Multicast
Supported
in OPNET
10.2.1
IP Multicast Features
10.2.2
Overview of Steps for Deploying IP
10.2.3
Defining
278
279
Multicast Traffic
279
Multicast Traffic
281
10.2.4
Configuring
Source Nodes
10.2.5
Configuring
Destination Nodes
282
10.2.6
Configuring
Router Nodes
284
10.2.6.1
Static-RP Mechanism
10.2.6.3 Bootstrap Mechanism
Configuration
285
286
10.2.6.2 Auto-RP Mechanism
10.3
267
Overview of NAT
Interfaces
10.2
263
271
Advanced IP Protocol Features
10.1
263
263
9.6.1
9.6.3
Chapter
Ping
262
Statistics
Parameters
10.2.7
Other Multicast
10.2.8
Multicast Statistics and Reports
288
289
290
290
IPv6
10.3.1
Overview of
10.3.2
IPv6
Supported IPv6 Features
Addressing
Traffic for IPv6 Networks
10.3.3
Configuring
10.3.4
Other IPv6
10.3.5
IPv6 Statistics and Other Performance
Options
Evaluation Options
290
293
295
296
298
Contents
xjv
10.4
299
Quality of Service
10.4.1
Specifying
Global
QoS
301
Profiles
Committed Access Rate Profiles
10.4.1.1
10.4.1.2 Custom Queuing Scheduler
RED and WRED
10.4.1.3
Configuration
MWRR/MDRR/DWRR Profiles
307
10.4.1.6
Priority Queuing Profiles
309
Specifying
Local
309
309
QoS Profiles
Traffic Classes and Traffic Policies
10.4.2.1
WFQ/DWFQ
10.4.2.2
Queue
Profiles and Custom
314
Profiles
10.4.2.4 MDRR Profiles and DWRR Profiles
Policer Profiles
10.4.2.6
RED/WRED Profiles
Deploying
an
QoS
316
Profiles
on
317
Interface
319
Remarks
Closing
10.4.5 QoS-Related Statistics
10.4.4
11
Network
11.1
320
321
Layer. Routing
321
Introduction
11.1.1
Deploying Routing Protocols in
a
Simulated
322
Network
11.1.2
11.2
Configuring Routing
Protocol Attributes
11.2.1
Introduction
11.2.2
Local RIP
11.2.3
RIP
326
to RIP
328
Configuration Attributes
Interface-Specific Configuration
330
Attributes
11.2.5
11.3
Configuring
RIP Simulation
Efficiency
11.3.1
Introduction
11.3.2
OSPF Attributes
11.3.3
Configuring
11.3.6
334
to OSPF
335
336
OSPF Processes
Specifying OSPF Configuration
on
Router
Interfaces
339
Configuring OSPF
Configuring Link Costs for OSPF Routing
340
OSPF Timers
11.3.7
Configuring
11.3.8
Configuring OSPF Areas
11.3.9
332
Mode
334
with OSPF
11.3.5
332
RIP Start Time
Routing
11.3.4
325
326
RIP
Routing with
11.2.4
315
315
10.4.2.5
Defined
310
313
Profiles
Priority Queue
10.4.2.3
Chapter
305
10.4.1.5
10.4.1.7 WFQ Profiles
10.4.3
303
307
10.4.1.4 FIFO Profiles
10.4.2
302
Configuring
OSPF Area Border Routers
340
343
345
346
Contents
xv
11.3.10
Configure
the OSPF Start Time
11.3.11 OSPF Simulation
11.4
11.5
Chapter
12
Efficiency
347
Mode
347
348
Common Routi ng Statistics
Tables
351
Physical Layers
355
Viewing Routing
Data Link and
12.1
Introduction
12.2
Deploying
Data Link
355
Configuring Simulation Models
Layer Technologies
and
with
Link Model Attributes and Statistics
356
12.4
Ethernet
358
12.5
Token
360
12.6
Wireless LANs
Ring
WLAN
12.6.2
WLAN Statistics
MANET
12.8
Specifying
12.8.2
Using
Configuration
Node
375
Mobility
the Wireless
Deployment
#2:
376
Laboratory Assignment #4:
#5:
379
Wizard
380
387
to OPNET
395
Simple Capacity Planning
Laboratory Assignment #3: Introduction
Laboratory Assignment
370
Defining a Node Trajectory
Configuring a Mobility Profile
Laboratory Assignment #1: Introduction
Laboratory Assignment
364
Attributes
370
12.7
12.9
363
12.6.1
12.8.1
to Standard
405
HTTP Performance
Custom
Modeling
411
Applications
Laboratory Assignment #7: Transport Protocols:
Laboratory Assignment #8:
TCP Features
Laboratory Assignment #9:
IP
TCP
versus
UDP
#10:
Addressing and
Laboratory Assignment #12: Routing
Laboratory Assignment
425
439
RIP
with OSPF
447
455
459
465
#13: Ethernet
Laboratory Assignment #14: Wireless
419
Network Address
Providing Quality of Service Support
Laboratory Assignment #11: Routing with
Unit
431
Translation
Laboratory Assignment
399
Applications
Laboratory Assignment #6: Influence of the Maximum Transmission
on Application Performance
Index
356
12.3
Communication
473
481