Network Simulator ns2

Jump to navigation Jump to search

Ns-2 is a discrete event simulator targeted at networking research.

General 802.11 Support

The existing 802.11 support in ns-2 is disapointing for a number of reasons.

Interference Model

  • Interference is only calculated between two packets. If the original received power is high enough, the frame will not be discarded, if it's too low, the frame will be discarded. The ratio of received to interfering power is compared to CPThresh and thus it's decided, whether the frame is discarded or not.

Patch by Marco Fiore

Adds the following features to ns-2.29

  • realistic channel propagation by Wu Xiuchao
  • ricean propagation model by Ratish J. Punnoose
  • SNOOPy calendar scheduler by David X. Wei
  • 802.11 bug fixes by Felix Schmidt-Eisenlohr
  • multiple data transmission rates support by Marco Fiore
  • Adaptive Auto Rate Fallback (AARF) by Marco Fiore.


Patch by Ilango Purushothaman

  • beacon support
  • ongoing work!


IEEE 802.11 PCF support for ns-2.1b8


IEEE 802.11 Power Saving Model (PSM) support for ns-2.1b8a


  • Simulates standard 802.11 PSM protocol, or the Bounded Slowdown (BSD) protocol

802.11e support

Fork by Mathieu Lacage (INRIA)

A new 802.11 module based on a fork of ns-2 around mid-september 2005. Latest release was released in September 2005. The fork is not supported anymore.


  • ET/SNRT/BER-based PHY models
  • 802.11a multirate
  • 802.11e HCCA and EDCA


  • Incompatible with legacy scripts
  • Does not use logging functionality of ns2
  • No collisions between different network links????


Patch by Mike Moreton

  • based on ns-2.26 (feb 2003)
  • Support for 802.11e
  • Original download location is offline

IEEE 802.11e EDCA Simulation Model for ns-2 (TU Berlin)


Based on ns-2.28 (feb 2005)


  • EDCA
    • no HCCA
    • no block ACK
  • contention free bursting (CFB) / TXOP bursting


  • introduces seperate SIFS timer, such that different timers for deferal (DIFS) and inter-packet times are semantically different,
  • stops deferal whenever the medium becomes busy,
  • proper computation of NAV,
  • proper setting / resetting of NAV.


  • Rate Adaptation

Stanford's 802.11e implementation for ns/2


Qiang Ni's EDCF/HCF implementations for ns/2


IEEE 802.11e HCCA module for ns-2


  • Patch for ns-2.29 (Nov 2005)