Note: The project has migrated these web pages to a wiki. This page can now be found here.
Ns is a discrete event simulator targeted at networking research.Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks.
Ns began as a variant of theREAL network simulatorin 1989 and has evolvedsubstantially over the past few years.In 1995 ns development was supported by DARPA through the VINT project at LBL, Xerox PARC, UCB, and USC/ISI.Currently ns development is support through DARPA with SAMAN and through NSF with CONSER, both in collaboration with other researchers including ACIRI.Ns has always included substantal contributions from other researchers, including wireless code from the UCB Daedelus and CMU Monarch projects and Sun Microsystems.For documentation on recent changes,see the version 2 change log.
Read this first:
While we have considerable confidence in ns, ns is not a polished and finished product, butthe result of an on-going effort of research and development.In particular, bugs in the software are still beingdiscovered and corrected. Users of ns are responsible for verifyingfor themselves that their simulations are not invalidated by bugs.We are working to help the user with this by significantly expandingand automating the validation tests anddemos.Similarly, users are responsible for verifying for themselves thattheir simulations are not invalidated because the model implementedin the simulator is not the model that they were expecting. Theongoing Ns Manual should help in this process.
Links to help getting started
Network Simulator 2 Tutorial offers you compact and most significant information about NS2. NS2 is one of the most popular simulators today, in the midst of researchers and scholars. NS2 is one of the most popular simulators today, in the midst of researchers and scholars. Simple two node wired network. #Create a simulator object. # (Create event scheduler) set ns [new Simulator]. Step 1: Step 2: #Open trace files.
- Getting ns and avoiding problems
- Documentation:
core documentation:- limitations: limitations and assumptions of ns, advice on running simulations
- introductory: Marc Greis'stutorial (now maintained by VINT group), also see 'NS for Beginners' by Altman and Jimenez
- reference: Ns Manual (formerly called 'ns Notes and Documentation')
- errata: Installation Problems and Bug Fixes
- debugging tips,
- change history,
- read-only CVS history,
- C++ class hierarchy (outdated C++/OTcl class hierarchy contributed by Antoine Clerget),
- Discussion web board [in Korean], [in Chinese]
- ns by Example (another tutorial by Jae Chung and Mark Claypool of WPI)
- Applications of ns:
Educational uses:
Contributed code and contributing code:- Parallel/Distributed ns (PDns) from the COMPASS research group at Georgia Tech.
Related Work
- Topology generation for network simulation.
- ns version 1 at LBL.
- Other Simulation Packages, Visualization Tools, and Traffic Archives.