NS Simulator Course for Beginners
Lecture Notes, Sept 2002
Univ. de Los Andes,
Merida, Venezuela
Eitan Altman, Tania Jimenez
The lecture notes are available in postscript.
TCL FILES:
Scripts for TCP examples
ex1.tcl
TCP and CBR connections sharing a bottleneck link.
rdrop.tcl
TCP and CBR connections with random drops.
ex3.tcl
Example with several TCP connections. Delays and initial trnamission times
created at radom.
shortTcp.tcl
This is a script for working with short TCP files with several
source nodes, sharing a single bottleneck link.
shortTcp2.tcl
A script with similar functionalities, a more sophisticated tcl
programming. Extra monitoring features.
Scripts for unicast and multicast routing
Scripts for RED queue
red.tcl
This is a script for 3 TCP connections with a RED bottleneck buffer.
Parameters are configured automatically.
drptail.tcl
The same network as in red.tcl but with a dropt tail buffer.
The queue monitoring is done differently.
shortRED.tcl
This is a script for working with short TCP files with several
source nodes, sharing a single bottleneck link with a RED buffer.
Scripts for diffserv
diffs.tcl
This is a script for working with short TCP files with several
source nodes, sharing a single bottleneck link. It is used to show how
with proper choice of CIR, marking decreases losses of vulnerable
packets (syns etc).
Scripts for LANs
Scripts for Classical Queueing Models
Scripts for mobile networks
Scripts for LANs
Scripts for Classical Queueing Models
Scripts for mobile networks
wrls-dsdv.tcl
TCP over a 3 nodes Ad-hoc network with DSDV routing protocol.
wrls-dsr.tcl
TCP over a 3 nodes Ad-hoc network with DST routing protocol.
wrls-aodv.tcl
TCP over a 3 nodes Ad-hoc network with AODV routing protocol.
wrls-tora1.tcl
TCP over a 3 nodes Ad-hoc network with TORA routing protocol.
wrls-tora2.tcl
TCP over a 4 nodes Ad-hoc network with TORA routing protocol.
Others
AWK FILES:
avr.awk
Computing the average
stdv.awk
Computing thestandard deviation.
PERL FILES:
throughput.pl
Computing the throughput
column.pl
Extracting a column from a file
Some references and links:
The Network Simulator Home Page
The ns Manual
Nortel-Diffserv module manual for ns
Marc Greis's tutorial
Tutorial by Jae Chung and Mark Claypool
RED Queue Management page