Вы находитесь на странице: 1из 12

NS-3 Simulation and its Application in

Simulating Heterogeneous Networks


Presented by:
 Kunal Dutta (07575)
 Madhumita Maji(07533)
 Shubhra Kanti Lahiri(07547)

Supervised by:-
 Prof. A. K. Mukhopadhyay(H.O.D.)
 Prof. Sarit Pal
 Prof. Abhijit Banerjee

DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING

27/11/2010
Motivation
The demand of advancement in Networking field now-a-
days.
Unlike costly practical implementation, using free, open
source software like NS3 for the same is cost effective.
NS-3 is python programming language supported which
makes coding easier, shorter & effective unlike its
predecessor NS2 which supported C++ making the coding
part tedious.
NS is a constant developing software and designing any
part of it makes the developer a part of the NS community
which is academically very much useful.
Introduction about NS-3
ns-3 is a discrete-event network simulator for
Internet systems
ns-3 allows researchers to study Internet protocols and
large-scale systems in a controlled environment
ns-3 is a new simulator (not backwards-compatible with
ns-2)
ns-3 is a free, open source software project
organized around research community
development and maintenance
the target user community is networking researchers
and educators
Basics
 ns-3 is written in C++, Bindings in Python.

 ns-3 uses the waf build system– i.e., instead of


./configure;make, type ./waf.

 simulation programs are C++ executables or python scripts.

It is primarily based on GNU/Linux platforms and the Linux


is mainly used for ns-3 based experiments.
Need for Linux and Python
1. ns-3 is mainly Linux based user application .

2.In Windows platform some feature of ns-3 are not


avialable.

3.Python is an interpreted language.

4.It is also preloaded in Ubuntu series of Linux O.S.

5.Pyhton is also supported by ns-3 unlike ns-2 which


only supported c++.
Project Analysis
1. Installation of Linux.

2. Installation of NS-3.

3. Study of the earlier modules.

4. Developing small modules.

5. Developing the final project using Python Coding.


Progress
Installation of Ubuntu 9.10, a version of linux O.S. has been
completed.

Installation of gcc g++ python, gcc g++ python python-dev,


tcpdump, sqlite sqlite3 libsqlite3-dev, doxygen graphviz
imagemagick packages has been completed successfully.

Installation of mercurial, vtun lxc, flex bison has been


completed as well.

Thorough study of python.


Difficulties Faced
Package g++-3.4 was not found during installation of
g++-3.4 and gcc-3.4.
Package texlive-pdf could not be found during setting
up of environment.
Package Pyhton-pygraphviz could not be found
during installation.
libns3-3_3.8-3_i386.deb is dependent on libsqlite3-
0(>=3.6.23.1).
libns3-dev_3.9-1_i386.deb is dependent o libns3-
3(=3.9-1).
Conclusion
Most of the conditions for installation of ns-3 has been
completed.

Learning of “Socket Programming” using Python is already


almost completed.

Some problems aroused due to the dependencies of the linux


packages.

We will overcome the remaining “Dependencies” very soon &


will start hands on designing ventures regarding network
topologies on NS-3 platform.
References
http://www.nsnam.org/
http://en.wikipedia.org/wiki/Discrete_event_simulatio
n
http://packages.ubuntu.com/
http://security.ubuntu.com/ubuntu/pool/universe/n/ns
3/
Data Communication and Networking
by Behrouz A. Forouzan
Third Edition
T.M.H Publishing Company Limited, New Delhi
THANK YOU

Вам также может понравиться