from: http://www.winlab.rutgers.edu/~zhibinwu/html/network_simulator_2.html
Introduction
Ns-2 is a widely used tool to simulate the behavior of wired and wireless networks. Useful general information can be found at
Official ns-2 website (http://www.isi.edu/nsnam/ns/ ) An ns-2 Documentation generated by Doxygen is in http://www.grid.unina.it/~vollero/resources/doc_ns2.27/html/index.html Two good tutorials about ns-2. Wireless tutorial by Marc Greis ns by example My presentation: ns2 tutorial for wireless simulation WINLAB, June 2003 Another good tutorial of ns-2
Installation & Debug
Install ns-2.27 in Red Hat Linux Install ns 2.28 in Debian with gcc 4.0 or above Debug ns-2 with gdb
Simulation Configuration
- Basic simulation scripts of wireless scenarios.
- Traffic, Topology and Mobility generation in ns-2
- Analyze CMU traces (for wireless simulation) and awk code.
- Header and Address Handling in ns-2
- Understanding OTcl syntax in ns-2
Physical Layer
- Demystify TwoRayGround Propagation Model
- Introduce Ricean Fading to produce probabilistic Link Error (weiwei: Good!!!)
- Why list-based improvements in channel.cc of ns-2.27 cause problems?
MAC layer
- Interfacing MAC
- Understand IEEE 802.11 MAC Standard
- Analysis of the 802.11 MAC code
- Simulation example: Measuring the effects of RTS/CTS on 802.11 link
- Practice: Implement Multi-Rate MAC
- Discussion of bugs and issues of IEEE802.11 MAC implementation
- Analysis of the DSR sourcecode in ns-2.
- Analysis of the DSDV in network simulator-2.
- How to produce a new Routing Agent with Fixed Routing Table.
- Calculate Routing Performance Metric from trace file
Summary of ns-2 bugs for wireless simulation
channel.cc List-based improvement causes "Segmentation Fault". mac-802_11.cc: Bug in Defer timer causes "Event UID not valid!". dsdv.cc: double IP header bug. |