Hi everyone
I've a topology in which some nodes can crash at run time.

I'm using
    $ns rtproto DV
to indicate that shortest path should be dynamically selected for file
transfer.

To show that a node failed, i first tried to break all the incident links
using
   $ns rtmodel-at 1.0 down $n(1) $n(2)
in an appropriate loop. But when all the links to a node break, the script
hangs, and the size of tracefile keeps increasing indefinitely. My guess is
that NS2 keeps trying to find a path to "now isolated" node, even though
none exists.

Next I tried the following command
   $ns rtmodel-at 3.5 up $n(1)
But the same problem occurs.

Is there any way to break a node dynamically from topology and still use
dynamic routing command in NS2?

Reply via email to