Previous Tip | Next Tip | Design Tips | [Bill's Home]
I've seen many students struggling with NS-2, so I've created an image which can be run without Cygwin:
[Click here to download a runable image]
If you want to see a demo, click here:
Video: [Click here to show a demo of NS-2] Video: [Click here to show a demo of Trgraph]
For example:
C:\>cd netsim C:\netsim>cd ns C:\netsim\ns>netsim example1a.tcl C:\netsim\ns>set TCL_LIBRARY=/netsim/lib/tcl8.3 C:\netsim\ns>set TK_LIBRARY=/netsim/lib/tk8.3 C:\netsim\ns>set PATH=C:\Tcl\bin;... C:\netsim\ns>ns example1a.tcl C:\netsim\ns>ns example2a.tcl
The following are two recent NS-2 projects, which may give some help:
[Click here for Movement in Ad-hoc Wireless Networks][Click here for the TCL scripts] [Click here for Wireless Simulation] [Click here for the TCL scripts]
An example of using the DSR ad-hoc routing protocol for moving nodes is:
[Click here for DSR Ad-hoc Wireless Simulation] [Click here for Ad-hoc Wireless Trgraph]
Note that the intermediate nodes are used to route the data between nodes.
Please contact me if you need any other help.
If you want to install NS-2 with Cygwin, here's a tutorial written by Ed Mitchell and Dr Nigas Migas:
[Click here to View Tutorial ]