• 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




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



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



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

    1 hr


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

    10 hr


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

    3 hr


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

    3 hr


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


    2 hr



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

    10 hour


    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


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



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

    5 hr


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

    1 hour


    Project Demo

    30 min