ns-3 Guide

Download ns-3 (version 3.36.1)       Official Mirror      Local (isical) Mirror

Extract the tar file

tar -xvf ns-allinone-3.36.1.tar.bz2

Change into the installation directory

cd ns-allinone-3.36.1/ns-3.36.1/

Configure ns-3 examples and tutorials

./ns3 configure --build-profile=debug --enable-examples --enable-tests

Build ns-3

./ns3 build

Testing

./test.py --no-build

Sample Run

./ns3 run hello-simulator