NS3 Simulator tutorial

Ns3 simulator tutorial

    Ns-3 simulator is not an extension of ns-2 simulator. An Ns3 is a new simulator for Ns3 simulator tutorial. Both two simulators are written in C++. But the ns-2 APIs are not supported by the Ns3 which is a new simulator. Already some models from ns-2 have been ported from ns-2 to ns-3. The ns-2 is maintaining the project continuously while ns-3 is being built. And transition and integration mechanisms are studying in Ns3. We are developing both Ns2 and Ns3 projects.

     An open environment can be maintained by the Ns3 simulator tutorial projects for researchers to contribute and share their software. And Ns3 simulator tutorial projects are developed in open source environment.

The people can be encouraged by a few policies to contribute to ns-3 like they have for ns-2:

  • Based on GNU GPLv2 open source compatibility Ns3 simulator tutorial is licensed.
  • Wiki is also used in Ns2 simulator.
  • The ns-2 is similar Contributed Code page and it is popular Contributed Code page.
  • Open bug tracker is already employed in Ns2 simulator.


      In some way to manage the organization and changes to the underlying code and documentation can be done with the complex software systems. This feat can be performed in many ways and currently may have heard of some of the systems that are used to do this. Probably the most well known system is defined as Concurrent Version System (CVS). The Ns3 simulator tutorial project uses Mercurial as its source code management system.

Waf on Ns3 simulator tutorial

    Once the local system is downloaded a source code and then it will need to compile that source to produce usable program. There are many tools available to perform this function just as in the case of source code management. These tools are the most probably well known and make it popular. Probably the most difficult to use in a very large and highly configurable system is made along with being the most well known. Many alternatives have been developed because of these reasons. Recently the Python language is used to develop these systems.

The Ns3 simulator tutorialproject is used to build system Waf. One of the new generations of Python-based build systems is defined as Waf in Ns3 simulator tutorial.

Development Environment of Ns3 simulator tutorial

     The C++ or Python scripting are used to develop an Ns3 simulator tutorial. In Python scripting most of the ns-3 API is available. But in either case of C++ or Python is used to written the models. For development the Ns3 simulator tutorial uses several components of the GNU “toolchain”. A set of programming tools available in the given environment is defined as a software tool chain.

Building of Ns3 simulator tutorial with Waf

     Directly the configuration of Waf is done and used by most users. And the ns-3 project can also be build by this Ns3 simulator tutorial with Waf. At this point the Waf is not required strictly. But Ns3 simulator tutorial with Waf will be valuable to take a slight detour and it is look at how to make changes to the configuration of the project. Probably the optimized version of the code can be build by the most useful configuration change can make it. By default the configured project to build the debug version.

 NS3 Simulator tutorial