26
Introduction to QualNet

Qualnet

Embed Size (px)

Citation preview

Page 1: Qualnet

Introduction to QualNet

byMohammed Aaqib M

08MSE137

Page 2: Qualnet

Outline

What is?? GloMoSimQualNet

Advantage of QualNet Over GloMoSimDirectory Structure of QualNetHow to use QualNet

Graphical InterfaceCommand Line

Components of QualNetDemo

Page 3: Qualnet

GloMoSimGlobal Mobile Information Systems Simulation

Library(1998).GloMoSim is a network protocol simulation

software that simulates wireless and wired network systems.

It is designed using the parallel discrete-event simulation.

GloMoSim currently supports protocols for a purely wireless network.

It uses the Parsec compiler to compile the simulation protocols.

Page 4: Qualnet

Disadvantage of GloMoSimGloMoSim is not Open Source(public domain), but

it is freely available without fee for education and research and to non-profit agencies.

The documentation of GloMoSim is quite poor. (there is not even a user manual).No Set of tools available to speed up the generation of topologies. Weak in analyzing the post-simulation results.No Interactive simulation environmentGloMoSim does not support phenomena occurring

outside of the simulation environment.

Page 5: Qualnet

What is QualNet?• Network Simulator

• Commercial Version of GloMoSim (UCLA)

• Discrete event simulator

• Allows simulation of Wired and Wireless Networks

• Fully customizable Protocol development (API).

• Java Based Graphical Interface

• C based implementation for protocols

•Modular Design

Page 6: Qualnet

QualNet Over GlomoSim Rapid Prototyping Comparative performance of alternative

protocols at each layer Instant playback of simulation results to

minimize unnecessary model executions Multi-platform support Real-time simulation for man-in-the-

loop and hardware-in-the-loop models.

Page 7: Qualnet

QualNet Over GlomoSim An In-depth analysis toolModular and Scalable upto thousands of

nodesadvanced graphical and mathematical tools

for experiment building, monitoring and post-processing.

possibility of parallel and/or distributed implementations,

possibility to specify a realistic 3D model of the environment.

Page 8: Qualnet

Using QualNet

2 ways of usingGraphical Interface (GUI)

Using QualNet AnimatorCommand line

Using text config files

Page 9: Qualnet

Layered ModelArchitecture Similar

to the Physical NetworksWell 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

Page 10: Qualnet

Directory StructureThe 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

Page 11: Qualnet

Directory StructureDirectories 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)• /applicationApplication Layer Protocols & Traffic

Generators

Page 12: Qualnet

Architecture of QualNet

Page 13: Qualnet

Creating a scenario: Step by step

Page 14: Qualnet

Simulation ParametersSimulation timeSeed numberTerrain dimensionsNumber of nodesNode placement (random, uniform, file, …)Mobility (group, random waypoint, …)Propagation pathlossmodel.Fading model, shadowing modelPHY layer, MAC layer, NETWORK layer,

TRANSPORT layer, APPLICATION layerStatistics, Traces…

Page 15: Qualnet

Models Available in QualNet•Application Layer -->CBR, FTP, HTTP, MCBR,

TELNET, VBR, VOIP

•Transport Layer -->TCP, UDP

•Multicast -->DVMRP, MOSPF, ODMRP, PIM-DM

•Routing -->AODV, DSR, Fisheye, LANMAR, LAR, OLSR, OSPFv2, STAR, ZRP.

• Queuing -->FIFO, RED, RIO, WRED

• Scheduling -->CBQ, Round Robin, WFQ, WRR.

Page 16: Qualnet

MAC --> Aloha, CSMA, MACA, TDMA, IEEE 802.11

Antenna -->Omnidirectional,Steerablebeam,Switched

beamPathloss -->Free space, Pathloss matrix, 2-rayShadowing -->Log-normalFading -->Rayleigh, RiceanModulation -->BPSK, DPSK, FECMobility -->Group mobility, Random

waypoint, Trace- based mobility

Page 17: Qualnet
Page 18: Qualnet

Components of QualNetQualNet comprises of

Architect

Analyzer

Packet Tracer

File Editor

Page 19: Qualnet

Architect’s mode Architect provides the following features for

creating network scenarios: • Drag-and-drop design of network scenarios. • Toolsets for devices, links, network components and

applications. • 2D and 3D views of the terrain, including DEM, DTED,

and urban terrain features. • Table view for a quick, comprehensive view of the

devices, networks, interfaces, applications and hierarchies in the scenario.

• Specification of mobility models and weather patterns.

• Setup and customization of simulation parameters. .

Page 20: Qualnet

Architect• Properties Editors to customize any protocol layer, device, or

application. • Device Model Editor to build custom devices and network

components.• Hierarchy Editor to build custom platforms and complex

network components that contain other network devices. • Batch experiments to enable simulating the same scenario

with different values of network parameters, and comparing simulation results for different combinations of parameter values.

• Settings for running the simulation on multi-core and cluster systems, and for running the simulator on remote, powerful systems while running the GUI on the user's desktop

Page 21: Qualnet

AnalyzerAnalyzer is a graphical tool for analyzing statistics

generated by a simulation.

A Statistics (.stat) file is created containing the simulation

results.

Analyzer parses the contents of a statistics file and

presents the information graphically.

A user can watch traffic flow through the network and

create dynamic graphs of critical performance metrics as a

simulation is running.

Analyzer can also aggregate these metrics and show

statistics for a node aggregated over all interfaces of the

node and system-wide (scenario-level) statistics.

Page 22: Qualnet

Packet TracerIt allows packet-level visualization for viewing

the contents of a packet as it goes up and down

the protocol stack;

Simulator is designed to accommodate high-

fidelity models of networks of 10's of thousands of

nodes with heavy traffic and high mobility

Page 23: Qualnet

File EditorInput Files

Each file has name <expt-name>.extension.config : General Simulation Parameters

configuration.nodes : Nodes in the Network to be

simulated.app : Applications Configuration.routes : Routing Entries

Output Files.stat :Statistical Data (Summary).trace:Packet Traces (can be read by QualNet

Tracer)

Page 24: Qualnet

Demo

Page 25: Qualnet

Any Questions?

Page 26: Qualnet

Thank You..!