[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] About sat-repeater.tcl
Giuseppe hi
There doesn't seem to exist any error.
The enumeration of nodes for tracing purposes begins from 0 and follows
the definition order within the script.Since the satellite node was
defined first, it takes value 0-therefore the source and destination get
1 and 2.This is what the trace file shows.
You could doublecheck it relying on the co-ordinates of the nodes in
the end of the trace file lines.
The only node missing in the trace lines is the satellite node -but this
is because it is a repeater node and the tracing at the satellite nodes
takes place after the Sat/MAC clas,which in case of the satellite repeater
case is simply not there.
I hope I understood what was your question and helped
Merkouris
On Sat, 4 Aug 2001, Giuseppe Tringali wrote:
> Hi all,
>
> I have executed the script sat-repeater.tcl and then I have read the trace
> file.
>
> Assuming that I have understood both the script and the trace file ...
>
> I think that UDP datagrams or TCP segments should arrive to node3. In other
> words node3 in San Francisco should receive something.
>
> But the trace file "says" something different.
>
> Below you can find some lines of the trace file. In the attached you can
> find the complete trace file.
> By the way can I attach a file or is it deprecated?
>
> + 1.0000 1 2 cbr 230 ------- 0 1.0 2.0 0 0 40.90 -73.90 37.80 -122.40
> - 1.0000 1 2 cbr 230 ------- 0 1.0 2.0 0 0 40.90 -73.90 37.80 -122.40
> r 1.2542 1 2 cbr 230 ------- 0 1.0 2.0 0 0 40.90 -73.90 37.80 -122.40
> ....
> ....
> + 97.0000 1 2 cbr 230 ------- 0 1.0 2.0 16 218 40.90 -73.90 37.80 -122.40
> - 97.0000 1 2 cbr 230 ------- 0 1.0 2.0 16 218 40.90 -73.90 37.80 -122.40
> r 97.2542 1 2 cbr 230 ------- 0 1.0 2.0 16 218 40.90 -73.90 37.80 -122.40
>
> Where is my mistake? Could you help me?
>
> Giuseppe Tringali