Network Simulator ns2: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Ns-2 is a discrete event simulator targeted at networking research.
Ns-2 is a discrete event simulator targeted at networking research.


= 802.11 Support =
= General 802.11 Support =


The existing 802.11 support in ns-2 is disapointing for a number of reasons.
The existing 802.11 support in ns-2 is disapointing for a number of reasons.
Line 7: Line 7:
* No beacons, management packets etc
* No beacons, management packets etc
* No support for vendor specific extensions like
* No support for vendor specific extensions like
** rate adaption
** transmission power control
** transmission power control
** dynamic channel allocation
** dynamic channel allocation
* No fading (Really???)
* No cross-channel fading
* No cross-channel fading
* [http://www.ee.washington.edu/research/funlab/802_11/report80211issues.pdf Purushothaman, Roy - Technical Report - IEEE 802.11 implementation issues/bugs in ns2]
* [http://www.ee.washington.edu/research/funlab/802_11/report80211issues.pdf Purushothaman, Roy - Technical Report - IEEE 802.11 implementation issues/bugs in ns2]
Line 18: Line 16:


* 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.
* 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.

== Fork by Mathieu Lacage ==

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

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

Link: http://yans.inria.fr/ns-2-80211/


== Patch by Marco Fiore ==
== Patch by Marco Fiore ==
Line 41: Line 28:


Link: http://www.telematica.polito.it/fiore/
Link: http://www.telematica.polito.it/fiore/



== Patch by Ilango Purushothaman ==
== Patch by Ilango Purushothaman ==
Line 48: Line 36:


Link: http://ee.washington.edu/research/funlab/802_11/802_11_beacon.tar.gz
Link: http://ee.washington.edu/research/funlab/802_11/802_11_beacon.tar.gz


== IEEE 802.11 PCF support for ns-2.1b8 ==

Link: http://www.sm.luth.se/~dugdale/index/software.shtml/

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

Link: http://www.cag.lcs.mit.edu/~ronny/wireless_psm/readme.html
* 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.

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

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

Link: http://yans.inria.fr/ns-2-80211/


== Patch by Mike Moreton ==
== Patch by Mike Moreton ==


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


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


Link: http://www.tkn.tu-berlin.de/research/802.11e_ns2/
Link: http://www.tkn.tu-berlin.de/research/802.11e_ns2/

Based on ns-2.28 (feb 2005)


Extensions:
Extensions:
Line 69: Line 88:
* proper computation of NAV,
* proper computation of NAV,
* proper setting / resetting of NAV.
* proper setting / resetting of NAV.

Missing:
* Rate Adaptation


== Stanford's 802.11e implementation for ns/2 ==
== Stanford's 802.11e implementation for ns/2 ==
Line 81: Line 103:


Link: http://info.iet.unipi.it/~cng/ns2hcca/
Link: http://info.iet.unipi.it/~cng/ns2hcca/
* Patch for ns-2.29
* Patch for ns-2.29 (Nov 2005)

== IEEE 802.11 PCF support for ns-2.1b8 ==

Link: http://www.sm.luth.se/~dugdale/index/software.shtml/

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

Link: http://www.cag.lcs.mit.edu/~ronny/wireless_psm/readme.html
* Simulates standard 802.11 PSM protocol, or the Bounded Slowdown (BSD) protocol

Latest revision as of 07:43, 5 June 2007

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.

Link: http://www.telematica.polito.it/fiore/


Patch by Ilango Purushothaman

  • beacon support
  • ongoing work!

Link: http://ee.washington.edu/research/funlab/802_11/802_11_beacon.tar.gz


IEEE 802.11 PCF support for ns-2.1b8

Link: http://www.sm.luth.se/~dugdale/index/software.shtml/

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

Link: http://www.cag.lcs.mit.edu/~ronny/wireless_psm/readme.html

  • 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.

Improvements

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

Problems

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

Link: http://yans.inria.fr/ns-2-80211/

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)

Link: http://www.tkn.tu-berlin.de/research/802.11e_ns2/

Based on ns-2.28 (feb 2005)

Extensions:

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

Bugfixes:

  • 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.

Missing:

  • Rate Adaptation

Stanford's 802.11e implementation for ns/2

Link: http://mosquitonet.stanford.edu/software/802.11e/

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

Link: http://www-sop.inria.fr/planete/qni/Research.html

IEEE 802.11e HCCA module for ns-2

Link: http://info.iet.unipi.it/~cng/ns2hcca/

  • Patch for ns-2.29 (Nov 2005)