Hi

I'm currently implementing a multipath extension to AODV-UU and am
trying to test it in the ns2 simulator. As the scenario includes a
particular node failing at a certain time, I need to be able to disable
it somehow. Currently I just move it out of reception range (set X_
999) but I get weird results with that: Suddenly its former neighbour
doesn't receive any packets from its still-active neighbours anymore.
This is the topology:

     (0)    (1)
     
          (3)    (2)

Node 3 is the node I'm trying to disable, node 2 is the node which after
that doesn't receive any packets from node 1 anymore (checking via trace
file MAC events).

You can find the code, simulation and trace-/nam-/logfiles online at
http://stefan.desire.ch/ns2-aodvm/. As you can see from the tracefile,
as soon as node 3 stops receiving HELLO packets, so does node 2 (cat
aodvm-2.tr | grep ^r.*MAC.*HELLO).

If you'd like to try it yourself, you'll need to apply the patches from
the /code directory to ns-2 (2.29) in the following order:
ns-2.29-aodv-uu-0.9.1.patch ns2-aodvuu-aodvm.patch. Then you'll have to
copy the aodv-uu directory into your ns2 dir.

Now my questions are whether there is a cleaner way to shut down a node
at some particular time and whether there is a reasonable explanation
why node 2 stops receiving HELLO packets.

I hope somebody can help me with this.

Thanks & regards
Stefan

Reply via email to