Effects

Preferences saved in localStorage (fx-boot, fx-matrix, fx-ripple). No cookies. Privacy Policy ›

How-To: Run your own code/scenario with ndnSIM 2.0 (Ubuntu 14.04)

Apparently the tutorial suggests to download the ndnSIM scenario template, however, this does not look to be compatible with ndnSIM 2.0 (yet).

The mailing list suggests using the ns-3/scratch/ folder (for now), so here is an example of how to use that folder to run your scenario:

cd ns-3
cd scratch
wget https://raw.githubusercontent.com/named-data/ndnSIM/master/examples/ndn-simple.cpp
mv ndn-simple.cpp my-ndn-code.cc
cd ..
./waf --run my-ndn-code --vis