From Cng1wiki

Jump to: navigation, search

<analytics uacct="UA-1580095-2" ></analytics>

This software is not actively maintained anymore, please send your technical inquiries to the general ns-2 users mailing list.

In this site, you will find a patch to the Network Simulator 2 (ns-2) that allows IEEE 802.16d Wireless Mesh Networks to be simulated. No support to the Point-to-Multipoint mode is included in this patch. Only the Mesh mode, really.

This is the first public release of the this software. Therefore, it is expected that some problems that have not surfaced while we were using the simulator will happen to you. Please, be patient and send us an email (see below).

The functions for enabling data transmission at the MAC layer are fully implemented. Access to the data sub-frame is negotiated by means of the three-way handshake specified by the standard, while scheduling is implemented according to the Fair End-to-end Bandwidth Access (FEBA) algorithm described in a technical paper presented at IEEE INFOCOM 2007. Access to the control sub-frame is implemented according to the standard distributed election procedure described in a tutorial manner in this paper.

Note that the MAC is not inter-operable with ns-2 routing algorithms and physical interference modules. Instead, base classes for routing and wireless channel modeling are provided, for which reference implementations are provided: Shortest-Path-First and Protocol-Model, respectively. For instance, there is no way to specify the (x, y) position of the nodes (unlike 802.11 simulations in ns-2), because links between nodes are logical.

The list of topologies supported by the simulator are available in the wimax/tcl/TOPOLOGIES file included in the patch. If you would like to run simulations with, e.g., shadowing, path-loss, you have to extend the Channel class distributed within the simulator so as to support your model.

Other resources on this website:


To install the patch, follow the instructions below:

1. download the ns-allinone-2.33 package from SourceForge

2. unpack the file that you just downloaded in your preferred location (let us assume the location is /usr/local). This will create a directory named /usr/local/ns-allinone-2.33

3. download the latest patch (let us assume that you downloaded the file in /tmp)

4. apply the patch, by executing the following command:

     cd /usr/local/ns-allinone-2.33/ns-2.33
     gzip -dc /tmp/ns2mesh80216-2.33-081113.patch.gz | patch -Np1

5a. if you have never compile the simulator, do so by executing:


5b. if you apply the patch to a compiled version of the simulator make sure to re-build all objects files by executing:

     cd /usr/local/ns-allinone-2.33/ns-2.33
     make clean

You are now ready to run the Tcl scenario example wimax/tcl/mesh.tcl. You will find many useful pointers on what-to-do-next in the same directory.

The ns2mesh80216 patch includes the ns2measure and ns2voip modules.

The patch for ns-2.31 can be found here.


The simulator has been used to obtain the results that have been published in the following papers:

  • C. Cicconetti, I. F. Akyildiz, L. Lenzini, "Bandwidth Balancing in Multi-Channel IEEE 802.16 Wireless Mesh networks," Proc. of the 26th Annual IEEE Conference on Computer Communications (INFOCOM 2007), Anchorage (USA), May 6-12, 2007.
  • C. Cicconetti, A. Erta, L. Lenzini, E. Mingozzi, "Performance Evaluation of the Mesh Election Procedure of IEEE 802.16/WiMAX," Proc. of the 10th ACM/IEEE International Symposium on Modeling, Analysis and Simulation of Wireless and Mobile Systems (MSWiM 2007), Chania, Crete Island (Greece), October 22-26, 2007.
  • C. Cicconetti, A. Erta, V. Gardellin, L. Lenzini, E. Mingozzi, "End-to-end Bandwidth Reservation in IEEE 802.16 Mesh Networks," Proc. of the First IEEE International Workshop on Enabling Technologies and Standards for Wireless Mesh Networking (MeshTech 2007), Pisa (Italy), October 8, 2007.


ns2mesh80216 has been developed as a joint work of

All the software and documentation related to ns2mesh80216 and available in this page is released under the GNU General Public License, which means (roughly) that you can download the sources and modify them and do with them whatever you are legally entitled to, provided that you keep the license information in all the files that you use/redistribute. BUT, you cannot incorporate this software into proprietary programs.

Personal tools