Re: [ns] Wired-Wireless Trace... message at MAC layer?

2009-03-16 Thread David Ross

David Ross wrote:
> Syed Faraz Hasan wrote:
>> Hi everyone!
>>
>> I simulated a wired-wireless scenario in NS-2. There is one wired 
>> node, connected to base station node. BS is further connected to 
>> wireless node. Wireless node is sending TCP traffic to wired node via 
>> BS. I get the trace file without error but I could not understand a 
>> few messages in trace file.
>>
>> For example
>> What does this "message" mean?
>> s 0.035412973 _1_ MAC --- 1 message 90 [0  0 800] --- 
>> [4194304:255 -1:255 32 0]
>> Only MAC trace and Wired Trace is ON
>> Can some one please help me on this.
> It is a routing advertisment (possibly DSDV?) being broadcast from 
> node 1's routing via node 1's MAC layer
>
> - David Ross
>  QUT, Brisbane, Australia.
To add a little more:
Sent, time, _node_, MAC trace, no-error, packet#, type, bytes, [(in hex) 
duration field (0 µs), receiver address, transmitter address and 
ether-type], ---, [(in decimal) IP source address:source port (255), 
IP destination address (-1):destination port (255), IP time-to-live (32) 
and next hop (0)]

- David Ross
   QUT, Brisbane, Australia.



[ns] Wired-Wireless Trace... message at MAC layer?

2009-02-19 Thread Syed Faraz Hasan

Hi everyone!

I simulated a wired-wireless scenario in NS-2. There is one wired node, 
connected to base station node. BS is further connected to wireless node. 
Wireless node is sending TCP traffic to wired node via BS. I get the trace file 
without error but I could not understand a few messages in trace file.

For example
What does this "message" mean?
s 0.035412973 _1_ MAC --- 1 message 90 [0  0 800] --- [4194304:255 
-1:255 32 0]
Only MAC trace and Wired Trace is ON
Can some one please help me on this.

Faraz

A few starting lines of trace are as follows;


M 0.0 4194305 (100.00, 100.00, 0.00), (470.00, 100.00), 16.66

s 0.00047 _2_ MAC --- 0 PRRQ 52 [0  1 0]

r 0.000886300 _1_ MAC --- 0 PRRQ 52 [0  1 0]

s 0.000936300 _1_ MAC --- 0 BCN 72 [0  0 4e3f]

r 0.001512601 _2_ MAC --- 0 BCN 72 [0  0 4e3f]

s 0.001722300 _1_ MAC --- 0 PRRP 72 [0 1 0 5c3f]

r 0.002298601 _2_ MAC --- 0 PRRP 72 [0 1 0 5c3f]

s 0.002308601 _2_ MAC --- 0 ACK 38 [0 0 0 0]

r 0.002612901 _1_ MAC --- 0 ACK 38 [0 0 0 0]

s 0.01672 _2_ MAC --- 0 AUTH 58 [0 0 1 0]

r 0.017184300 _1_ MAC --- 0 AUTH 58 [0 0 1 0]

s 0.017474300 _1_ MAC --- 0 AUTH 58 [13a 1 0 0]

r 0.017938599 _2_ MAC --- 0 AUTH 58 [13a 1 0 0]

s 0.017948599 _2_ MAC --- 0 ACK 38 [0 0 0 0]

r 0.018252899 _1_ MAC --- 0 ACK 38 [0 0 0 0]

s 0.029542599 _2_ MAC --- 0 ACRQ 52 [0 0 1 0]

r 0.029958898 _1_ MAC --- 0 ACRQ 52 [0 0 1 0]

s 0.030048898 _1_ MAC --- 0 ACRP 54 [0 1 0 0]

r 0.030481198 _2_ MAC --- 0 ACRP 54 [0 1 0 0]

s 0.030491198 _2_ MAC --- 0 ACK 38 [0 0 0 0]

r 0.030795497 _1_ MAC --- 0 ACK 38 [0 0 0 0]

s 0.035412973 _1_ MAC --- 1 message 90 [0  0 800] --- [4194304:255 
-1:255 32 0]

r 0.036133272 _2_ MAC --- 1 message 32 [0  0 800] --- [4194304:255 
-1:255 32 0]

s 0.10087 _1_ MAC --- 0 BCN 72 [0  0 b93f]

r 0.101446296 _2_ MAC --- 0 BCN 72 [0  0 b93f]

s 0.185397620 _2_ MAC --- 2 message 90 [13a 0 1 800] --- [4194305:255 
-1:255 32 0]

r 0.186117912 _1_ MAC --- 2 message 32 [13a 0 1 800] --- [4194305:255 
-1:255 32 0]

r 0.186117912 _1_ MAC --- 2 message 32 [13a 0 1 800] --- [4194305:255 
-1:255 32 0]

s 0.186127912 _1_ MAC --- 0 ACK 38 [0 1 0 0]

r 0.186432203 _2_ MAC --- 0 ACK 38 [0 1 0 0]

s 0.186821912 _1_ MAC --- 2 message 90 [0  0 800] --- [4194305:255 
-1:255 32 0]

r 0.187542203 _2_ MAC --- 2 message 32 [0  0 800] --- [4194305:255 
-1:255 32 0]

D 0.187567203 _2_ RTR LOOP 2 message 32 [0  0 800] --- [4194305:255 
-1:255 32 0]