Hi Jay,

Please see this tutorial on aodv protocol in ns2, it will help you...
http://www-npa.lip6.fr/~rehmani/aodv_v2.pdf

1. For neighbor list, see this...
http://old.nabble.com/neighbor-discovery-in-wireless-simulation-td20287516.html#a20357220

2. You need to create a neighbor list in node.cc

3. You need to create a function that will print the node ids and you can
call this function by routing agent i.e. ragent_


Best Regards

Mubashir Husain Rehmani
Lip6, UPMC Sorbonne Universités, Paris, France
http://www-rp.lip6.fr/~rehmani/

On 17 April 2011 20:56, <[email protected]> wrote:

>
> Hi
>
> I'm doing research about AODV protocol. I'm newbie in ns2,so i need to know
> 1. how to show neighbor of each node
> 2. how to count the number of neighbor of each node (how many neighbor
> of each node)
> 3. how to print all result in terminal after we modify code
>
> thank you
> Jay
>
>
>


-- 
Mubashir Husain Rehmani

Reply via email to