Download! (patch for ns-2.34)
In short, these extensions aim to provide a more flexible and better integrated support for wireless and mobile networks and to support multi-* networks, that is networks where nodes may have multiple interfaces, possibly of different types, where nodes may communicate over multiple channels, where multiple routes to a destination may be available, where nodes may be interested in reaching a given resource/function/service rather than a specific node. Examples of such networks include wireless mesh and sensors networks.
These extensions provide a generic network layer architecture and a generic framework for implementing routing and forwarding protocols over one or more interfaces and regardless of their type. All the new objects are integrated in the standard ns-2 Node. A unique object and layout is used regardless of the type of interfaces and the routing/forwarding protocols running on the node. Capabilities (e.g. mobility) are added to the standard ns-2 Node by means of modules.
Move to ns-2.34 directory.
If you have already installed ns, run:
Apply the patch and recompile ns:
(Re-)Install ns: [Optional. ns is not installed by running the install script provided with ns-allinone.]
To validate the installation, run:
This patch enables to make use of the dei80211mr library (included in ns-allinone-2.34) once the extensions presented above have been installed. This patch also includes corrections of compilation warnings generated when the -Wall option is actually used.
The script q2s_infrastruct_rate_adaptation.tcl in q2s_test shows how to modify the simulation script infrastruct_rate_adaptation.tcl to use the new objects. Run test-infrastruct_rate_adaptation.sh to validate that the outputs of both scripts are equivalent.
Install:This patch enables to compile ns-Miracle once the extensions presented above have been installed and the dei80211mr library has been patched. This patch also includes corrections of compilation warnings generated when the -Wall option is actually used.
Install: