How to change traffic from cbr to Pareto/exponential in ns2.35(ubuntu 12.04)
Hello everyone
i want to change traffic from cbr to pareto/ exponential i have used the following code in my tcl file but no trace file is generated for this & the ouput is fatal error Code:
set p [new Application/Traffic/Pareto] is this a right way to change traffic ??? thanx in advance :) |
plz someone help
i need it urgently :) thanx in advance :) |
Post #2 marks your thread as answered : The thread goes invisible.
No answers : The thread is bumped several times (for days), and the kept visible in "Zero Reply Threads" for a very long time. Conclusion : Never never make an answer to your own "post #1". Google .. ns2 [new Application/Traffic/Pareto] .. https://www.google.com/webhp?hl=all&...ffic%2FPareto] Google .. [new Application/Traffic/Exponential] .. https://www.google.com/webhp?hl=all&...2FExponential] - |
ok thanx for ur suggestion sir
but above post doesn't solve my problem |
Must be something ... lots of hits :
https://www.google.com/webhp?hl=all&...ffic%2FPareto] https://www.google.com/webhp?hl=all&...2FExponential] |
thanx sir for ur reply :)
but i already read about pareto/exponential traffic generation on google but don't understand where m going wrong Code:
if {$val(traffic) == "Node-UDP"} { plz help :( |
← #6 .
May be attach your complete file.tcl ? Must be named <file>.tcl.txt , i.e. suffix .txt is a must for "text files". |
1 Attachment(s)
attached aomdv.tcl file
|
1 Attachment(s)
← #8 .
* Forgot to tell you that your (edited) file.tcl cannot have the same name as an already existing file. The file in post #8 is not "aomdv.tcl". See ``1aomdv.diff´´. And furthermore, the file has DOS (Windows©) characters, not usable as is in a Unix/Linux environment. ( Easily fixed with $ dos2unix :) ) When edited, no issues : $ ns aomdv-Nindu.tcl .. The files ns.trc 213 MB, scenario.trc 1.5 kB are created. Edited to include {Exponential and Pareto} : $ ns aomdv-Pareto.tcl OK, ns-P.trc 213 MB, scenario-P.trc 1.5 kB - |
thanx sir for ur reply :)
in file ns aomdv-Pareto.tcl all traffics(cbr/pareto/exponential) are enabled & it gives the output for cbr traffic but i want to find output (using different parameters like pdf.awk, genthroghput.awk etc) for pareto traffic . like i said in post no 1 . plz help...... |
plz reply sir...
|
example TCL file for your problem
Quote:
http://wpage.unina.it/arafatur.rahman/D2CARP.html |
All times are GMT -5. The time now is 08:26 PM. |