Network Simulator - NS
Get Started
Download NS (v 2.26 for gcc32)*. This version will compile seamlessly with all gcc compilers (even with the one that comes with new Gnu/Linux distributions). After doing a "tar zvxf ns-allinone-2.26.tar.gz", run "./install"
The best place to start learning NS is Marc Greis's Tutorial at ~ns/ns-tutorial. Another very good tutorial - NS by example - is available at www.wpi.edu, you can download it from here, as well.
For complete documentation - download NS documentation*
Analysis
After running a few scripts, one realizes that one needs to analyse the trace files produced by ns. For this one needs to know about the trace file format. Check out this link for the same.
One can use XGraph (provided with NS-all-in-one package) or Gnuplot for plotting various graphs. One needs to write one's own scripts. This can be achieved as described in the above-mentioned tutorials.
There is an excellent tool called Tracegraph. Tracegraph is a tool developed by Jaroslaw Malek([email protected]). This tool takes trace files outputted by NS as input and can be used for plotting various graphs like throughput, jitter, delays etc. It uses MATLAB libraries. It is available at www.geocities.com/tracegraph
NS-Users mailing list
One can join NS-users mailing list - a forum for discussion about ns and related tools. Visit www.isi.edu/nsnam/ns
Some presentations & documents:
A brief guide to ns-2 (pdf, OpenOffice) NEW!!
NS_Fundamentals_1-6-PDF
NS_Fundamentals_2-6-PDF
Wireless-Powerpoint
Wireless_world_in_NS-Powerpoint