Posts Tagged ‘NS2’

NS-2: WSN with obstacles

May 29, 2017

This is the tcl script for simulating a Wireless Sensor Network with some obstacles in the target area.

(more…)

Advertisements

Energy Consumption Analysis of Modified AODV Routing Protocol under Random Waypoint and Reference Point Group Mobility Models

December 12, 2012

Abstract — A Mobile Ad hoc Networks (MANET) is a non-infrastructure network that consists of a collection of nodes that can communicate each other independently. MANET is characterized by mobile with portable and limited power sources. A lot of protocols proposed to improve and optimize AODV performance. Our previous work, we have proposed a modified AODV routing protocol called RAODV+. RAODV+ combines two mechanism such as gateway mode and reverse route mechanism with the aim to improve the performance of the hybrid protocol. In this paper, we will discuss and analyze our modified AODV routing protocol in term of energy consumption analysis in mobility models, random waypoint and reference point group mobility. In this work, we use network simulator NS-2 to perform some scenarios of simulation. We used mobility models random waypoint and reference point group with various speed and number of source node to evaluate the energy consumed by each node. The simulation result shows that our modified protocol has lower energy consumption for random waypoint movement compare to the reference point group mobility model.

ACKNOWLEDGMENT
This research project is funded by The Directorate General of Higher Education Indonesia and Indonesian France Embassy.

You can download the paper here. This paper has already accepted and presented in International Conference on Advance Computer Science and Information Systems (ICACSIS) 2012.

Energy Consumption Analysis of AODV-UI Hybrid Routing Protocol under Various Mobility Models

December 26, 2011

This is our first draft joint research paper that we submitted to Networking 2012, The International Conference on Networking. This joint research is involved 2 universities, Universitas Indonesia and Universite de Haute Alsace-France. We hope that this paper could represent both universities in the conference.

Abstract – Mobile ad hoc networks (Manets) are characterized by mobile with portable and limited power sources. For more than one decade, Ad hoc On-demand Distance Vector (AODV) routing protocol becomes attention and research focus on MANET widely. A lot of protocols proposed to improve and optimize AODV performance. Yet, many of those do not consider the needs of node accessing Internet via infrastructure network. In this paper, we proposed a optimize hybrid routing protocol based on AODV routing protocol, called AODV-UI. Our proposed protocol combines two mechanism such as gateway mode and reverse route mechanism with the aim to improve the performance of the hybrid protocol. We performed some evaluation of energy consumption calculation in our proposed hybrid protocol under various mobility models. We used random waypoint mobility models and reference point group mobility models with different speed and different number of source node to evaluate our protocol. The simulation result shows that our proposed protocol performance is lower in terms of energy consumption for random waypoint movement compare to the reference point group mobility model.

Keywords: Energy, gateway mode, mobility model, reverse route mechanism.

Network Simulator-2 (NS-2)

October 16, 2011

Network Simulator-2 (NS-2)

This page contains useful links to learn Network Simulator-2 (NS-2), Network Animator (NAM) and implementation of Ad hoc Network, AODV routing protocol, IEEE 802.15.4/ZigBee LR-WPANs

NS2 :

  1. Install NS2.31 for ubuntu 7.10 http://alkautsarpens.wordpress.com/2008/02/05/install-ns231-for-ubuntu-gutsy-710/
  2. Tutorial for network simulator http://www.isi.edu/nsnam/ns/tutorial/
  3. The network simulator http://www.isi.edu/nsnam/ns/
  4. NS manual http://www.isi.edu/nsnam/ns/doc/index.html
  5. NS by example http://nile.wpi.edu/NS/
  6. NS2 – workshops, tutorials, presentations http://www.isi.edu/nsnam/ns/ns-tutorial/index.html
  7. NS2 contributed code http://nsnam.isi.edu/nsnam/index.php/Contributed_Code
  8. http://ns-2.blogspot.com/
  9. Workshop on NS-2 – http://www.wns2.org
  10. NS2 Learning Guide
  11. How to interprete the NS2 tracefile
  12. NS Simulator course for beginners
  13. NS-2 Resource page
  14. Network analyzer for NS-2
  15. NS2.26 Source Original Documentation
  16. About Packet delays
  17. NS nam search : http://www.isi.edu/nsnam/htdig/search.html
  18. Pedro Vale FAQ NS2 Tips
  19. Zigbee/IEEE 802.15.4 Module for NS2 simulator : http://www.cs.uwm.edu/~mukul/wpan.html
  20. How to evaluate MPEG video transmission using the NS2 simulator?
  21. NS2.33 Documentation
    http://www-mobile.ecs.soton.ac.uk/scripts/viewvc.cgi/ns-2.33/
    http://www-mobile.ecs.soton.ac.uk/scripts/viewvc.cgi/ns-2.33/wpan/

NAM :

  1. Network Animator http://www.isi.edu/nsnam/nam/

NS2 for IEEE 802.15.4/ZigBee LR-WPANs :

  1. Simulation of IEEE 802.15./ZigBee With NS-2
  2. IEEE 802.15.4 Mac Implementation in NS-2
  3. Low Rate Wireless Personal Area Networks (LR-WPANs) NS-2 Platform
  4. Simulative Investigation of ZigBee/802.15.4

 

AWK n GNU :

  1. The GNU AWK user’s guide
  2. http://www.gnuplot.info/
  3. Demo Script gnuplot – http://gnuplot.sourceforge.net/demo_4.2/

TCL/OTCL :

  1. Tutorial OTCL : http://bmrc.berkeley.edu/research/cmt/cmtdoc/otcl/tutorial.html

Trace File :

  1. NS-2 Trace Formats : http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats
  2. The example Awk file for 802.15.4 : http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/scripts.html
  3. The example Awk file for 802.11 (using cbr packet) : http://zbinwu.blogspot.com/2010/10/analyze-ns-2-trace-file.html

TCL Script for My NS-2 Project

January 19, 2011

This is my simple tcl script for our project research by using NS-2.34. In this project, we are going to combine 2 protocols, AODV+ and R-AODV,  our proposed protocol called AODV-UI.

Here is the tcl script.

(more…)