Hello,

This tutorial may be useful to you:
http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf

Moreover, after making any changes, do not forget to do:

make clean
make
sudo make install

As far as your question is concerned, you can include a packet field in the
AODV packet header and propagate the energy values or use them in routing
decision.

Thanks
Best Regards
Mubashir Husain Rehmani
Lip6/UPMC, Paris, France

On 3 February 2011 23:16, Anoop thesis <anoopthesi...@gmail.com> wrote:

>
> Dear NS Users
>
> Had a quick question.
>
> My work mainly focuses on AODV. My work now requires that I add a new entry
> into the routing tables of AODV.
>
> I understand that I will have to make the corresponding changes in AODV.h
> and other related codes for AODV in ns2.
>
> *Can you just provide me with the way of doing the same. I understand I
> would need to"make" the code again.*
>
> But before that I would like to know how to implement changes. What all is
> needed to basically add a new entry to the routing table.
>
> As an example, how can I convey the energy class to the relay and
> destination nodes using AODV RREQ, RREP.
>
> I know how to add energy to the nodes and make different energy classes.
> But I also want the same to be propogated around using the AODV protocol.
>
> If somebody has done similar work( basically on adding any kind of routing
> entry in AODV ), please let me know of the same.
>
> Is there any reference on how to do this? Or is there any other better
> method?
>
>
> Thanks in advance.
>



-- 
Mubashir Husain Rehmani

Reply via email to