Hi there,

Though I had problems by just using "on/off" command of the mobile nodes, I 
finally used a tricky way to "shut down" some nodes at certain time:

In mac/mac-802_11.cc, I added a few lines in the beginning of transmit() and 
recv(), which stop transmitting/receiving the packet depending on the clock 
time and the id of the node which is calling this function.

Though I have to re-make ns2, it does works fine for me.

Hope it helps.

Ryan

Reply via email to