2008年7月6日星期日

“MW-Node” path for ns2 to support multiple interfaces & multiple channels

一个我最开始选用的multi-interface的扩展,不过貌似不是特别好用,现在转移用hyacinth了…XD….如下:

MW-Node patch for ns-2

A Module-based Wireless Node (MW-Node) is a Node with wireless and mobile capabilities added by means of modules. It is not a new node object derived from Node. Rather it is a new layout of mostly existing components. Rationale for this new design has been presented in [1]. The MW-Node provides a flexible support for wireless and mobile networking and in particular:

* support for multiple interfaces/multiple channels, and
* a common basis for the implementation of wireless routing protocols.

Download

Get the latest patch for ns-2.30 (patch for ns-2.29.3). Log. RSS

Install

Move to ns-2.30 directory.

If you have already installed ns run

make distclean

Patch the code and reinstall ns

patch -p1 < ns-2.30-mwnode-20070301.patch
./configure
make
chmod u+x tcl/test/test-all-mwnode

To validate the installation run

./validate

Documentation

Documentation is available in doc/mwnode.

Doxygen documentation can be generated locally by running doxygen in doc/mwnode.

Example scenario

An example scenario (mwnode-ex.tcl) is provided in tcl/ex. To run the simulation, move to tcl/ex and run

ns mwnode-ex.tcl

Reference

[1] Laurent Paquereau and Bjarne E. Helvik, “A module-based wireless node for ns-2″, in Proceedings of the first Workshop on NS2: the IP network simulator (WNS2), Pisa, Italy, 2006. [doi] (request copy)

1 条评论:

hoho 说...

我也想学习多信道多接口,可否联系我?hitlip@gmail.com