24
Views
1
CrossRef citations to date
0
Altmetric
Miscellany

NS2 Extension for Multi-channel MAC Simulation Model

, , &
Page 66 | Published online: 28 Jan 2009
 

Abstract

In order to improve network performance of delay and throughput, an increasing number of networks begin to support multi-channel communications. Although Network Simulator 2 (NS2) has been the dominant network simulation tool, it does not provide native support for multi-channel simulation. Existing works on extending NS2, such as Hyacinth's and Ramon's contributions, show apparent limitations for usage. This paper proposes a novel extension of NS2, named Multi-channel MAC Simulation Model (MMSM), which defines the facilities for multi-channel MAC protocol simulation.

This paper describes the initiative, simulation model architecture of MMSM. Based on extensions of NS2 MobileNode architecture, MMSM has features of flexibility of configuration and transparency to the upper layer. MMSM defines one MAC entity associated with a number of NetIF (Network Interface) entities and each NetIF adhered to one channel. So the mobile node has the ability to send and receive packets simultaneously through multiple channels to or from different adjoining nodes. Thus MMSM provides strong support for simulating newly designed multi-channel MAC protocols such as MAC over Multiple Input Multiple Output (MIMO) or MIMO-like mechanisms. MMSM not only makes the specific simulation available, but also keeps the upper layer facilities unchanged as usual when implementing multi-channel simulation.

The paper also describes the implementation of MMSM in NS2 (version 2.29). Modifications are carried out both on TCL and on C++ codes. In TCL level ns-mobilenode.tcl and ns-lib.tcl are modified to assemble the multi-channel components and to make TCL scripts to support multi-channel configuration. In C++ level mac.{h,cc}, mobilenode.{h,cc} and channel.{h,cc} are modified to add the channel selection algorithm and to manage the multi-channel node lists. Based on modifications of NS2 described above, researchers can implement their multi-channel MAC protocols conveniently.

To validate the implementation of MMSM, two existing MAC protocols in NS-2.29, the Mac802_11 and Tdma, are extended to have the capability of multi-channel processing. Two typical scenarios are chosen to run the simulation on both the multi-channel and the single channel. Simulation results show that the network throughput of multi-channel MAC is enhanced over the single channel MAC, and therefore it proves the multi-channel capability of MMSM.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.