Вы находитесь на странице: 1из 20

QualNet Tutorial

By- Punit Rathod


10th Sep, 2005 2
Outline
What is QualNet?
Tools in QualNet
Directory Structure of QualNet
How to use QualNet
Graphical Interface
Command Line
Analysis using QualNet
Demo

10th Sep, 2005 3
Introduction
What is QualNet ?
Commercial Derivative of GloMoSim
Java Based Graphical Interface
C based implementation for protocols
Event Based Simulator
Modular Design
Support for various networks
MANET
QoS
Wired Networks
Cellular Networks
Satellite Networks
10th Sep, 2005 4
Introduction
Advantages of QualNet
Rapid Prototyping
Comparative performance of alternative
protocols at each layer
Built-in Measurements at each Layer
Modular
Scalable
A Graphical tool to allow rapid system and
protocol prototyping/modeling
10th Sep, 2005 5
Layered Model
Architecture Similar
to the Physical Networks
2. Well defined API for
the protocols to interact
with each other
Unit of Interaction:
Message can either
Packet or Timer

CBR / FTP / TELNET
Application
TCP / UDP
Transport
IP
IP
OSPF / AODV
Network
802.11 / 802.3
MAC
Bus / Point-2-Point
Physical
Wired / Free Space
10th Sep, 2005 6
Tools Provided by QualNet
Animator
Graphical Experiment Setup and Animation
Designer
Finite State Machine (FSM) based custom
protocol designer
Analyzer
Statistical graphical analysis tool for custom
statistics
Tracer
Packet Level Tracing and Visualization
10th Sep, 2005 7
Installation
Prerequisites
C compiler
Windows: Visual C++ 6.0 with SP5
Unix: gcc
Java 1.3 or later
QualNet License
Department QualNet License Server
prayog.it.iitb.ac.in
30 user License
Can be accessed from 10.129.*.* subnet
10th Sep, 2005 8
Directory Structure
The Basic Directory Hierarchy
/bin Executable Files
/gui GUI
/main Basic Design and Makefiles
/docs Documentation
/data Modulation and Terrain data files
/verification Sample files and Output
10th Sep, 2005 9
Directory Structure
Directories of use for modifications
/addons Optional Packages
/phy Wireless Physical Layer & Propagation
Models
/mac MAC layer Protocols
/network Network layer and routing Protocols
/mobility Mobility Models
/transport Transport layer Protocols (TCP/UDP)
All flavors of TCP
/tcplib Trace based TCP applications
(FTP, TELNET, HTTP)
/application Application Layer Protocols & Traffic
Generators
10th Sep, 2005 10
Using QualNet
2 ways of using
Graphical Interface
Using QualNet Animator
Command line
Using text config files

10th Sep, 2005 11
Graphical Method
Use QualNet Animator
Setup QualNet Parameters
Place Nodes and set up Applications
Create links
Change Application, node and link parameters
Animator Runtime Toolbar
Start, Pause, Stop, Step through the simulation
Choose simulation speed and animation detail
Choose among the dynamic statistics available
10th Sep, 2005 12
Star Topology Example
10th Sep, 2005 13
Star Topology Example
10th Sep, 2005 14
Star Topology Example
10th Sep, 2005 15
Star Topology Example
10th Sep, 2005 16
Star Topology Example
10th Sep, 2005 17
Star Topology Example
10th Sep, 2005 18
Command Line Method
Create .config file using the template
default.config given in /bin folder
Add nodes, applications and links in the
config file
Run Simulation using the command
"qualnet <expt-name>.config"
10th Sep, 2005 19
Input & Output files
Input Files
Each file has name <expt-name>.extension
.config : General Simulation Parameters configuration
.nodes : Nodes in the Network to be simulated
.app : Applications Configuration
.fault : Probabilistic Faults in a Node
.routes : Routing Entries

Template for the configuration files available in /bin
directory
Example configuration entry for FTP Flow
FTP <src> <dest> <# items> <size> <start_time>
FTP 1 2 10000 512 1.5S
10th Sep, 2005 20
Input & Output files
Output Files
.stat
Statistical Data (Summary)
.trace
Packet Traces (can be read by QualNet Tracer)
Specific Trace Dumps (TCP)
tcptrace.dmp
tcptrace.asc
tcptrace.out

Вам также может понравиться