QualNet 5.0 Tutorial (ELEC 6851)
Part 1: Installation
TODO: I would recommend getting AITS to provide the installation instructions as I’m sure the license restrictions will determine how/where QualNet gets installed.
Part 2: The QualNet 5.0 Developer
The QualNet Developer IDE is a GUI program for developing network scenarios that comes with QualNet 5.0. It can be used to visually design network scenarios and then run simulations of these networks. Although networks can be designed and simulated in a command-line fashion as well, we will focus on the Developer IDE package. The first step is to open the Developer IDE program. Depending on the installation procedure, it can be opened via the start menu or by opening the directory where QualNet was installed. Double-click on the “QualNet Developer 5.0.1” icon on the desktop (this option is available only if you chose to install desktop shortcuts during installation).
Part 3: Setting Up a Network - Basics
The first task is to create a new network scenario. To do this, go to the File Menu ->New. Save it in your local folder: File Menu ->Save. Choose the local directory where you want to save the scenario. Enter a name for the new scenario (for example, “Example1”). Click Save. A grid should appear in the right hand window (see Fig 1). This is where we will deploy the nodes and create network connections. The left hand window has four panels: File System, Toolset, Visualization Control and Runtime Analysis (Toolset panel open).
Figure 1: A new scenario has just been created.
To setup our first network, we will proceed by a simple example of a 15 node wireless network that accesses the channel using the CSMA/CA scheme defined by the 802.11 protocol. The first step in creating a network is to deploy the nodes. This is done in the right hand window, the so-called Canvas Area. Nodes can be deployed manually according to an arbitrary topology by selecting Toolset -> Device -> Default (just a generic node), then clicking anywhere on the canvas area. In adhoc networking scenarios it is often assumed that the nodes are deployed randomly on the terrain and we will assume random deployment in this example. To randomly deploy the nodes we go to the Tool menu -> Node Placement. The Automatic Node Placement Wizard will open (see Fig. 2).
Figure 2: Node placement
We then enter the desired number of nodes we would like in our network. Node Placement Strategy: Random. It then asks for a seed value for the random number generator (leave it blank). Click OK. The Placement Wizard will close and the nodes will be deployed randomly on the grid in the Scenario Designer window (see Fig. 3). Location of a node may be changed by left clicking the mouse on the arrow button then left clicking it on the node and dragging it to the desired location.
Figure 3: Random node deployment
We now want to add these nodes to a wireless network. The first step is to select the nodes we wish to add to the wireless network. To do this we can use the selection tools (arrow or lasso in the View Toolbar). Select all of the nodes by using either of the selection tools and left clicking and dragging the mouse around the nodes. To connect these nodes to a wireless network, select Toolset -> Network Components -> Wireless Network. Now click anywhere on the area you selected earlier. A cloud should appear on the canvas area representing this wireless network and the nodes should be joined to this cloud with blue lines representing the newly formed wireless connections (see Fig. 4).
Figure 4: The nodes connected to the wireless network.
Part 3a: Creation of Application Layer Connections
After setting up the network, the next step is creation of application layer connections between the nodes. At any time, there may be several connections active simultaneously in the network. Each connection will have a source and a destination node. The source node generates traffic and...
Please join StudyMode to read the full document