Table Of ContentComputer Science/Computer Engineering/Computing
Sethi
The Practical
Hnatyshin
OPNET® User Guide for
Computer Network fT
o
h
r
Simulation e
C
P
o
r
ma
One of the first books to provide a comprehensive description of OPNET®
c
IT Guru and Modeler software, The Practical OPNET® User Guide for p
t
Computer Network Simulation explains how to use this software for ui
c
simulating and modeling computer networks. The included laboratory projects
ta
help readers learn different aspects of the software in a hands-on way. e
l
r
The book begins with a systematic introduction to the basic features of O
OPNET, which are necessary for performing any network simulation. The N
remainder of the text describes how to work with various protocol layers eP
using a top-down approach. Every chapter explains the relevant OPNET N
t
features and includes step-by-step instructions on how to use the features wE
during a network simulation.
T
o
®
Each laboratory project in the back of the book presents a complete r
simulation and reflects the same progression of topics found in the main kU
text. The projects describe the overall goals of the experiment, discuss the s
S
general network topology, and give a high-level description of the system e
i
configuration required to complete the simulation. mr
G
Written by two longtime educators and users of OPNET, this guide enables u
readers to understand the complex functionality available in OPNET and lu
a
learn how to perform various tasks in a network simulation. By providing i
td
an in-depth look at the rich features of OPNET software, the book is an
i
invaluable reference for IT professionals and researchers who need to oe
create simulation models. It also helps newcomers understand OPNET by n
organizing the material in a logical manner that corresponds to the protocol
layers in a network.
K10606
ISBN: 978-1-4398-1205-1
90000
9 781439 812051
K10606_COVER_final.indd 1 7/26/12 2:59 PM
The Practical
OPNET® User Guide for
Computer Network
Simulation
The Practical
OPNET® User Guide for
Computer Network
Simulation
Adarshpal S. Sethi
Vasil Y. Hnatyshin
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
© 2013 by Taylor & Francis Group, LLC
CRC Press is an imprint of Taylor & Francis Group, an Informa business
No claim to original U.S. Government works
Version Date: 20120612
International Standard Book Number-13: 978-1-4398-1206-8 (eBook - PDF)
This book contains information obtained from authentic and highly regarded sources. Reasonable efforts
have been made to publish reliable data and information, but the author and publisher cannot assume
responsibility for the validity of all materials or the consequences of their use. The authors and publishers
have attempted to trace the copyright holders of all material reproduced in this publication and apologize to
copyright holders if permission to publish in this form has not been obtained. If any copyright material has
not been acknowledged please write and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmit-
ted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented,
including photocopying, microfilming, and recording, or in any information storage or retrieval system,
without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copyright.
com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood
Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and
registration for a variety of users. For organizations that have been granted a photocopy license by the CCC,
a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used
only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
and the CRC Press Web site at
http://www.crcpress.com
To my loving wife Parveen, without whose immense patience
and support this book would not have been possible.
Adarshpal S. Sethi
To my parents who were always an endless source of
inspiration, encouragement, and support. To Ivy and Markiyan
for their smiles and laughter that brightened my days.
Vasil Y. Hnatyshin
Contents
Preface....................................................................................................................xvii
Authors ....................................................................................................................xxi
OPNET Trademark Information ..........................................................................xxiii
Chapter 1 Getting Started with OPNET ...............................................................1
1.1 OPNET IT Guru and Modeler ...................................................1
1.1.1 Installing OPNET IT Guru and Modeler .....................2
1.1.2 OPNET License Server ................................................2
1.1.3 Folders Created at Installation .....................................3
1.1.4 Enabling Optional Product Modules ............................3
1.2 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
1.3 Viewing Documentation ............................................................7
1.4 Working with Files and Model Directories ...............................7
1.4.1 File Chooser Modes .....................................................9
1.4.2 Adding Model Directories............................................9
1.5 Projects and Scenarios .............................................................11
1.6 Working with Projects .............................................................12
1.6.1 Opening an Existing Project ......................................12
1.6.2 Creating a New Project with the Startup Wizard .......12
1.6.3 Deleting a Project .......................................................14
1.7 Working with Scenarios ..........................................................15
1.7.1 Creating Scenarios .....................................................15
1.7.2 Managing Scenarios ...................................................16
1.7.3 Selecting a Scenario ...................................................18
1.7.4 Importing Scenario Components ...............................18
Chapter 2 Creating Network Topology ...............................................................21
2.1 Introduction .............................................................................21
2.2 Object Palette Tree Utility for Creating Network
Topology ..................................................................................22
2.2.1 Model Naming Conventions .......................................24
2.2.2 Models in the internet_toolbox Palette ......................25
2.3 Working with the Object Palette Tree .....................................26
2.3.1 Opening the Object Palette ........................................26
2.3.2 Searching for Models in the Object Palette................27
2.3.3 Creating Custom Models ............................................27
vii
viii Contents
2.4 Creating Network Topology ....................................................28
2.4.1 Creating Network Topology: Adding Nodes ..............29
2.4.2 Creating Network Topology: Adding Links ...............29
2.4.3 Creating Network Topology: Deleting
Nodes or Links ...........................................................30
2.4.4 Creating Network Topology: Other Editing
Operations ..................................................................30
2.5 The Rapid Configuration Tool .................................................30
2.5.1 Creating Network Topology with
the Rapid Configuration Tool .....................................30
2.5.2 Example: Creating Ethernet LAN with the Rapid
Configuration Tool .....................................................31
2.6 Configuring Link Objects ........................................................32
2.6.1 Changing Basic Link Properties ................................32
2.6.2 Verifying Link Connectivity ......................................33
2.7 Failing and Recovering Network Elements .............................35
2.8 Subnets .....................................................................................36
2.8.1 Adding a Subnet Object..............................................37
2.8.2 Moving Around the Network Hierarchy ....................38
2.8.3 Creating a Network Topology with Subnetworks ......40
2.8.4 Moving Objects between Subnets ..............................40
2.9 Creating Topology Annotation ................................................41
2.9.1 Adding Annotation Palette Object to the
Project Workspace ......................................................42
2.9.2 Modifying Attributes of Annotation
Palette Objects ............................................................42
2.9.3 Showing/Hiding Annotation Palette Objects in
the Project Workspace ................................................43
2.10 Removing Node Clutter ...........................................................43
Chapter 3 Configuring Network Topology .........................................................45
3.1 Introduction .............................................................................45
3.2 Object Attributes .....................................................................46
3.2.1 Types of Attributes .....................................................46
3.2.2 The Object Pop-Up Menu ..........................................47
3.3 The Edit Attributes Dialog Box ...............................................49
3.3.1 Accessing Attribute Description ................................50
3.3.2 Working with Compound and Grouping
Attributes ....................................................................51
3.3.3 Attributes with Multiple Instances .............................51
3.3.4 Filtering Attributes .....................................................52
3.3.5 Finding Attributes Using Regular Edit Attributes
Filtering Feature .........................................................53
3.3.6 Finding Attributes Using Advanced Edit
Attributes Filtering Feature ........................................53