LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2013, 03:36 AM   #1
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Rep: Reputation: Disabled
how to simulate vbr traffic in ns2


sir ,i am persuing m.tech in cse ....i am doing my thesis on adhoc network.my topic is simulate different traffic in differentrouting protocols in ns2.. i have done simulation in cbr...but i dont know how to simulate vbr in ns2..i want to know the complete description about vbr..means how to simulate vbr in ns??how to get code for it in different routin protocols?? means complete description about simulation of vbr in ns2..plz tell me as soon as possible its very urgent..i will be very thankfull for u for this help

Last edited by varun1989; 03-26-2013 at 12:54 PM.
 
Old 03-26-2013, 04:06 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please edit your post to proper spelling : Text speak is not appreciated.

Have you tried using Google ?
I.e. Google .. ns2 vbr .. : 83,000 hits.
Some of the first hits are :
http://ns2homeworkforbeginner.blogsp...1_archive.html
http://code.google.com/p/txsys/sourc...ns2/vbr/?r=222
http://www.linuxquestions.org/questi...2-34-a-868010/

-
 
1 members found this post helpful.
Old 03-28-2013, 01:59 PM   #3
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
vbr_traffic.h file

how can i get vbr_traffic.h file for ns2??
 
Old 03-28-2013, 06:25 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

vbr_traffic.cc : The third link in post #2.
vbr_traffic.cc requires no vbr_traffic.h : Lines 19 - 23 ..
#include <stdlib.h>
#include "random.h"
#include "trafgen.h"
#include "ranvar.h"

-
 
Old 03-29-2013, 02:20 AM   #5
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
after adding vbr_traffic.cc i m using ./configure command and i got error autoconf.h is unchanged ..and then i use make command to make object file but error is command commence before 1st step why???
 
Old 03-29-2013, 02:52 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .

When 'vbr_traffic.o' is added to the "Makefile.in" : ./configure && make.
Added 'vbr_traffic.o' to the Makefile : 'make' will do.

A correct line in the Makefile and Makefile.in would be like :
<TAB>vbr_traffic.o \
http://www.linuxquestions.org/questi...4-a-868010/#15
Or like this :
<TAB>tools/vbr_traffic.o\

Quote:
command commence before 1st step
Happens when you type : <TAB>vbr_traffic.o \ <space>
Or : <TAB>vbr_traffic.o\ <space>

.... So you will have to delete the invisible <space> .
I.e. one or more <spaces> will make the "Makefile" fail.

-
 
1 members found this post helpful.
Old 03-29-2013, 03:41 PM   #7
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
Smile

i m succeed in my work.thank you so much you all are so inteligent..thank you thank you so much
 
Old 03-29-2013, 03:43 PM   #8
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
If i will have to work on ABR traffic then how can i work??..please tell me about this also
 
Old 03-30-2013, 02:07 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#8 : I don't even know what ABR is. Some ABR here ..
http://en.wikipedia.org/wiki/Traffic_contract

And Google .. ns2 ABR traffic .. : Shows a few relevant hits ?
http://dl.acm.org/citation.cfm?id=847947
""ABR Traffic Congestion Control in ATM Networks with Pole Placement .....
In this paper, we use network simulator ns2 to evaluate the performance of a ...""

.. So I guess you are quite on your own if you want to use abr in ns2.

Also : Google .. ns3 ABR traffic .. : No usable hits.

-
 
Old 03-30-2013, 06:25 AM   #10
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
from where to find .tcl file in vbr traffic for aodv,dsdv and dsr protocols??
 
Old 03-30-2013, 09:32 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 10 .

Please explain what you want to do.

Google : vbr traffic aodv dsdv dsr protocols : 21,000 hits.
http://www.google.com/webhp?hl=all#q...w=1280&bih=813

-
 
Old 03-30-2013, 11:37 AM   #12
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
i want to study different routing protocols in different traffic..i have studied different adhoc routing protocols under cbr traffic,now i want to study different routing protocols under vbr traffic,for this i have set vbr.o file in makefile.in and after applying make command i have obtained vbr.o file.now for study of protocols like aodv,dsdv and dsr i need tcl files so that i can study QOS parameter.so in short i think i need tcl files for these protocols under tcp and udp so that i can study these protocols under vbr traffic so i want to know how can i do this???
 
Old 04-02-2013, 01:59 PM   #13
varun1989
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Original Poster
Rep: Reputation: Disabled
no reply?? sir i want to study vbr traffic on different routing protocols..for that i have made vbr.cc and vbr.o file..now i need vbr_traffic.tcl files for aodv,dsdv protocols plz help me
 
Old 04-12-2013, 12:19 PM   #14
rahul2013
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Rep: Reputation: Disabled
tcl script

plz tell me Tcl script to make communication between nodes using AODV routing protocol and VBR traffic??
 
Old 04-12-2013, 01:46 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 14 .
There may be an example here http://www.google.com/webhp?hl=all
> aodv+vbr.tcl http://www.google.com/webhp?hl=all#h...w=1280&bih=813
The first hit http://www.scribd.com/doc/98292357/aodv-vbr
 
  


Reply

Tags
ns2, vbr



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
How can simulate UMTS with ns2?? mounaboug Ubuntu 6 05-02-2012 05:41 AM
[SOLVED] Insertion steps of VBR into NS2.34 khan1354 Linux - Newbie 21 05-01-2011 07:55 AM
vbr traffic model creation khan1354 Linux - Software 1 05-01-2011 05:10 AM
problem in traffic trace file genration(VBR) in ns2.34 sanviarch Linux - Networking 4 09-15-2010 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 AM.

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
Open Source Consulting | Domain Registration