Network Simulator 2 for Wireless : My Experience

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-rp.lip6.fr/ns-doc/ns226-doc/html/index.htm
 Two good tutorials about ns-2. 
      Wireless tutorial by Marc Greis
      ns by example 
 My presentation: ns2 tutorial for wireless simulation  WINLAB, June 2003
 My Lecture : Introduction to ns2 ECE 330:543 Class Lecture, Oct. 2007
 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

  1. Basic simulation scripts of wireless scenarios.
  2. Traffic, Topology and Mobility generation in ns-2
  3. Analyze CMU traces (for wireless simulation) and awk code.
  4. Header and Address Handling in ns-2
  5. Understanding OTcl syntax in ns-2

Physical Layer

  1. Demystify TwoRayGround Propagation Model
  2. Introduce Ricean Fading to produce probabilistic Link Error
  3. Why list-based improvements in channel.cc of ns-2.27 cause problems?

MAC layer

  1. Interfacing MAC
  2. Understand IEEE 802.11 MAC Standard
  3. Analysis of the 802.11 MAC code
  4. Simulation example: Measuring the effects of RTS/CTS on 802.11 link
  5. Practice: Implement Multi-Rate MAC
  6. Discussion of bugs and issues of IEEE802.11 MAC implementation

Routing

  1. Analysis of the DSR sourcecode in ns-2.
  2. Analysis of the DSDV in network simulator-2.
  3. How to produce a new Routing Agent with Fixed Routing Table.
  4. 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.

转载地址:http://www.winlab.rutgers.edu/~zhibinwu/html/network_simulator_2.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值