Skip to main content

Expanding the Ns-2 Emulation Environment with the Use of Flexible Mapping

  • Conference paper
  • First Online:
Computer Networks (CN 2016)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 608))

Included in the following conference series:

Abstract

The Berkeley’s ns-2 simulator was, for a long time, one of the most popular open-source simulation tools. Although the new tool in the ns family, the ns-3, replaced it in the above ranking, the simplicity of the ns-2, with its flexibility and ability to operate at higher levels of abstraction caused the simulator to remain in use. This paper presents our enhancements to the mapping of incoming and outgoing traffic in the ns-2 simulator when it works in emulation mode. Our enhancements expand the build-in 1-to-1 MAC address mapping to 1-to-many address/port mapping, which allows the emulator to connect to more end-systems or subnetworks than the number of interfaces of the emulation server.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    LBNL stands for Lawrence Berkeley National Laboratory, the ns-1 place of development.

  2. 2.

    TCL-based user interface in the ns-2 and the Python-based interface in the ns-3.

  3. 3.

    Input and output modules, respectively, captures traffic and (after processing) inject it into a real-world network.

  4. 4.

    The identifier of the module (newIP) denotes, that the newIP is a newly written module for cooperation with the IP protocol. This name was given, because Network/IP class already exists in the ns-2.

References

  1. Fall, K., Varadhan, K.: The ns Manual (2014). http://ftp.isi.edu/nsnam/dist/release/rc1/doc/

  2. Riley, G.F., Henderson, T.R.: The ns-3 network simulator. In: Wehrle, K., Güneş, M., Gross, J. (eds.) Modeling and Tools for Network Simulation, pp. 15–34. Springer, Berlin (2010)

    Chapter  Google Scholar 

  3. Henderson, T.R., et al.: Network simulations with the ns-3 simulator. SIGCOMM demonstration (2008)

    Google Scholar 

  4. Bhaskar, D., Mallick, B.: Performance Evaluation Of MAC Protocol For IEEE 802.11, 802.11Ext. WLAN And IEEE 802.15. 4 WPAN Using NS-2. International Journal of Computer Applications 119.16 (2015)

    Google Scholar 

  5. Pei, G., Henderson, T.: Validation of ns-3 802.11b PHY model (2009). http://www.nsnam.org/~pei/80211b.pdf

  6. Piro, G., Baldo, N., Miozzo, M.: An LTE module for the NS-3 network simulator. In: Proceedings of the 4th International ICST Conference on Simulation Tools and Techniques. ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering) (2011)

    Google Scholar 

  7. Rene, S., et al.: Vespa: Emulating infotainment applications in vehicular networks. IEEE Pervasive Comput. 13(3), 58–66 (2014)

    Article  Google Scholar 

  8. Mahrenholz, D., Svilen, I.: Real-time network emulation with NS-2. In: Proceedings of the 8-th IEEE International Symposium on Distributed Simulation and Real Time Applications. Budapest Hungary (2004)

    Google Scholar 

  9. Mahrenholz, D., Svilen, I.: Adjusting the ns-2 Emulation Mode to a Live Network. In: Proceedings of KiVS’05. Kaiserslautern, Germany (2005)

    Google Scholar 

  10. Chodorek, R., Chodorek, A.: An analysis of QoS provisioning for high definition video distribution in heterogeneous network. In: Proceedings of the 14th International Symposium on Consumer Electronics (ISCE 2010), Braunschweig, Germany (2010)

    Google Scholar 

  11. Chodorek, R.R., Chodorek, A.: Providing QoS for high definition video transmission using IP Traffic Flow Description option. In: Proceedings of the IEEE Conference on Human System Interaction, pp. 102–107, Warsaw, Poland (2015)

    Google Scholar 

Download references

Acknowledgment

The work was supported by the contract 11.11.230.018.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert R. Chodorek .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Chodorek, R.R., Chodorek, A. (2016). Expanding the Ns-2 Emulation Environment with the Use of Flexible Mapping. In: Gaj, P., Kwiecień, A., Stera, P. (eds) Computer Networks. CN 2016. Communications in Computer and Information Science, vol 608. Springer, Cham. https://doi.org/10.1007/978-3-319-39207-3_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-39207-3_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-39206-6

  • Online ISBN: 978-3-319-39207-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics