LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-10-2010, 09:51 AM   #1
sanviarch
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
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

Last edited by sanviarch; 09-10-2010 at 09:52 AM.
 
Old 09-13-2010, 12:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
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
..
 
Old 09-14-2010, 11:14 AM   #3
sanviarch
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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
Attached Files
File Type: txt ex-trace.txt (2.3 KB, 36 views)

Last edited by sanviarch; 09-14-2010 at 11:18 AM. Reason: attaching tcl file
 
Old 09-15-2010, 12:24 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Moved: This thread is more suitable in Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 09-15-2010, 02:16 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,266

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
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.
..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] trace writes to file BenCollver Linux - Server 4 12-05-2010 12:30 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 02:44 AM
Cannot create CBR traffic in ns2 Cataj Linux - Newbie 21 08-13-2009 01:04 AM
problem with executing c++ file for wireless networks, working with ns2 nitishjaiswal Linux - Software 3 03-26-2009 06:34 AM
How to trace and disable the HTTP TRACE method in Apache 1.3.33 with FreeBSD? SomnathG Linux - Security 1 11-11-2008 10:41 AM


All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration