NS2 Simulation

IOT Arduino
September 18, 2019

NS2 Simulation

  1 Month

  1. Introduction to NS2
  2. Installation of NS2 tool on Ubuntu
  3. Modules in NS2 and its execution
  4. Sample programs and its execution
  5. Installation of Netanim tool for animation
  6. Installation of trace metrics to analyse trace files
  7. Hands on program execution
Introduction to NS2

Research on wireless networks is a vast area that wholly depends on the availability of numerous simulators such as Opnet, NS2, Omnet, etc. Without these simulators it would be difficult to even imagine the advancement of research in wireless networks. Of the numerous simulators available, Network Simulator-2 is the popular simulator used across the research community. NS -2 is an open source simulator and a legitimate simulator of many academic and research organizations. NS-2 provides all latest protocols and gives support for wired, wireless and wireless sensor networks. It offers connectivity with other programming languages such as C++, Matlab etc. It allows fast development, graphical interface, flexible for integration, compatible with many platforms and easy to use. This tool imparts theoretical and practical aspects of network project in all aspects.

About NS-2
  • NS-2 started as a variant of the REAL network simulator in 1989 and has since been supported by the Virtual Inter Network Test bed (VINT) project that is a DARPA-funded research project whose aim is to build a network simulator.
  • NS (Network Simulator occurrence complex simulators, specifically are discrete-event network simulator, mainly used in investigate and training.
  • NS-2 is a very popular discrete event Network Simulator which is widely used in the research field of Wired, Wireless and Satellite Networks across both academia and industry as a way of designing, testing and evaluating new and existing protocols and arc useful tool for teaching purposes.
  • NS-2 comes fully equipped of protocols, models, algorithms and accessories tools. NS-2 is an open source network simulator which is freely available for academic research purpose.


The main objective of this tool is to understand the simulation of wireless networks through hands-on experience in designing and implementing wireless networks in terms of energy models, bandwidth, and reliability parameters. The tool focuses on the various technical topics and simulation of wireless networks in general and in particular mobile ad-hoc networks to understand their behaviour in terms of energy, bandwidth and reliability issues.

Topics Covered

Future scope of NS2:

NS2 uses C++ language to implement the research projects. The future scope of the C/C++ Programming language is immeasurable. C and C++ ruled out the software programming structures in our life or in the entire software fields. C/C++ is basic for all the programming languages for today’s life. C/C++ produces the great future for excellent programmers. C/C++ is the basic software structure for all the programming languages like Java, Android, C# and so on.