Ns2 Manual, Network Simulator is a package of tools that simulates behavior of networks.
What is ns2?
- Ns are a discrete event simulator targeted at networking research.
- NS-2 is built using C++ and Python with scripting capability
Main goal of ns2:
- To provide collaborative environment
- To support network protocol design, traffic studies etc
- Analyze new architecture design
- For protocol comparison
- Increase confidence result of network etc
Models of ns2:
- Queuing protocols
- Physical media
- Traffic models and applications
- Routing and queuing
- Transport protocols
Sample code for creating node using ns2:
For Mobile Node
For Static Node
Tweet