IOT Arduino
September 18, 2019
NS2 Simulation
1 Month
- Introduction to NS2
- Installation of NS2 tool on Ubuntu
- Modules in NS2 and its execution
- Sample programs and its execution
- Installation of Netanim tool for animation
- Installation of trace metrics to analyse trace files
- Hands on program execution
Introduction to NS2
Research on wireless networks is a vast area that wholly depends on the availability of numerous
simulators such as Opnet, NS2, Omnet, etc. Without these simulators it would be difficult to even
imagine the advancement of research in wireless networks. Of the numerous simulators available,
Network Simulator-2 is the popular simulator used across the research community. NS -2 is an open
source simulator and a legitimate simulator of many academic and research organizations. NS-2 provides all
latest protocols and gives support for wired, wireless and wireless sensor networks. It offers connectivity with
other programming languages such as C++, Matlab etc. It allows fast development, graphical interface, flexible
for integration, compatible with many platforms and easy to use. This tool imparts theoretical and practical
aspects of network project in all aspects.
About NS-2
- NS-2 started as a variant of the REAL network simulator in 1989 and has since been supported by the
Virtual Inter Network Test bed (VINT) project that is a DARPA-funded research project whose aim is
to build a network simulator.
- NS (Network Simulator occurrence complex simulators, specifically are discrete-event network
simulator, mainly used in investigate and training.
- NS-2 is a very popular discrete event Network Simulator which is widely used in the research field of
Wired, Wireless and Satellite Networks across both academia and industry as a way of designing,
testing and evaluating new and existing protocols and arc useful tool for teaching purposes.
- NS-2 comes fully equipped of protocols, models, algorithms and accessories tools. NS-2 is an open
source network simulator which is freely available for academic research purpose.
Objective
The main objective of this tool is to understand the simulation of wireless networks through hands-on
experience in designing and implementing wireless networks in terms of energy models, bandwidth, and
reliability parameters. The tool focuses on the various technical topics and simulation of wireless networks in
general and in particular mobile ad-hoc networks to understand their behaviour in terms of energy, bandwidth
and reliability issues.
1. Introduction to Networks
- Network Basics
- Network Topology.
- Network Layers.
- TCP/IP Sockets.
2. Introduction to Simulation Tool
- NS-2 tool Introduction
- NS-2 Architecture
- NS-2 Functionalities
- NS-2 Languages
3. Components and Tools of NS-2
4. Introduction to TCL
5. Installation of NS-2
- On Ubuntu Platform
- Installation of NS-2 Tool
6. Wired Network Simulation
- Creating object
- Node Creation
- Creation of Trace and Nam File
- Setting up of traffic communication
- Examples
7. Wireless Network Simulation
- Setting up parameters
- Creating a simulator object
- Defining Trace and Nam file
- Creating Nodes
- Configuring Nodes
- Setting up destinations
- Creating Agents
- Setting traffic
- Examples
8. Mobility Models
- Bonnmotion Tool
- Random Walk Mobility
- Random Way Point
- Markov Mobility
9. MANETS
- Creating Dynamic Nodes
- MANETS Routing Protocols
- Examples
10. WSN
- Energy Model
- Clustering
- Setting Bandwidth, Power
- Examples
11. Performance Analysis
- Awk Script
- Throughput, Delay ,PDF, Energy
12. Advance on NS-2
- Patch up code
- NS-3 Installation
- NS-3 Examples
Future scope of NS2:
NS2 uses C++ language to implement the research projects. The future scope of the C/C++ Programming
language is immeasurable. C and C++ ruled out the software programming structures in our life or in the entire
software fields. C/C++ is basic for all the programming languages for today’s life. C/C++ produces the great
future for excellent programmers. C/C++ is the basic software structure for all the programming languages like
Java, Android, C# and so on.