Hi Paul,

Paul Vincent Craven schrieb:
> I'm trying a very simple wireless simulation while I'm learning to use
> ns-2. The output of it seems to show the wireless transmissions happening
> instantly:
>
> s 10.000000000 _0_ AGT  --- 4 cbr 1000 [0 0 0 0] ------- [0:0 1:0 32 0]
> [0] 0 0
> r 10.000000000 _0_ RTR  --- 4 cbr 1000 [0 0 0 0] ------- [0:0 1:0 32 0]
> [0] 0 0
> s 10.000000000 _0_ AGT  --- 5 cbr 500 [0 0 0 0] ------- [0:0 1:0 32 0] [1]
> 0 0
> r 10.000000000 _0_ RTR  --- 5 cbr 500 [0 0 0 0] ------- [0:0 1:0 32 0] [1]
> 0 0
> s 11.000000000 _0_ AGT  --- 8 cbr 1000 [0 0 0 0] ------- [0:0 1:0 32 0]
> [2] 0 0
> r 11.000000000 _0_ RTR  --- 8 cbr 1000 [0 0 0 0] ------- [0:0 1:0 32 0]
> [2] 0 0
> s 11.000000000 _0_ AGT  --- 9 cbr 500 [0 0 0 0] ------- [0:0 1:0 32 0] [3] 0
>
>   
Your trace file only shows packets going from the agent to the routing 
layer on node 0 - this takes zero time. There are no packets transmitted 
or received by another node. You should set "-macTrace ON" to see if you 
are transmitting packets on the MAC layer.


Daniel.

Reply via email to