Network Simulator Installation"
Network Simulator Installation"
Network Simulator Installation"
Bachelor of Engineering
In
Computer Engineering
SUBMITTED BY:
Ms. Sneha Thakur
Mr.Omkar Thakur
3 Requirement Gathering 5
4 Installation Process Steps 6
5 NS2 Install 10
6 Conclusion 15
7 Reference 16
INTRODUCTION
A network simulator is software that predicts the behaviour of a computer network. Since
communication Networks have become too complex for traditional analytical methods to
provide an accurate understanding of system behaviour, network simulators are used. In
simulators, the computer network is typically modelled with devices, links, applications etc. and
the performance is analysed. Simulators typically come with support for the most popular
technologies and networks in use today.
A network simulator is software or hardware that predicts the behaviour of a computer network
without an actual network being present. In simulators, the computer network is typically
modelled with devices, traffic etc. and the performance is analysed. Typically, users can then
customize the simulator to fulfil their specific analysis needs. Simulators typically come with
support for the most popular protocols and networks in use today, such as WLAN, Wi-Max,
TCP, WSN, cognitive radio etc.
Generally the simulated networks have entities like links, switches, hubs, applications, etc. NS2
is a name for series of discrete event network simulators like ns-1, ns-2, and ns-3. All of them
are discrete-event network simulators, primarily used in research and teaching. Ns2 is free
software, publicly available under the GNU GPLv2 license for research, development and use.
Literature Survey
Software Requirement
Operating system : Windows XP/7/Linux
Implementation : NS2
NS Version : NS2.2.28
Language : Tool Command Language
Hardware Requirement
Hardware Disk Space : Minimum of 20GB
RAM : Minimum of 512MB
Processor : Intel Core Dual
INSTALLTION PROCESS STEPS:
1. First of all, get the Linux OS image or CD. You can get it for free from Linux website
http://www.ubuntu.com/GetUbuntu/download Or, if you are looking for old versions,
you can find it in: http://mirrors.isu.net.sa/
2. If you are a windows user, then you have to download Linux in a separate partition, or
use a virtual machine. My advice to you is to use a virtual machine. One of the best
virtual machine SW is Vmware. You can buy it or Install trial Vmware Workstation SW
from: http://www.vmware.com/support/product-support/workstation/
There are bunch of alternative Free SW to create Virtual machines, one of them is
Virtual Box. You can download it from: http://www.virtualbox.org/wiki/Downloads
3. In this manual, I will be using Vmware to create my virtual machine. To create a virtual
machine: Open the Vmware workstation -> Click "New Virtual Machine"
4. Choose "Typical" and click "Next"
5. Then browse to the directory where you saved the Ubuntu iso image, or choose install it
from a dis if you Ubuntu is placed in a CD and click "Next".
6. Enter a user name and password to log in to Ubuntu after you install it, and click "Next"
7. Give your virtual machine a name, and choose its location, and click "Next"
8. Choose the size for the hard disk for the virtual machine, I will leave this as default, and then
click "Next"
10. After that, the installation will continue, and after that you finish installing Ubuntu
INSTALL NS2
4. Set the appropriate permissions for the ns-allinone-2.34 to allow executing the files
inside it. To do that: Right click the folder -> Properties -> Permissions , and choose
the appropriate group with the appropriate file access, then click "Allow executing file
as program" and then click "Apply permissions to enclosed files"
5. From the Accessories -> Terminal
6. Type the following command to know in which directory you are: ~$ pwd
7. You need to be in the directory where you placed the ns-allinone-2.34 folder
8. If you are not in the /home/e , then move to it by using the command cd
9. Now, supposing you are in the directory /home/e (e can be any other user) type the
following command to move inside the ns-allinone-2.34 using the command cd
$ cd ns-allinone-2.34
10. Then, type the following command (you will be asked to enter the system password to
process. Also, you will be asked if you want to continue, type: y to continue): $ sudo
apt-get install build-essential autoconf automake libxmu-dev
Program:
Network simulators for the people who are not very familiar with this topic, or for someone
who want to get some general information related to it. So in this paper, we first gave a brief
introduction on some key concepts of network simulation and network simulators. After that,
we introduced four typical network simulators: OPNET, NS2, NS3, and OMNeT++. Their main
features, current status and future development are also analyzed and discussed. As an
assumptive expectation, the open sourced and well designed embedded Object-oriented
programming feature will be appealing to the academia and industry in the long run. It seems
that the easier for the users to learn and to use, the more organizations participate in, the more
specialized in the documentation, the more development and popularity that simulator will
achieve.
REFERENCE
1. http://www.wan-sim.net/
2. http://nsnam.isi.edu/nsnam/index.php/Main_Page
3. http://www.nsnam.org/documents.html
4.http://www.cs.cornell.edu/skeshav/real/overview.html