• Network Simulator 2 (NS2)

    NS2 is the most popular open source network simulators. The original NS is a distinct event simulator targeted at networking investigates. In 1996-97, ns version 2 (ns-2) was initiated based on a refactoring by Steve McCann. Use of Tcl was replaced by MIT's Object Tcl (OTcl), an object-oriented vernacular of Tcl. The core of ns-2 is also written in C++, but the C++ simulation objects are linked to shadow objects in OTcl and variables can be linked among both language realms. Simulation scripts are written in the OTcl language, an addition of the Tcl scripting language. Presently, ns-2 consists of over 300,000 lines of source code, and there is probably a comparable amount of contributing code that is not included directly into the major allocation (many forks of ns-2 exist, both maintained and unmaintained).It run on Linux, FreeBSD, Solaris, Mac OS X and Windows 95/98/NT/2000/XP. It is licensed for use under version 2 of the GNU General Public License.

     

  • S.No

    Topic

    Duration

    1

    Simulation of Computer Networks
    Layering concept- System modeling- Simulation Definition- Elements of simulation-Time dependent simulation -Protocols

    5hr

    2

    Introduction to Network Simulator-2
    History of NS2- Application-Basic architecture- NS2 goals-NS2 functionalities- Languages used- Why two languages?

    2hr

    3

    Components and Tools of NS2
    About NAM-About Xgraph-Trace files- Commands in ns2

    1 hr

    4

    TCL/OTCL programming
    Variables-List- Procedure- Array-Conditional statements-Looping Structures- Classes and objects-Expressions- File handling- Input/output Console

    10 hr

    5

    Wired scenario
    Simulator Class- Trace the events- Node creation- Link between nodes- Communication Agent- Traffic agent- Run the simulation- Example program

    3 hr

    6

    LAN
    Introduction-LAN Topologies-MAC protocols-Ethernet-Simulation using NS2

    3 hr

    7

    Wired-Cum-Wireless Scenario
    Creating simple wired-cum-wireless scenario- Running Mobile-IP in wired-cum-wireless topology

     

    2 hr

     

    6

    Wireless scenario
    Node Configuration- Routing protocols- Energy model- Topology generation- Graphical events on node- Neighbor Discovery- Route Discovery- Event Scheduling- Example program

    10 hour

    7

    Mobility Models
    Random Walk Mobility Model, Random Waypoint Mobility Model, Boundless Simulation Area Mobility Model, Gauss-Markov Mobility Model, Proba Walk Mobility Model, City Section Mobility Model, Group Mobility Model

    2 hr

    8

    Mobile Adhoc Networks
    Create Mobile nodes-Dynamic routing Protocols-Mobility prediction-Simulation example

    3hr

     

    Wireless Sensor Networks
    Energy model- Sense Power-Transmission Power-Energy efficient Routing Protocols- Clustering

    5 hr

    9

    Installation in Windows XP
    Cygwin installation- NS-allinone-2.28 installation- TCL Library installation

    1 hour

    10

    Project Demo

    30 min