Tuesday, August 16, 2016

Network Simulator ns2

Network Simulator ns2


System Requirements
                 OS                           : Windows XP-32 bit edition
                 Binaries of            : ns2.exe and nam.exe
                 TclInterpreter      : tclsh.exe
                 IDE                        : NS2 Script Generator

Installation
1. Download and install tcl830.exe
tcl830.exe
Download File

2. Download ns.exe
ns.exe
Download File

3. Download nam.exe
nam.exe
Download File

4. Download nsg2.1.jar [ns2 script generator]
nsg2.1.jar
Download File

5. Download Sample Tcl Script wired1.tcl
wired1.tcl
Download File

Running ns2 script
1. Make sure that all the above files (in a single folder) D: s2
2. open command prompt and go to D: s2
3. Type ns wired1.tcl  [D: s2 s wired1.tcl] after this press enter
4. Click OK button and the NAM window will appear
5. Some times the NAM window may not appear.  In that case go to command prompt and type this D: s2 am out.nam
Picture
Picture

download now