Is Ns2 Open Source

Most significantly, the network simulator 2 is defined as one of the significant open source network simulators. Through this article, we have provided the enough data about the installation of network simulator 2.

Download and Extract Ns2

To begin with, we have depicted that the packages based on network simulator 2 can be freely downloaded using the below mentioned URL.

Downloading Ns2 Packages

Then, we have to copy and paste the packages into the home drive and that can be extracted from the .zip format into the folder.

Package Extraction

Installation of Network Simulator 2

In addition to that, we have to execute the commands that have been highlighted in the following for the installation of required dependencies of Ns2 simulator.

apt-get install perl xgraph libxt-dev libx11-dev libxmu-dev

Installation of Required Dependencies

apt-get install gcc-4.4 cpp-4.4 gcc-4.4 gcc-4.4-base

Install Gcc

Following that, we have to implement the commands that been highlighted below to install the Ns2 simulator.

cd /home/ns-allinone-2.35/


Ns2 Simulator Installation

Supporting Protocols of Ns2

For your ease, we have highlighted the supporting protocols based on Ns2 which are deployed in simulation process.

  • Dynamic energy efficient routing protocol (DEER)
  • Enhanced interior gateway routing protocol (EIGRP)
  • Low energy adaptive clustering hierarchy protocol (LEACH)
  • Routing information protocol (RIP)
  • Open shortest path first (OSPF)

Reach us at any time to get to know more about Ns2!!!