WWW.JLSNET.CO.UK

NS-2 Scripts - Network Simulator 2

Author: James Saunders Date: Sun, 14 Mar 2004 23:40:54 CET

NS-2 is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.

Please Choose a link from above or the following:

Basic NS-2 Script

In this section, you are going to develop a Tcl script for ns which simulates a simple topology. You are going to learn how to set up nodes and links, how to send data from one node to another, how to monitor a queue and how to start nam from your simulation script to visualize your simulation.

Fixing a Few Complination errors

A few complination errors and how I fixed them: 'friend class' errors, GPRS patch problems, XFree86-devel problem and setting Enviroment Variables.

Node Colour, Shapes and Orientation

How to set the shape, colour and orientation of nodes when displayed in NAM. To set the orientation, This will effect the way in which the simulation will be displayed in NAM.

Links, Data Rates and Data Rate Converter

This tutorial will describe how to link two nodes in NS-2. The link properties can be modified to effect bandwidth and delay. This tutorial will also go into some detail about data rates and also includes a Data Rate Conversion Tool.

Using the recv() Agent function

My learning experiances as I start to program a C++ agent.
 
Site By JLSaunders http://www.jlsnet.co.uk/ Copyright © JLSaunders 2010