Research Article
ns2-MIRACLE: a Modular Framework for Multi-Technology and Cross-Layer Support in Network Simulator 2
@INPROCEEDINGS{10.4108/nstools.2007.1997, author={Nicola Baldo and Federico Maguolo and Marco Miozzo and Michele Rossi and Michele Zorzi}, title={ns2-MIRACLE: a Modular Framework for Multi-Technology and Cross-Layer Support in Network Simulator 2}, proceedings={1st International ICST Workshop on Network Simulation Tools}, proceedings_a={NSTOOLS}, year={2010}, month={5}, keywords={Multi-technology Cross-layer Dynamic Libraries Heterogeneous Networks Ambient Networks}, doi={10.4108/nstools.2007.1997} }
- Nicola Baldo
Federico Maguolo
Marco Miozzo
Michele Rossi
Michele Zorzi
Year: 2010
ns2-MIRACLE: a Modular Framework for Multi-Technology and Cross-Layer Support in Network Simulator 2
NSTOOLS
ICST
DOI: 10.4108/nstools.2007.1997
Abstract
In this paper we present a novel framework for ns2 to facilitate the simulation and, in general, the design of beyond 3G networks. The set of libraries we wrote for this purpose is called Multi InteRfAce Cross Layer Extension for ns2 (MIRACLE). They enhance the functionalities offered by the Network Simulator ns2 by providing an efficient and embedded engine for handling cross-layer messages and, at the same time, enabling the coexistence of multiple modules within each layer of the protocol stack. For instance, multiple network, link, MAC or physical layers can be specified and used within the same node. The implications of this are manifold. First of all, the framework facilitates the implementation and the simulation of modern communication systems in ns2. Secondly, due to its modularity, the code will be portable, re-usable and extensible. As an example of the advantages offered by our architecture, we show how the MIRACLE framework can be used to quickly set up protocol architectures for Ambient Networks [1] and evaluate their performance in wireless and multi-technology environments. We stress that, even though the emphasis in the present paper is put on wireless systems, MIRACLE is a general framework which can be used for simulating wired networks as well as a mixture of wired and wireless scenarios. Throughout the paper we also discuss some of the downsides of existing ns2 extensions, which are often programmed in a rather ad hoc manner, according to specific needs or technologies and, as such, are often difficult to extend/re-use. In contrast, our effort aims at providing well defined interfaces and is based on a truly modular architectural design. Our work can be seen as a step toward the definition of a standard framework for the simulation of cross-layer, multi-technology and mobile systems in ns2.