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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
LBNL stands for Lawrence Berkeley National Laboratory, the ns-1 place of development.
- 2.
TCL-based user interface in the ns-2 and the Python-based interface in the ns-3.
- 3.
Input and output modules, respectively, captures traffic and (after processing) inject it into a real-world network.
- 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
Fall, K., Varadhan, K.: The ns Manual (2014). http://ftp.isi.edu/nsnam/dist/release/rc1/doc/
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)
Henderson, T.R., et al.: Network simulations with the ns-3 simulator. SIGCOMM demonstration (2008)
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)
Pei, G., Henderson, T.: Validation of ns-3 802.11b PHY model (2009). http://www.nsnam.org/~pei/80211b.pdf
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)
Rene, S., et al.: Vespa: Emulating infotainment applications in vehicular networks. IEEE Pervasive Comput. 13(3), 58–66 (2014)
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)
Mahrenholz, D., Svilen, I.: Adjusting the ns-2 Emulation Mode to a Live Network. In: Proceedings of KiVS’05. Kaiserslautern, Germany (2005)
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)
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)
Acknowledgment
The work was supported by the contract 11.11.230.018.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)