Hello , I simulated a basic wireless sensor setup (6 nodes and one base station) with AODV as the routing protocol. I got the trace in the new NS format.
The -Hd field which refers to 'Hop destination Node ID' is indicated as '-2' . How do we interpret '-2' value for this field ? Attached is an excerpt from the trace file.. r -t 10.000000000 -Hs 4 -Hd -2 -Ni 4 -Nx 1.00 -Ny 12.00 -Nz 0.00 -Ne 1.000000 -Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 4.0 -Id 6.0 -It tcp -Il 40 -If 2 -Ii 0 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0 r -t 10.000940022 -Hs 6 -Hd -2 -Ni 6 -Nx 4.00 -Ny 6.00 -Nz 0.00 -Ne 2.999760-Nl RTR -Nw --- -Ma 0 -Md ffffffff -Ms 4 -Mt 800 -Is 4.255 -Id -1.255 -It AODV -Il 48 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 1 -Pd 6 -Pds 0 -Ps 4 -Pss 4 -Pc REQUEST s -t 10.000940022 -Hs 6 -Hd 4 -Ni 6 -Nx 4.00 -Ny 6.00 -Nz 0.00 -Ne 2.999760-Nl RTR -Nw --- -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 6.255 -Id 4.255 -It AODV -Il 44 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x4 -Ph 1 -Pd 6 -Pds 4 -Pl 10.000000 -Pc REPLY r -t 10.000940033 -Hs 1 -Hd -2 -Ni 1 -Nx 7.00 -Ny 4.00 -Nz 0.00 -Ne 0.999760-Nl RTR -Nw --- -Ma 0 -Md ffffffff -Ms 4 -Mt 800 -Is 4.255 -Id -1.255 -It AODV -Il 48 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 1 -Pd 6 -Pds 0 -Ps 4 -Pss 4 -Pc REQUEST Thanks, -- Goutham B
