05
May
2020

Install NS3 and VMware in Windows 7 and 10.

Install NS3 and VMware in Windows 7 and 10. If you are feeling trouble in installing NS3 in window. Then you have to read this post step by step. Here you will learn that hoe to install VMware? How to make a virtual machine using VMware?

In this tutorial we will use the following software combination for installing NS3 in window.

  1. VMware 9.0
  2. 32-bit PC (i386) desktop image
  3. NS3 3.30 (Latest Version)

Download links of all these software are given at the post end.

There would be many other processes for installing NS3 in windows using VMware. But I have tried these software combinations of window 7, window 10 and Ubuntu 16.04.

First of all you have to install VMware 9 software in your system.

1. Right click on the VMware setup and run as administrative

Install NS3 and VMware in Windows 7 and 10.

2. Click next button
3. Click on typical and press next in all coming windows till installation completion.
4. After the complete installation the bellow window will be displayed.

Install NS3 and VMware in Windows 7 and 10.

Installation of Virtual machine / Ubuntu 16.04 LTS

  1. Create on a new virtual machine. press link
  2. Press in typical checkbox and press next.
  3. Click “installer disk image file” and press browse button

These pressings will leads you into your system and you have to select you’re your Ubuntu disk image or ISO file.

Then press next button.

After the all above process easy installation window will be open. You have to fill that window according to your requirements. Sample image attached below.

Install NS3 and VMware in Windows 7 and 10.

and then press next …. till completion.

Before completion there will be an option foe hardware configuration. Its upto you that you want to change those settings or not.

After these all operation your virtual machine Ubuntu is installed successfully.

Now virtual machine Ubuntu will take some time for its file copying and installation.

Installation and Downloading of NS3

Our virtual machine in now installed and ready for the installation of NS3 in our virtual machine.

Please follow these steps for the installation and downloading of NS3.

Many fellows feels problem in sharing file between window 7 and virtual machine. So you have to download NS3 setup through Virtual Machine / Ubuntu.

  1. Click on the browser / Mozilla in Ubuntu screen / Virtual Machine.
  2. Write this link in browser ( https://www.nsnam.org/releases/ ).
  3. Download NS3 3.30 version.
  4. After downloading extract the NS3 in desktop.

NS3 installation begins here.

Run the below 2 commands in desktop terminal that will open by (CTRl + ALT + T).

1. Sudo apt-get updates (then enter password that you enter in easy installation process)

2. Then install the following libraries and press enter

sudo apt-get install gcc g++ python python-dev mercurial bzr gdb valgrind gsl-bin libgsl-dev libgsl2 flex bison tcpdump sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libgtk2.0-0 libgtk2.0-dev uncrustify doxygen graphviz imagemagick texlive texlive-latex-extra texlive-generic-extra texlive-generic-recommended texinfo dia texlive texlive-latex-extra texlive-extra-utils texlive-generic-recommended texi2html python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev python-pygccxml

Install NS3 and VMware in Windows 7 and 10.

This will take upto one an hour or depending upon your internet speed.

Now open (ns-allinone-3.30.1) NS3 extracted folder then.

1. ls
2.   ./build.py enable-examples enable-tests

Now open ns-allinone-3.30.1\ns-3.30.1 folder then.

1. ./waf –build-profile=debug –enable-examples –enable-tests configure
2. ./waf
3. ./test.py

NS3 has installed successfully. Now run it by following procedure

Open ns-allinone-3.30.1\ns-3.30.1 then open in terminal and run this command

1. ./waf –run hello-simulator.

Commands for enabling NetAnim

open ns-allinone-3.30.1 then
1. sudo apt install qt4-default qt4-qmake

Then right click on the folder of netanim-3.108 and run the following

1. qmake NetAnim.pro
2. make

After this NetAnim window will be open and shows the following window.

Install NS3 and VMware in Windows 7 and 10.

Download Links

  1. VMware Workstation 9.0.0
  2. 32-bit PC (i386) desktop image
  3. Download NS3 3.30 Version
Total Visits:4725

Ask Your Query

error: Protected ! Can not Copy !!