3rd International Workshop on ns-3

Research Article

NS-3-Click: Click Modular Router Integration for NS-3

  • @INPROCEEDINGS{10.4108/icst.simutools.2011.245535,
        author={Lalith Suresh and Ruben Merz},
        title={NS-3-Click: Click Modular Router Integration for NS-3},
        proceedings={3rd International Workshop on ns-3},
        publisher={ACM},
        proceedings_a={WNS-3},
        year={2012},
        month={4},
        keywords={ns-3 Click modular router Click simulation},
        doi={10.4108/icst.simutools.2011.245535}
    }
    
  • Lalith Suresh
    Ruben Merz
    Year: 2012
    NS-3-Click: Click Modular Router Integration for NS-3
    WNS-3
    ACM
    DOI: 10.4108/icst.simutools.2011.245535
Lalith Suresh1, Ruben Merz2,*
  • 1: Instituto Superior Tecnico Lisbon, Portugal
  • 2: Deutsche Telekom Laboratories
*Contact email: ruben@net.t-labs.tu-berlin.de

Abstract

The Click Modular Router provides a flexible platform for protocol development and testing. Integrating the Click Modular Router with a network simulator offers the advantage of bringing this flexibility into a simulation framework. The existing integration of Click with ns-2 (nsclick) has several limitations, namely it cannot be used with generic traffic generators, transport protocols and NetDevices. For the integration with ns-3, we address these limitations. Furthermore, the design of ns-3 makes it much better suited for embedding Click than ns-2 does. This includes the closer alignment of ns-3 with real world packet formats and handling multiple interfaces per node. In this paper, we describe ns-3-click, discuss its design and how it improves over nsclick. Our experiments suggest that ns-3-click does not incur significant performance hits as far as wall clock run time is concerned, but uses more memory than ns-3.