Nov 2, 2007

IEEE 802.16 Wireless Mesh Networks in ns-2

This is 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.

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.

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 2006. Access to the control sub-frame is implemented according to the standard distributed election procedure described in a tutorial manner in this paper.


To install the patch, follow the instructions below:

1. download the ns-allinone-2.31 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.31
3. download the latest ns2mesh80216 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.31/ns-2.31 ; \
gzip -dc /tmp/ns2mesh80216-2.31-071030.patch.gz | patch -Np1'
5. compile the all-in-one patched ns-2.31, by executing the following command:

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 following modules:

* ns2measure (more information available here)
* ns2voip (more information available here)

tags :


Henry said...
This comment has been removed by the author.
Henry said...


I am a beginner in ns2 and I'm trying to simulate the tree topology using ns2. Do you have any source code at hand for that? I would be very grateful to you.

Vijay said...

I tried this patch and when I ran the mesh.tcl (example file) give I got Segmentation fault. Can you please guide?

nand said...

im also have eror massage,,
i have followed your instruction many times..but it's never work,,

can u help me?

vijay said...

can u provide me any user manual or guide for ns2voip so that it can be more easy to understand

any clear examples are also appreciable

Anonymous said...

i also got same errors like segmentation fault.pls tell correct way of running this code. this is very urgently...

Anonymous said...

I can not download the latest ns2mesh80216 patch.
Anyone can send me the patch please? Please send to my email:

wonuola said...

HI I am a beginner with Ns2 and I am doing my thesis on Service Discovery protocol for Wireless Mesh Networks. I tried downloading the patch you have for Wireless Mesh Network but it seems the link is Broken. Please can you make the link available again.

Thank you very much