ns-3 is a discrete network simulator
website: https://www.nsnam.org/
- Docker
- XQuartz
In the XQuartz preferences -> “Security” and make sure you’ve got “Allow connections from network clients” ticked.
Navigate to the ns-3 directory:
make build
To run the container, navigate to the ns-3 directory:
make run
To run the sample, from the container's shell:
root@2bb82f935408:/usr/local# cd ns-allinone-3.30.1/ns-3.30.1/
root@2bb82f935408:/usr/local/ns-allinone-3.30.1/ns-3.30.1# ./waf --pyrun src/flow-monitor/examples/wifi-olsr-flowmon.py --vis