Hi

Thanks for the advice, but if I try that, I get

: _o80 node-down: 
    (_o87 cmd line 1)
    invoked from within
"_o87 cmd node-down"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o87" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$mac_(0) node-down"
    (procedure "_o80" line 3)
    (Node/MobileNode node-down line 3)
    invoked from within
"_o80 node-down"

Do you have any idea what that might be about?

Stefan

On Wed, Aug 23, 2006 at 10:01:54AM +0200, Matthias Kuhnert wrote:
> Hi,
> You can try something like:
> $ns_ at 30.0 "$node_(3) node-down"
> $ns_ at 74.0 "$node_(3) node-up"
> 
> Sorry, no explanation to your second problem.
> 
> Matthias
> 
> 
> Stefan Ott schrieb:
> >
> >------------------------------------------------------------------------
> >
> >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

-- 
Stefan Ott
http://www.desire.ch/

PLAN everything! http://www.planster.net/

Reply via email to