Getting Started With ns2
[ Path: > Evan Jones' Scratch Pad | Written by Evan Jones ]
[ 2005-February-18 08:37 ]
I've used ns2 a fair amount for my research work. To make life easier for others learning this tool, I recently put together a presentation on how to get started with ns2 for 802.11 simulations. This also forced me to make my miscellaneous scripts and tools available to others. If you use any of these scripts and have any problems, or if you have any other useful tools to contribute, let me know and I'll add them to my collection.
802.11 Simulations Using ns2
An HTML presentation using the S5 tools about how to use ns2 for 802.11 simulations. This steps through a simple example scenario and uses my tools to process the output.
Tools for ns2
A collection of scripts for processing ns2 trace files and plotting the output. Some are command line tools, others are modules that are usable from Python scripts. If you have any other tools which might be useful, please let me know.
Useful Resources
- ns2 Tutorial - A thorough introduction to all the basic features.
- ns2 Web Site - The main resource for ns2.
- ns2 Manual - Comprehensive but cryptic reference to ns2 features.
- ns2 Wireless Trace Formats - An essential reference for extracting data from trace files.
- Making ns2 Simulate an 802.11 Link - A guide for tweaking ns2's 802.11 settings to make it more realistic.
- Basic 802.11 Statistics - A simple ns2 investigation of single hop 802.11 throughput performance.
- Implementing MANET Routing Protocols in ns2 - A tutorial through the guts of ns2 wireless routing.
- NS by Example - Another tutorial, this one is quite brief.