This page is an entry point to the ns-3 documentation maintained by the project (other tutorials exist on external blogs and on YouTube but are not typically listed here).

Documentation is available for the current release, older releases, and also our development tree.

Getting started

  • Tutorial: The tutorial (including a quick-start installation guide) for our latest release is available in HTML and PDF formats.
  • Installation: We recently added a new installation guide, in HTML and PDF formats.
  • Models: The ns-3 model library documentation (latest release), in HTML and PDF formats.
  • Mailing lists: We have several mailing lists, but in particular, the ns-3-users Google Group forum, answers many questions from people trying to get started.
  • Chat: ns-3 discussions also take place in a Zulip chatroom. We do not use Discord, Slack, or IRC, but Zulip instead.
  • Videos: The ns-3 Consortium has offered training and tutorial sessions at its annual meeting, and recorded videos from prior sessions can be found from this training page. Note that due to the pandemic, in-person training sessions have not been offered since 2019. For some additional recorded sessions, please see also the videos page.

Development

Most users will need to write new simulation scripts and possibly modify or extend the ns-3 libraries to conduct their work. The three main resources for this are our reference manual, model library documentation, and our Doxygen.

  • We maintain a reference manual on the ns-3 core, and a separate model library documentation set, also in several formats for our latest release.
  • All of our APIs are documented using Doxygen
  • The ns-3 coding style documentation is maintained on this site.

Technical reports

Some technical reports about the ns-3 models are listed below.

Wi-Fi models

  • Direct Code Execution: Documentation on the ns-3 Direct Code Execution environment is also linked from this site.
  • Netanim: A network animator for ns-3.
  • Bake: The package management tool for advanced ns-3 builds.
  • ns-2

Miscellaneous

Not finding what you are looking for? Have a look at the ns-3 wiki, where such topics as current development, release planning, summer projects, contributed code, FAQs and HOWTOs. Not everything is linked from the masthead so try entering keywords in the search box.

We have a number of other archived documents such as older tutorials or talks presented about ns-3.