NS2 - AODV & OLSR - Ubuntu
Hello everyone
My very first post here on this website. I am due an assignment soon and I'm assumed that i'll finish it off in the end never realizing that it would be a pain in the back. Now, I'm wanting to do a performance comparison between AODV & OLSR and cover some basics metrics like throughput, jitter, eed, under NS2 and am using Ubuntu. Now, I found this software called 'NS2 Scenario Generator' who basically generates the tcl scripts for you which obviously would me amazing as I have very little knowledge in Programming but the only problem I'm having with this software is that it only does Proactive protocols, so it supports AODV but not OLSR. So I'm really confused on what to do and how to do it? And I wan't to be very open and honest, I have not got much time left to finish this off and this is like a big thing for me as if I don't do well in this assignment this will be the end of the world for me. Like literally. So, I'm looking for some suggestions on how can I solve this problem? Thanks, much appreciated! David |
1 Attachment(s)
Welcome to LQ.
"ns2" : Lots of hard work. It's like "A week to learn building ns2" and "Three months to learn how to use ns2". There is no "AODV" in the OLSR examples that I know. * Which "NS2 Scenario Generator" are you using ? All files.tcl can be edited. They are plain text files. You can add what you want. ( And sometimes it will also work.) OLSR info at LQ http://www.linuxquestions.org/questions/tags/olsr/ - |
Quote:
Thanks for your reply. I can understand that it is a lengthy process to go through from that but I barely got 2 weeks or so to get this done. I feel such an idiot that I left it all till the end. I have learned my lesson now seriously I'm so furious at this time. As I said my assignment is not something nobody has ever done it before, as I can find numerous examples online meaning so much papers, articles published online who have already done this and are very similar to what I am doing but obviously none of of them explains on HOW TO DO IT? Meaning the whole process to get to that stage. The software I'm talking about is the first hit if you google "NSG2" "TCL Script Generator" but here's the link anyway: https://sites.google.com/site/pengjungwu/nsg I mean from what I can understand is that I would do the AODV protocol experiments separate from the OLSR and then compare the output files received from each protocol by using xgraph, but I can't really seems to find an way to do this. Also I have already been through the link you supplied, but nothing really matches there to my problem. Thanks anyway! |
When you add "um-olsr" to ns2, you actually have both protocols present,
but I'd neither know how to compare aodv+olsr in one simulation file.tcl . But anyway lots of hits with Google .. compare aodv and olsr routing protocol .. https://www.google.com/webhp?hl=all#...tocol&start=10 And Google .. ns2 compare aodv and olsr .. https://www.google.com/webhp?hl=all#...+aodv+and+olsr → http://www.ijceronline.com/papers/Vo...O023704711.pdf "Simulation is used to compare the performance of AODV, OLSR and .." → http://www.slideshare.net/mehedi480/...-olsr-protocol "Comparison Between AODV and OLSR." ... etc. etc. - |
Quote:
And, I don't want to just copy paste somebody else's work for the sake of my assignment. I really wan't to do it on my own and then know how to do it and obviously emend it according to my requirements. That's why I posted this on this forum to see if anybody knows the steps involved for this assignment. |
OLSR patch 2.35 in Ubuntu 10.04
Hi everyone,
After the successful installation of ns2, I was trying to download the olsr protocol from this website: http://www.nsnam.com/2013/11/olsr-pr...s-235-ns2.html Once I do "/.configure" it comes up with this: Code:
I do "/.configure" it comes up with this: |
# 6 .
The original file(s) http://sourceforge.net/projects/um-olsr/ `ns-2.35' : You will have to be lucky to use "./configure'. I.e. ns-2.35 has a less advanced build system than ns-2.26 ..ns-2.34 . The safe way is to go to the top directory, and do "./install". ** There is an Ubuntu example here, post #11 : http://www.linuxquestions.org/questi...4175490225/#11 → → Start from scratch (tar xvf ns-allinone-2.35.tar.gz) ,,, or do a 'make distclean' in ns-allinone-2.35/ns-2.35/ . When the um-olsr/ olsr/ is in place, and the patching has been done, change to the topdirectory "ns-allinone-2.35/" and use : $ export CC=gcc-4.4 CXX=g++-4.4 && ./install ? Any questions ? Then please specify your OS : a) $ uname -m <Enter> b) The name and version of your OS. - |
Hi,
I have successfully managed to get OLSR working in NS2. Now, the situation is, I have a tcl file for AODV & a tcl file for OLSR, which both seems to be working fine. As I can get 2 output files from both Protocols, 1 is ".tr" file and another is ".nam" file. Also, I have also got some awk scripts for Jitter, Throughout, PDR and etc. Now, I'm absolutely confused on what to do and how to do? Would anyone be able to tell me the steps I have to do in order to finish off with this assignment please? Thanks, Also, some list of commands would be really really appreciated. Thanks again! |
Jitter - Getting No Values
Hello everyone
Somehow after reading through a good number of threads, links and everything I have managed to get 70% of this assignment done. But now I'm stuck on calculating Jitter. When I use the awk script for calculating Jitter, it terminals prints me this: Code:
# flow flowType src dst time jitter1 jitter2 jitter3 jitter4 Does anyone know what this is and why I'm getting it? Thanks for all your support, just need to get this sorted out and that will be pretty much with this. Thanks again everyone! |
1 Attachment(s)
# 9 .
Assume $ awk -f instantJitter.awk out.tr Quote:
The script will print the 8 coloms, flow .. .. jitter1 jitter2 jitter3 jitter4, .. and use those coloms to print any output. ( If any output at all.) I didn't find an olsr example that showed any "jitter output" with any awk script. A good jitter example (LTE) : A) $ ns-lte eyana.tcl B) $ awk -f instantJitter2009.awk out.tr ... Or B1) $ awk -f instantJitter2009.awk out.tr > y-jitter.txt ... to save the 5,000 lines jitter text ( 450 kB ! ). ? Did you test your .tr file with $ awk -f avgStats.awk out.tr "awk_scripts_03.2014.tar.bz2" https://drive.google.com/file/d/0B7S...it?usp=sharing - |
Dear knudfl
I do the awk -f e2e.awk out.tr and also I did gawk -f e2e.awk out.tr the result for both is awk: e2e.awk:17: (FILENAME=olsr_500.tr FNR=1219729) fatal: division by zero attempted ht@hts gawk: e2e.awk:17: (FILENAME=olsr_500.tr FNR=1219729) fatal: division by zero attempted ht@hts please can you help to solve this problem note\\ for all the awk script (https://drive.google.com/file/d/0B7S...it?usp=sharing) #10 have the same error for the resulte thanks |
# 11 .
"e2e.awk" : `end to end delay´ ? Why not try all the others ? ? Note : Some trace files have combinations of figures that will show "division by zero attempted". List : delay.awk, delay-e2e.awk, e2edelay.awk, en2end-delay.awk, end-to-end.awk, Endtoenddelay.awk, End-to-End-Delay.awk, tess-delay.awk. ... You can also modify a script to fit your needs. Latest scripts package : awk_scripts-05.2014.tar.bz2 https://drive.google.com/file/d/0B7S...it?usp=sharing - |
All times are GMT -5. The time now is 10:20 PM. |