• The secret of success is learning how to use pain and pleasure instead of having pain and pleasure use you. If you do that, you're in control of your life. If you don't, life controls you.
      Tony Robbins

    • If you do what you've always done, you'll get what you've always gotten.
      Tony Robbins

  1. Address: Floor 3th, Information Technology Center of BASU University, Hamedan, Iran.

    Tel: +988138270182 & +988138268809         Email: info@wsnlab.org

    • Carry out the Wireless Sensor Network Simulation projects
    • Consulting the Wireless Sensor Network Projects
    • Implementation Hardware, Middle-ware and Software of WSN.

    for more information you can contact us: info@wsnlab.org

  2. Our Persian Forum ,

Implementing A New Manet Unicast Routing Protocol In Ns2

Discussion in 'Manet' started by Homaei, Nov 9, 2013.

  1. Homaei

    Homaei Administrator Staff Member

    Implementing a New Manet Unicast Routing Protocol in NS2
    Francisco J. Ros
    Pedro M. Ruiz
    {fjrm, pedrom}@dif.um.es
    Dept. of Information and Communications Engineering
    University of Murcia
    December, 2004

    1 Introduction
    During the last year, we have witnessed a lot of people asking for the same question in the ns-users mailing list. How do I develop my own protocol for NS2? By writing this document we hope to help those researchers who need to add a Manet routing protocol for NS-2.27. We focus our document in uni-cast protocols. The document is aimed to those people who are somehow familiar with performing simulations in NS-2, and they want to go one step forward to implement their own protocols. Everything we describe in this text is related to version 2.27 of NS2, but it might be useful for other versions as well. We assume that the reader is familiar with the NS2 basics. That means having read and at least mostly understood “Marc Greis’ Tutorial” [1]. It would be very useful if you also take a look at “The ns Manual” [2], specially chapters 3-5, 10-12, 15-16, 23, 25 and 29. We will refer to them several times throughout this text and encourage you to read them. Before coding your own routing protocol, you should know how to perform simulations with other implemented protocols and you are expected to feel familiar and comfortable with simulator. This will avoid lots of misunderstandings and doubts while reading this document. Besides this tutorial is about programming. You need knowledge about C++ and (a little) Tcl programming. If you aren’t enough experienced with these programming languages, you should firstly read any of the excellent resources about them which are freely available in the Internet.

    Referenced by: http://www.wsnlab.org
    Author: Mohammah Hossein Homaei
    Wireless Sensor Networks Laboratory of Iran
  2. mehdi enzo

    mehdi enzo New Member

    salam man daram ro projeh wormhole attack kar mikonam ke routing protocol DSR dareh. man tazeh shoro be kar ba NS2 kardam. khastam kami raje be piadeh sazi DSR routing baram begid ke chegone piade sazi mishe?

Share This Page

Get our toolbar! Flag Counter