problem in traffic trace file genration(VBR) in ns2.34
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
problem in traffic trace file genration(VBR) in ns2.34
Hello all,
I want to create VBR traffic,I created file which contain two 32 bit fields.But When I execute tcl program with this.No pkt transfer is shown.When same program I tried with example-trace ,i saw pkt transfer.Containt of my traffic trace file is as follows :
problem in traffic trace file genration(VBR) in ns2.34
I have created my own trace file containing two 32 bit field(big endian).I can't see any packet transfer.But if I use example-trace for vbr, I can see packet transfer.
my trce file contain following data:
0000000000000000000101100110110000000000000000000000001111101000
0000000000000000000111100011100000000000000000000000000111110100
0000000000000110101100111001001000000000000000000000000111110100
0000000000000000101001111001101100000000000000000000001111101000
0000000000000000000101101001110100000000000000000000000111110100
0000000000000100010010101110100000000000000000000000001111101000
0000000000000000000101011001011000000000000000000000001011101110
I am attaching tcl file also.
Plz guide me to generate vbr traffic by trace method.
Thanks in advance
Last edited by sanviarch; 09-14-2010 at 10:18 AM.
Reason: attaching tcl file
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
The attached file is tcl code, and is supposed to work with
the command : ns ex.trace.tcl ( The .tcl suffix may not be necessary.)
... thus generating :
1) nam.out by default ( or your choice for file name.)
2) <file>.tr , to be handled after some filtering :
A "filter" with e.g. an awk command. AFAIK.
But you have some errors in the file, I think :
I tested it with ns-2.34.
..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.