[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] question about mobile node address



Hi ns2 users,

I'm using ns2 2.1b6 n ad hoc network. When I read the manual of ns2 about trace
file, the example shows:
r 160.093884945 _6_ RTR  --- 5 tcp 1492 [a2 4 6 800] ------- [65536:0
16777984:0 31 16777984] [1 0] 2 0
The source in ip address is 65536

but in my simulations, I always got:
s 11.352939215 _18_ RTR  --- 77 cbr 96 [0 0 0 0] ------- [18:2 20:0 32 26] [11] 0 2
f 11.354021331 _26_ RTR  --- 77 cbr 96 [a2 1a 12 800] ------- [18:2 20:0 32 20] [11] 1 2 
it seems that in ip trace, ns doesn't use IP(32 bits) format anymore, instead
it is the same as the node ID (like _18_ in first line), not like what the
manual example said using a 3 level hier-address of 8/8/8.

Can anyone confirm my question please? 


Your early reaply would be really appreciate.

Liang Qin