Sign inSign up

rogermiret/ns-2

By rogermiret

Updated almost 9 years ago

The Network Simulator - ns-2 https://www.isi.edu/nsnam/ns/

Image
0

6.7K

rogermiret/ns-2 repository overview

The network simulator - ns-2 https://www.isi.edu/nsnam/ns/

MacOS Instructions

Assuming you have Kitematic:

  • Open a terminal on your host machine and:
docker-machine ssh
docker pull rogermiret/ns-2
docker run -d -t -v /tmp:/data --name ns-2 rogermiret/ns-2

On Kitematic you should see your new Docker container.

  • Click on Settings --> Volumes
  • Change the /data folder
  • Click on the "Exec" button. A new terminal window should be opened.
  • Use /bin/bash to work with bash instead of sh.
  • You will find the directory you specified before in /data, so cd /data.

Here you can use the ns command with your scripts.

Available Commands

  • ns
  • nam
  • nstk
  • otclsh And others. Chech /ns/ns-allinone-2.35 and its subdirectories.

Tag summary

Content type

Image

Digest

Size

284.2 MB

Last updated

almost 9 years ago

docker pull rogermiret/ns-2