LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem in traffic trace file genration(VBR) in ns2.34 (http://www.linuxquestions.org/questions/linux-networking-3/problem-in-traffic-trace-file-genration-vbr-in-ns2-34-a-831376/)

sanviarch 09-10-2010 08:51 AM

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 :

0000000000000000000101100110110000000000000000000000001111101000
0000000000000000000111100011100000000000000000000000000111110100
0000000000000110101100111001001000000000000000000000000111110100
0000000000000000101001111001101100000000000000000000001111101000
0000000000000000000101101001110100000000000000000000000111110100
0000000000000100010010101110100000000000000000000000001111101000
0000000000000000000101011001011000000000000000000000001011101110

I want to know what is wrong thing in this file.
Thanks in advance

knudfl 09-12-2010 11:01 PM

Welcome to LQ.

""No pkt transfer"" : If you mean 'packet transfer', then write it.
Short hand write, 'SMS lingo' is not appreciated at LQ.

Suggest: Upload your tcl code to a Pastebin site e.g. http://pastebin.com/
or attach it here, by using the Paperclip tool in the "Post Reply" editor.


http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.linuxquestions.org/linux/rules.html
..

sanviarch 09-14-2010 10:14 AM

problem in traffic trace file genration(VBR) in ns2.34
 
1 Attachment(s)
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

david_ross 09-15-2010 11:24 AM

Moved: This thread is more suitable in Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

knudfl 09-15-2010 01:16 PM

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.
..


All times are GMT -5. The time now is 06:03 AM.