Need some help to implement Mobile Nodes enter/leave ns-2
simulations at random times.  MY context is the same with what Ramya
Raghavendra wrote some time back:

> Hello, Im simulating a wireless traffic scenario on NS 2.27. I am   
> working on a
> inter vehicular communication , and need to turn the nodes on and off, >to
> simulate vehicles entering and leaving a road. I read up all the posts on in
> the ns-users archive and tried everything that has been suggested. I >tried
> $ns at <time> "$node off" I commented out the tcl.evalf in the
> common/mobilenode.cc However, I see that the trace file shows packets
> being sent and received even after the node being turned off. Can someone
> tell me why this happens, and what should be done to stop the
> transmissions between particular nodes dynamically.

Any new insights on how to turn nodes on/off in my /Ramya's context?
It seems to me that the context $ns at <time> "$node off" is for
Energy Aware models and not for what I want to accomplish: Right?  Any
insights?

Best Arta Doci

Reply via email to