Here is my TCL script to running AODV-UU in ad hoc hybrid network scenario using NS-2.34 and AODV-UU-0.9.6.
#======================================================================== # ABDUSY SYARIF # AODV DESIGN # Februari 2011 #======================================================================== set opt(namfile) nam_aodv_out.nam set opt(tracefile) uu-trace-new-aodv_m5_h2.tr set val(chan) Channel/WirelessChannel; #channel type set val(prop) Propagation/TwoRayGround; #radio-propagation model set val(netif) Phy/WirelessPhy; #network interface type set val(mac) Mac/802_11; #MAC type set val(ifq) Queue/DropTail/PriQueue; #interface queue type set val(ifqlen) 50; #max nbr of packets in ifq set val(ll) LL; #link layer type set val(ant) Antenna/OmniAntenna; #antenna type set val(adhocRP) AODVUU; #routing protocol in used set val(x) 1000; #x dimension of the topography set val(y) 800; #y dimension of the topography set val(stop) 500.0; #simulation time set val(mobility) "/home/abdusy/Documents/aodv-simulation/mobil5_4" set val(start-src) 1 set val(stop-src) 500 set nbrOfWirelessNodes 5 set nbrOfWiredNodes 4 set nbrOfGateways 2 set val(gw_discovery) reactive; #gateway discovery method .... The full tcl script you can download here.
It抯 actually a nice and useful piece of info. I am glad that you shared this helpful information with us. Please keep us informed like this. Thanks for sharing.
Hi there to every one, it’s really a fastidious for me to go to see this web page, it contains helpful Information.
Hi Sir.
How to determine the average speed of only neighbor node in aodv.cc file using ns2. and how to count the only number of neighbor node?
Hi, this weekend is good in support of me, because this point in time i am reading this great educational piece of writing here at my home.
Hi sir, how can I porting in Ubuntu?
I had the same problem… “Wrong node routing agent”. I saw that I have to install Wimax… It’s correct? Sorry… I’m novate. Thank you!
Hi, It seems that you aren’t recompiling the NS2 correctly. Please be sure that you don’t have any error while executing “make clean && make”.
hii sir i want to know the aodvuu mobility file you mentioned source mobility in aodvuu as “/home/abdusy/Documents/aodv-simulation/mobil5_4”. . i have used setdest function as you told but didnt get output. so kindly try to send the source for mobility .it will be very useful for me sir
Hi,
You can create your own by using setdest. Go to directory ns-2:
$ cd /home/user/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest
$ ./setdest -v 2 -n 10 -s 1 -m 10 -M 50 -t 30 -P 1 -p 1 -x 500 -y 500 > mobil5
I blog frequently and I truly thank you for your content. Your article has really peaked my interest. I will take a note of your website and keep checking for new details about once per week. I opted in for your RSS feed too.
Pls sir or ma, i run other tcl script but when it comes to tcl script for manet routing protocols it was not going. Pls, what can i do to make this tcl script run as others.
Hi Sir or Ma, my name is Ajibesin Caleb Adejare. I run your tcl script AODV-UU in Ad-hoc hybrid network. But it complain of the following:
num_nodes is set 7
invalid command name “-llType”
while executing
“-llType $val(ll) ”
(file “y.tcl” line 89)
Pls Sir or Ma, how will i make correction of this. Kindly, help me out sir or ma.
I like what you guys are usually up too. This type of clever work and coverage! Keep up the great works guys I’ve added you guys to my personal blogroll.
I want AOMDV patch file so if some one having pls give me
how to trace aodv.tcl
Terima kasih pak sudah me replay,
Sebagai contoh, saya akan menambahkan jalur alternatif pada pengiriman paket RREP, pada file mana yg saya modifikasi? dan juga mengubah format paket RREP seperti format paket RREQ nya pak
Mohon pencerahannya pak, terima kasih
Having read this I thought it was very informative. I appreciate you taking the time and effort to put this short article together. I once again find myself spending way too much time both reading and leaving comments. But so what, it was still worth it!
Perkenalkan Pak, saya sakha
share yang sangat bermanfaat pak, saat ini saya sedang menyelesaikan skripsi dgn topik modifikasi AODV, saya masih bingung, kalau kita memodifikasi protokol AODV, files yang mana yang harus nya dimodifikasi (aodv.h, aodv.cc, etc)? dan darimana kita harus memulai memodifikasi?
Mohon pencerahannya pak, terima kasih
Hi Sakha,
Yup, Anda bisa mulai memodifikasi AODV hanya pada kedua file utama (aodv.c/h). Tentukan terlebih dahulu bagian mana yg akan dimodifikasi. Sebagai contoh mungkin Anda bisa banyak belajar dari blog Elmurod (http://elmurod.net/index.php/2009/10/24/adding-malicious-node-in-aodv/).
Terima kasih. Saya juga sedang usaha untuk modify AODV files. AODV routing depends on 2 main metrics – hop count and also sequence number. If I were to change the sequence number into other metric, is it possible? For example, change it with node degree (this is what my supervisor suggested). The node degree has its own calculation, do you have any idea on how to implement it? Terima kasih sekali lagi.
Hallo Mbak Wahidah Hashim,
In research, everything is possible, but I don’t the impact. I have no idea about this, because I have no experience in this part.
Good luck.
I do not even understand how I finished up here, however I assumed this submit was great. I don’t know who you might be but certainly you are going to a famous blogger if you happen to are not already. Cheers!
Hi all..
please help me, how to calculate buffer size in aodv.cc file ?!. help me, please ………..
best regard
Khozaimi
dear sir,
I want to aodv-uu patch to install in ns-2.34 .
so, can u help me?
May be happy!!!!
Regards,
khinmyo
Greetings! This is my first visit to your blog! We are a group of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a marvellous job!
Sir,
I have done patching and as per your instructions i have recompiled it. It is completed successfully. No error is generated. How to know that porting is done or not?
shruti
You can see the result from the trace file.
I don’t know if it’s just me or if perhaps everybody else experiencing problems with your blog. It looks like some of the text on your content are running off the screen. Can someone else please comment and let me know if this is happening to them too? This might be a issue with my web browser because I’ve had this happen previously. Many thanks
Sir,
I have ported aodv-uu 0.9.5 successfully on ns-2.34 but your tcl script is giving an error that wrong node routing agent. Is your tcl script run only on aodv-uu 0.9.6 ?
I have also made another tcl script for 3 mobile nodes but it is also giving an error for ragent_ .
Sir, please guide me.
Hoping for the positive response.
Regards,
Shruti
“Wrong node routing agent” means you didn’t complete porting aodv-uu.
Sir,
I am working on hybrid network on ns2.34. Your tcl script is really helpful for me to set the scenario.
Sir, I want to know what to give in source (mobility). You have defined it as:
“/home/abdusy/Documents/aodv-simulation/mobil5_4”.
It will be very helpful if you could please send me the code for mobility. I will be very grateful to you.
Hoping for the positive response.
Regards,
Shruti
You could make your own mobility scenario using ‘setdest’.
Hi,
I wonder that if you have that file already? I’m working on it and still not figure out of the mobility file.
If you don’t mind, can you send me that file?
Thanks.
email: phong4sp@gmail.com
It’s awesome to pay a visit this web page and reading the views of all friends about this post, while I am also keen of getting familiarity.
hi,
Can you send me the tcl script for wormhole removal in AODV protocol.
pls its urgent..
dear sir,
I am in need of a multicasting code for manet, plz can u help me with it sir.
Dear Sir/Madam
when i run the code of aodv that tcl file shown error mentioned blelow
[root@localhost imran]# ns a.tcl
num_nodes is set 7
Wrong node routing agent!
[root@localhost imran]#
Please tell me how to solve this problem
You need to porting and recompile AODV-UU into NS-2.
Simply desire to say your article is as astonishing. The clearness to your put up is just nice and i could think you’re knowledgeable on this subject. Well with your permission let me to seize your RSS feed to stay up to date with drawing close post. Thanks one million and please continue the rewarding work.
Thanks for reply.
Can you guide me more please….I have done it in Omnet, my problem in Omnet is RREQ that should be sent to neighbors to find the route, but it sends to all nodes.That’s why I want to check ns2.
Hi, I looked at your AODV-UU, that was great. Well I need your help to run it, I get an eror “wrong routing protocol”, can you please help me to run your code?
you should check your tcl script and recompile NS-2 with AODV-UU.
do you have simpler code like 2 nodes only, without the hierarchical scenario….
i try to run aftyer successfully installed it (no error), but just that i changed in ns-2.34/tcl/ex/simple-wireless.tcl from DSDV to AODVUU, it does not work…
hi
can you tell me how to write tcl script for showing local repair in AODV
plz its urgent
hey i have been following your blog lately, you have done some great work in NS2. i am too working on it and i need some help. there is an energy model available in ns2, do u know the tcl script that i should run to get the results from it
Appreciation to my father who informed me about this web site, this website is genuinely amazing.
If you want to run a simulation, you need to make your own tcl script. But if you want to modify the AODV, you need to modify some files in ns-allinone-2.xx/ns-2.xx/aodv, such as aodv.h, aodv.cc, etc.
hi,
i am using ns2.35 and workin on energy efficient AODV protocol. but for energy efficient in which aodv file i have to modify sir help me . .
Hey! This is my first comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading your posts. Can you suggest any other blogs/websites/forums that cover the same subjects? Thank you so much!
I need to to thank you for this good read!! I definitely enjoyed every bit of it. I’ve got you saved as a favorite to check out new things you post…
hi,
I am working on ns-2.29 and i am implementing an energy efficient AODV protocol. There is the code available for AODV in usr/local/ns-allinone-2.29/ns-2.29/aodv/..
I dont know which tcl script to run the code. I would be really grateful to u if u could help me out
thanks
Hey! I understand this is kind of off-topic however I needed to ask. Does running a well-established website like yours require a large amount of work? I am completely new to blogging but I do write in my diary daily. I’d like to start a blog so I can easily share my own experience and feelings online. Please let me know if you have any recommendations or tips for brand new aspiring bloggers. Thankyou!