I make the nodes move randomly but it didn't reach the destination that i set.
set iface2 [$ns node 3.0.1] ;# node id is 8.
$iface2 random-motion 1
;# disable random motion
$iface2 base-station [AddrParams addr2id [$bstation802_16 node-addr]] ;#attach mn to basestation
$iface2 set X_ 250
$iface2 set Y_ 500
$iface2 set Z_ 0.0
# define node movement. We start from outside the coverage, cross it and leave.
$ns at 5 "$iface2 setdest $X_dst $Y_dst $speed"
Could you help to fix it