[ns] ns Tracegraph: .tr.ip convertion file -- how replace in *.tr file?

Octavio Ramirez Octavio.Ramirez at prism.uvsq.fr
Wed May 12 02:27:25 PDT 2004


Hi, 

I installed Tracegraph to plot the curve. I analysed the wired-wireless
scenario, considering the example file of Marc Greis tutorial where a
wireless node moves between the HA and FA. Thereby I have nodes with
Hexadecimal numbers and IP address with 1.2.3.0 format.
  
My trace file is a mixed ip (wired and wireless nodes).


I ran tracegraph with -ip option, I retrieve a  "pruebawir.tr.ip" file,
it has this information

-1:0
0.0.0.0
0:0
1.0.1.2
4194304
4194304:0
4194305
4194305:0
4194305:2
8388608:0

Into the file "tcl" I have only 5 nodes: two wired nodes, two
wired-wireless nodes (Base Stations) and one mobile node

In pruebawir.tr I have this information:

mixed12 ip
M 0.0 nn 1 x 670 y 670 rp  DSDV
M 0.0 sc none cp none seed 0.0
M 0.0 prop Propagation/TwoRayGround ant Antenna/OmniAntenna
s 0.000339577 _2_ AGT  --- 0 udp 48 [0 0 0 0] ------- [4194304:0 -1:0 32
0]
r 0.004105598 _4_ AGT  --- 0 udp 68 [0 ffffffff 0 800] -------
[4194304:0 -1:0 31 0]
s 0.004105598 _4_ AGT  --- 1 udp 52 [0 0 0 0] ------- [4194305:0
4194304:0 32 0]
s 0.504105598 _4_ AGT  --- 2 udp 52 [0 0 0 0] ------- [4194305:0
4194304:0 32 0]
s 0.555880716 _3_ AGT  --- 3 udp 48 [0 0 0 0] ------- [8388608:0 -1:0 32
0]
s 1.000339577 _2_ AGT  --- 5 udp 48 [0 0 0 0] ------- [4194304:0 -1:0 32
0]



What I must to substitute into pruebawir.tr file to execute tracegraph? 

e.g. 

0.0.0.0 must be substitute by -1.0??
1.0.1.2 must be substitute by 0.0??
4194304 must be substitute by 0?
4194305 by 0? or by 2??



What is the procedure? what is the principle by substitute?

Regards

Octavio





More information about the Ns-users mailing list