显示标签为“MW-Node”的博文。显示所有博文
显示标签为“MW-Node”的博文。显示所有博文

2008年7月6日星期日

比较多信道多接口ns2扩展: “Aguero.C.R” VS “MW-Node”

I try in this post to sum up and explicit the main differences between
the approach proposed by R.Aguero et al. in their how-to and ours with
the MW-Node. I hope it helps you choosing what better fits your needs.

1) R.Aguero et al., "Adding Multiple Interface Support in NS-2"
(document, http://personales.unican.es/aguerocr)

This document describes changes to enable support of multiple
interfaces. By to support multiple interfaces they mean to allow to have
more than one wireless stack below a single routing agent on a
MobileNode. All the wireless stacks are identical (same Mac/Phy). The
routing agent code has to be modified to handle more than one wireless
stack. This applies only to AODV-like routing agents, that is routing
agents using the standard MobileNode, not the SRNode (DSR) or the
AODVUUNode (AODV-UU) for example.

This functionality is basically what is provided by Hyacinth
(http://www.ecsl.cs.sunysb.edu/multichannel/), some flexibility added.
To this respect their contribution is to me very similar to the
resources available at http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html

2) Module-based Wireless Node (MW-Node patch + documentation,
http://www.q2s.ntnu.no/~paquerea/ns.html)

In the following, I focus on the main features of the MW-Node. For
implementation details and design choices please refer to the documentation.

A MW-Node is a standard Node (not a MobileNode) with capabilities -
wireless, mobility, (energy support, not functional yet) - added by
means of modules.

The purpose of this new design of wireless and mobile networking support
in ns2 is twofold:
- to support new features such as multiple channels/multiple interfaces, and
- to provide a common basis for implementation of any wireless routing
protocol instead of having each routing protocol as a particular case
(not to say a particular node object) as it is with the MobileNode.

We distinguish between:
- multiple channels: one single routing object handling several wireless
interfaces possibly on different channels, and
- multiple interfaces: several interfaces, possibly of different types
(e.g different Mac/Phy), with one routing object handling one interface.

Following these definitions, R.Aguero et al. how-to discusses multiple
channels support only, not multiple interfaces support. The MW-Node
supports both.
Note that routing agents cannot be used directly with the MW-Node, even
in the case of a node with a single interface, and need to be converted.
Some guidelines are provided in the documentation.

Also, the layout of the MW-Node differs from the layout of a standard
MobileNode and therefore from the layout proposed by R.Aguero et al.
In the MW-Node, the routing object lies before the address classifier.
This is to enforce that data packets pass through the routing object.
This is not the case with a standard MobileNode at the destination or at
a portal (wired-wireless) node.

Finally, a new network interface object is provided and enables:
- per interface operation control (e.g. bring up/down one of two
interfaces only)
- better wired/wireless integration.

Regards,

Laurent Paquereau
Q2S Centre of Excellence, NTNU

转自:

http://mailman.isi.edu/pipermail/ns-users/2007-February/058759.html

......

[Read More...]

“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)

......

[Read More...]