Linux - SoftwareThis 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
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.
Hi there, I am a new ns2 user. Currently i am running ns-2.32 to simulate LAR protocol. Any body have an idea how to add CBR in LAR Protocol? And also how to analyze the trace file??
Thanks in Advance
i mailed to @billyfuad for sendData ,
I read all the material on this link "http://www.linuxquestions.org/questions/tags/lar/"
but didn't get any answer
Also, i want to use cbr over LAR , in "cbr-3-test" they have specified connection between nodes and sending of traffic but this file was not called in any of the tcl files present in lar-examples folder.
i tried to include cbr files in box.tcl and commented sendData lines , then it is shoing no error but in trace file no send data and all node statistics are zero.
another help how can i contact Dhaval Deolasi or Helen jameel. might they can answer my question as they are working on this.
their is no dream_2.tcl, wpan_demo1__Dream2.tcl in larexamples folder .
and in dream folder (patched with lar for ns-2.32), their is no such variable "cbr-3-test" or file name used.
* Be aware that the copy of cbr-3-test ( mob.2 )
is used only in the absence of a dedicated file.
I.e. cbr-3-test is a random choice.
A new file can be created with cbrgen.tcl, like this example :
$ ns cbrgen.tcl -type cbr -nn 20 -seed 1.0 -mc 8 -rate 4.0 >> file
-
this what i am getting plz see the attached image
could you please ask helen and Dhaval Deolasi on my behalf . i asked @billyfuad but no reply.
"how we send data in lar / how we attach cbr agents on top of LAR "
cbr-3-test -- yes i know we can create the file with cbrgen utility but when i am trying to include with lar agents then all node statsitics are zero . there is no send data in trace file. also then i am confused what is the purpose of sendData . if sendData then where CBR to be used ? or if not ............... lots of confusion .
i have attached CBR traffic on top of LAR agents. now i have 3 options
1) without sendData and with CBR traffic on top of LAR ==> then .tr file, their is no LAR packets.
2) with sendData and without CBR traffic on top of LAR ==> thn in .tr file , there is no "s" packet , no AODV packets , only LAR packets
3) with sendData and with CBR traffic on top of LAR , there are LAR packets , AODV packets.
i want to compare with LAR and without LAR. I am not clear which option should i choose and suppose with sendData , then in sendData source and destination should be the same as source and destination used in CBR traffic.
* The patch is for a clean original ns-2.35 !
If you want want LAR + DREAM to live together with another added protocol, please ask.
ZRP ? ? We can then create a combined patch, or / and a patch to add to "zrp".
Note : You can have as many ns-allinone-2.35 as you want, installed at the same time.
i have attached CBR traffic on top of LAR agents. now i have 3 options
1) without sendData and with CBR traffic on top of LAR ==> then .tr file, their is no LAR packets.
2) with sendData and without CBR traffic on top of LAR ==> thn in .tr file , there is no "s" packet , no AODV packets , only LAR packets
3) with sendData and with CBR traffic on top of LAR , there are LAR packets , AODV packets.
i want to compare with LAR and without LAR. I am not clear which option should i choose and suppose with sendData , then in sendData source and destination should be the same as source and destination used in CBR traffic.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.