Ns 2 Windows Instructions

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Network Simulator 2 windows.

:
Network Simulator
:

tcl830.exe ( installer tcl)


ns-2.1b9a-win32.exe ( Network Simulator
2)
nam-1.0a11a-win32.exe ( Network
Animator)
xgraph1_3.zip ( )
awk95.exe ( interpreter awk)

http://www.medialab.ntua.gr/~djvergad/bin

:
1. tcl
tcl.
installer tcl830.exe
2. .
Network Simulator 2
(ns-2.1b9a-win32.exe), Network Animator (nam-1.0a11a-win32.exe),
xgraph (xgraph.exe .zip), awk
(awk95.exe) .
. (.. c:\netsim\)
ns.exe, nam.exe,
xgraph.exe awk.exe .
3. PATH
network simulator
, PATH
Network Simulator.
PATH
:

windows 98 PATH c:\autoexec.bat.


Network Simulator c:\netsim
c:\autoexec.bat :
SET PATH = %PATH%;c:\netsim\

windows 2000 windows XP


PATH : My computer
properties. tab Advanced Environment
Variables. Edit PATH
Network Simulator.
windows vista, PATH
: computer
properties. Advanced system settings,
Environment Variables.
Edit PATH
Network Simulator.
4. .



(command line). windows 2000 windows XP
start run cmd.
windows 98 start->run command.
vista Start, Start Search cmd,
enter.
tcl
Network Simulator :
notepad script.tcl

script.tcl .
,

ns script.tcl


trace
.
animation ,

nam out.nam

out.nam animation. (
namtrace-all tcl.
, 1 3 out.tr
. T
xgraph,
xgraph out.tr
xgraph, excel.
excel, File->Open,
out.tr
( File of typeAll Files).
, Text import wizard
Delimited space deliminator. , advanced
. wizard,
out.tr excel.
, InsertGraphXY Scatter,
.
4 , .tr
,
.
awk,
.

awk f trace.awk <out.tr

trace.awk out.tr trace


. outputs
( results.txt)
awk f analyze.awk <out.tr >results.txt


, , email:
djvergad@telecom.ntua.gr.

http://www.isi.edu/nsnam/ns/index.html ( Network
Simulator 2)
http://www.isi.edu/nsnam/ns/tutorial/index.html (
Network Simulator 2)
http://www.isi.edu/nsnam/ns/ns-documentation.html (NS2
Documentation)
http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html
( tcl)
ftp://ftp.tns.lcs.mit.edu/pub/otcl/doc/tutorial.html (
otcl)
http://www.tcl.tk/man/ (tcl manual)

http://www.vectorsite.net/tsawk.html ( awk)
http://people.cs.uu.nl/piet/docs/nawk/nawk_toc.html (awk
Manual)
http://www.xgraph.org/ ( xgraph)

You might also like