Search This Blog

Monday 30 December 2013

How can i enable Hello Packets in AODV ?


     > By default Hello Packet is not enabled. You have to enable it.

 Steps :
           i) In aodv.cc, comment the line as shown

                     //#ifndef AODV_LINK_LAYER_DETECTION
                       htimer.handle((Event*) 0);
                       ntimer.handle((Event*) 0);
                     //#endif // LINK LAYER DETECTION


 How can i change the Hello interval ?

     >  By default hello interval set to 1 second ( 1000 milli sec )

      >  In aodv.h, Macro variable HELLO_INTERVAL can be found.

4 comments:

  1. how to disable data packet ack from all intermediate nodes in aodv

    ReplyDelete
    Replies
    1. @Naveed, Do not use TCP protocol, use UDP.

      Delete
  2. how to mointor whether intermediate node send data packets to next intermediate node in aodv ,with out using ack

    ReplyDelete
    Replies
    1. @Naveed, thats where tap function plays the role (For more read about promiscuous mode). Refer this post, http://karthicksivakrr.blogspot.in/2013/12/ns2-tips-3.html

      Delete

Thanks & Regrds,
Karthick SIva