inis 16(9): e5

Research Article

Improving ns-3 Emulation Support in Real-World Networking Scenarios

Download221 downloads
  • @ARTICLE{10.4108/eai.24-8-2015.2261074,
        author={Helder Fontes and Rui Campos and Manuel Ricardo},
        title={Improving ns-3 Emulation Support in Real-World Networking Scenarios},
        journal={EAI Endorsed Transactions on Industrial Networks and Intelligent Systems},
        keywords={ns-3, network simulation, network emulation, emufdnetdevice, vehicular networks, fast-prototyping},
  • Helder Fontes
    Rui Campos
    Manuel Ricardo
    Year: 2015
    Improving ns-3 Emulation Support in Real-World Networking Scenarios
    DOI: 10.4108/eai.24-8-2015.2261074
Helder Fontes1,*, Rui Campos1, Manuel Ricardo1
  • 1: INESC TEC and FEUP
*Contact email:


A common problem in networking research and development is the duplicate effort of writing simulation and implementation code. This duplication can be avoided through the use of fast-prototyping methodologies, which enable reusing simulation code in real prototyping and in production environments. Although this functionality is already available by using ns-3 emulation, there are still limitations regarding the support of real network interfaces and easy configuration of the network settings, such as IP and MAC addresses. In this paper we propose an improved version of the ns-3 emulation component by introducing new functionalities that address these limitations. The new functionalities include the support of new types of real network interfaces and the easier integration of emulation nodes with existing networks by means of a new auto-configuration mechanism for ns-3 nodes. Experimental results obtained in a laboratorial testbed and in a real vehicular network testbed demonstrate the new functionalities proper operation, and their backwards compatibility with previously coded ns-3 scenarios.