Shell Script to Clone AODV Routing Protocol in Network Simulator-2

  • Authors

    • Roshan Ulla Khan
    • Vijayalakshmi A. PhD
    2018-06-25
    https://doi.org/10.14419/ijet.v7i3.4.14668
  • AODV Routing Protocol, Network Simulator-2, Ad-hoc Protocols, Access Protocol, Wireless Networks, Clone AODV
  • Background and Objective: Most of the research that are carried in ad hoc routing protocol is through simulation. While working with a simulator, the codes are enclosed in a component that is accessible to all the developers. The difficulty arises as there is no enough documentation and users find it difficult to modify different C++ and TCL files. Even if one component is modified then the entire Network Simulator-2 (NS-2) suite must be reconfigured. Cloning the protocol manually takes a lot of time and prone to error. Our objective is to ease the work of developers and researchers by showing the procedure to clone the AODV protocol automatically using a script. Methodology: In this study, a shell script is developed that will clone the AODV protocol by modifying 18 C++ and TCL files of the protocol and NS-2 suite by automatically inserting the code in exact files at exact position. It also configures the NS-2 and installs the entire NS-2 suite along with setting the path in .bash files. Results: In this research work, a comparison of cloned protocol with AODV protocol is done based on throughput time and packet loss metrics and the results generated are exactly same for both the protocols. The results of the study reveal that the proposed script clones the AODV protocol successfully. Conclusion: This work proves that the proposed script can clone the AODV protocol faster with just one execution of shell script. This methodology will save the time and help the developers or research to focus more on their study on the protocol.

     

  • References

    1. [1] Anon, (2017). [online] Available at: http://shodhganga.inflibnet.ac.in/bitstream/10603/30965/7/07_chapter%202.pdf [Accessed 27 Oct. 2017].

      [2] Selvarani, A. and Selvam, P. (2011). Study of Routing Protocols in Mobile Ad Hoc Networks. International Journal of Computer Applications. [online] Available at: http://www.ijcaonline.org/icvci/number4/icvci1234.pdf [Accessed 4 Jun. 2017].

      [3] Anon, (2017). [online] Available at: http://www.linuxjournal.com/article/5929 [Accessed 3 Apr. 2017].

      [4] Engpaper.com. (2017). wireless networking using ns2. [online] Available at: http://www.engpaper.com/wireless-networking-using-ns2.htm [Accessed 30 Nov. 2016].

      [5] singh, R. and Uphdaya, A. (2016). A Literature Review on Black Hole Attacks on AODV Protocol in MANET. International Journal of Engineering Trends and Technology, 38(1), pp.44-49.

      [6] Sharma, C. and kaur, H. (2015). Literature Survey of AODV and DSR Reactive Routing Protocols. International Journal of Computer Applications, (0975 – 8887).

      [7] Singh, R. and Gupta, S. (2014). EE-AODV: Energy Efficient AODV routing protocol by Optimizing route selection process. International Journal of Research in Computer and ISSN (Online) 2278- 5841 Communication Technology, 3(1).

      [8] Harju, K. and Korventausta, S. (2001). Network Simulation and Protocol Implementation Using Network Simulator 2. [online] Available at: http://www.cs.tut.fi/~kucherya/ns2/ns2over.pdf [Accessed 3 Apr. 2017].

      [9] Network Simulator - ns2. (2017). Network Simulator - ns2. [online] Available at: https://ns2tutor.weebly.com/ [Accessed 14 Sep. 2016].

      [10] Hossain, E. and Issariyakul, T. (2008). Introduction to Network Simulator NS2. US: Springer, p.512.

      [11] [Whatis.techtarget.com. (2017). What is TCL? What Opens a TCL? File Format List from WhatIs.com. [online] Available at: http://whatis.techtarget.com/fileformat/TCL-Script-in-the-TCL-TK-Language [Accessed 2 Mar. 2017].

  • Downloads

  • How to Cite

    Ulla Khan, R., & A. PhD, V. (2018). Shell Script to Clone AODV Routing Protocol in Network Simulator-2. International Journal of Engineering & Technology, 7(3.4), 17-23. https://doi.org/10.14419/ijet.v7i3.4.14668