Ns3 Projects for B.E/B.Tech M.E/M.Tech PhD Scholars.  Phone-Number:9790238391   E-mail: ns3simulation@gmail.com

Install Ns2 on Ubuntu

Let us take a look about the notable processes which are functional in the installation of network simulator 2 in Ubuntu.

Phase: I Download Ns2 on Ubuntu

First and foremost, we have to download the installation packages based on network simulator 2 using the below mentioned URL.


Link to Download Ns2 Packages

While completing the process of downloading, we have to right click on the package file and click the extract here option to select the home folder.

Phase: II Ns2 Installation in Ubuntu

As the consequent process, we have to open the new terminal window and execute the below mentioned commands on Ubuntu for the installation process of network simulator 2.

cd ns-allinone-2.31/


Phase: III Start Ns2 on Ubuntu

Following that, we have to open the new terminal window to execute the below mentioned commands which is used to start the Ns2 on Ubuntu.

cd ns-allinone-2.31/ns-2.31


Phase: IV Ns2 Supported Research Areas

Finally, we can create the research simulation projects in following areas along with the utilization of network simulator 2.

  • Wireless sensor network (WSN)
  • Mobile Ad Hoc Network (MANET)
  • Vehicular Ad Hoc Network (VANET)

The researchers can reach us at any time to acquire a lot about the significance of Ns2 simulation.

Install Ns2 on Linux

Here, we have an exciting and exclusive article that is just popped out for you to notify the steps that are required for the installation of network simulator 2 on Linux.

Installation of Ns2 on Linux

Most significantly, we have install Nam (network animator) as the first process to view the network simulation traces made using the Ns2. In addition, we have highlighted some commands in the following through this execution in terminal we have to install Nam.

sudo apt-get install -y nam

Installation of Nam

Following that, we have to run the below mentioned commands in the terminal to install network simulator 2.

sudo apt-get install -y ns2

Installation of Ns2

Run Ns2 Simulation on Linux

Before running Ns2 simulation in Linux, we have to create the main simulation file along with name as simple.tcl through writing the below mentioned code in main file.

Ns2 Simulation Code

Then, we have to implement the below mentioned commands to run the Ns2 simulation.

cd /home/research/Desktop/ns2_simulation_on_linux

sudo ./ns simple.tcl

If you are looking for assistance based on the appropriate research implementation in Ns2 then you guys can reach us.