A clarion call for help with R-aodv tcl file

70 views
Skip to first unread message

akinnifes...@gmail.com

unread,
Mar 13, 2019, 1:37:13 PM3/13/19
to Network Simulator 2 (NS2)
Good day everyone... Am pleased to join this group. I'm M.Sc project student working on a research that requires Reverse-AODV (R-AODV) protocol. I need R-aodv tcl file to run simulation on ns 2..35. I will be grateful if gurus in the house could bail me out as my project deadline is fast approaching. Thank you.

knudfl

unread,
Mar 13, 2019, 6:21:03 PM3/13/19
to Network Simulator 2 (NS2)
Hi.


Please be aware that "Randomized AODV" is also called RAODV or R-AODV.

akinnifes...@gmail.com

unread,
Mar 15, 2019, 11:12:18 AM3/15/19
to Network Simulator 2 (NS2)
Any link to the R-AODV tcl file?

akinnifes...@gmail.com

unread,
Mar 15, 2019, 11:14:02 AM3/15/19
to Network Simulator 2 (NS2)
Scholar knudfl, am highly grateful for your prompt and helpful response.


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

knudfl

unread,
Mar 15, 2019, 1:03:46 PM3/15/19
to Network Simulator 2 (NS2)
»» Any link to the R-AODV tcl file? «« :  The example I once used for test (aodv-101.tcl) is attached.

My test
$ ns229-RAODV-reverse aodv-101.tcl
num_nodes
is set 102
.
INITIALIZE THE LIST xListHead
channel
.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_
= 1.5,  distCST_ = 156.7
SORTING LISTS
...DONE!
The files AODV_50.tr 15.7MB  , namwrls.nam 6.8MB are created.

Looks like any AODV ex can be used ?

knudfl

unread,
Mar 15, 2019, 1:06:03 PM3/15/19
to Network Simulator 2 (NS2)
Random-aodv__ex.tar.gz  attached.




On Friday, March 15, 2019 at 4:12:18 PM UTC+1, akinnifes...@gmail.com wrote:
Random-aodv__ex.tar.gz

akinnifes...@gmail.com

unread,
Mar 15, 2019, 1:29:55 PM3/15/19
to Network Simulator 2 (NS2)
Great job sir! Could you help me reduce the number of nodes to 20.


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

akinnifes...@gmail.com

unread,
Mar 15, 2019, 1:30:45 PM3/15/19
to Network Simulator 2 (NS2)
...So that I will not fault the mechanism


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

knudfl

unread,
Mar 15, 2019, 4:37:28 PM3/15/19
to Network Simulator 2 (NS2)
"aodv-101.tcl"  is a copy of  `aodv-50.tcl´ edited to    set val(nn) 102  ; # (nn is number of nodes)
aodv-50.tcl :  See  AODV-examples-01.18.tar.gz .

For 20 nodes please use "aodv-20.tcl",  also in  AODV-examples-01.18.tar.gz .

akinnifes...@gmail.com

unread,
Mar 20, 2019, 5:48:10 AM3/20/19
to Network Simulator 2 (NS2)
Good day great scholars... I need a mechanism for per hop (sequential) routing in multipath routing

akinnifes...@gmail.com

unread,
Mar 20, 2019, 5:52:00 AM3/20/19
to Network Simulator 2 (NS2)
Please, help a friend! I need a Mechanism that can transmit packet sequentially in R-AODV protocol (Multiparty)

knudfl

unread,
Mar 20, 2019, 11:00:10 AM3/20/19
to Network Simulator 2 (NS2)
Multiparty :  Do you mean ....
multi-interface ?
multi  node-config ?
multipath ?
multistage ?



Akintunde Akinnifesi

unread,
Mar 22, 2019, 3:56:46 PM3/22/19
to ns-u...@googlegroups.com
Good day Scholar Knudfl... Multipath I mean

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.

akinnifes...@gmail.com

unread,
Mar 22, 2019, 4:45:27 PM3/22/19
to Network Simulator 2 (NS2)
I want to simulate AOMDV protocol to enable multipath for data transmission and add blackhole to the first path... Please sir, how do I go about it. Can I get the tcl file for AOMDV?


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

knudfl

unread,
Mar 23, 2019, 7:08:28 AM3/23/19
to Network Simulator 2 (NS2)
blackholeaodv2013-ns234-files-1.tar.gz

akinnifes...@gmail.com

unread,
Mar 26, 2019, 4:50:51 AM3/26/19
to Network Simulator 2 (NS2)
Thank you sir. God bless you real good. You've always been so supportive.

akinnifes...@gmail.com

unread,
Mar 26, 2019, 5:12:07 AM3/26/19
to Network Simulator 2 (NS2)
Can it run on NS2.35? What next after unzipping the folder?


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

knudfl

unread,
Mar 26, 2019, 9:28:25 AM3/26/19
to Network Simulator 2 (NS2)
@akinnifes...@gmail

A [file].zip can be unzipped.   Files.tar , files.tar.gz  can be uncompressed with $ tar xvf

»» Can it run on NS2.35 «« :  The word "it" without a file reference doesn't say anything.
Besides that :  No c++ code can "run" in this context = A Linux OS + ns2.

If you mean "blackholeaodv2013-ns234-files-1.tar.gz" :
Code can be edited, see blackholeaodv2013-ns235_1.patch .
"blackholeaodv2013-ns234-files-1.tar.gz" results in blackholeaodv2013-ns234_4.patch
→  with $ diff -Naur ns-2.34-orig/ ns-2.34/ > blackholeaodv2013-ns234_4.patch

blackholeaodv2013-ns234_4.patch was applied to ns-2.35/,  a few edits were done
→ and the patch created :  $ diff -Naur ns-2.35-orig/ ns-2.35/ > blackholeaodv2013-ns235_1.patch

`blackholeaodv2013-ns234-files-1.tar.gz` was attached to show a different reading format from the patches:
blackholeaodv2013-ns234_4.patch and blackholeaodv2013-ns235_1.patch

Akintunde Akinnifesi

unread,
Mar 27, 2019, 7:06:19 PM3/27/19
to ns-u...@googlegroups.com
Good evening Scholar Knudfl. Sir, can you help me with the patch that will enable multipath data transmission for this attached files:


--
2worm14.tcl
15worm-16.tcl

knudfl

unread,
Mar 27, 2019, 10:39:33 PM3/27/19
to Network Simulator 2 (NS2)
@Akintunde Akinnifesi ,  Hi.

... "Currently, only DV routing can generate multipath routes".

[ex-wormhole-1]$ ./ns229-RAODV-reverse 15worm-16.tcl :   OK
[ex-wormhole-1]$ ./ns229-RAODV-reverse 2worm14.tcl :      OK
I.e. the two mentioned files will probably run as is with the most ns-name executable´s. I.e. i.e. with the most patches.

DV-examples-6.tar.gz are attached.

Other "Multipath" :  LOMDD, MDART.  See attachments : The "MDART script.tcl, LOMDD.txt .
MDART is default in ns-2.35 .
Note : I currently know no simulation examples for LOMDD.



DV-examples-6.tar.gz
TextFile-LOMDD.txt
MDART_script.tcl

akinnifes...@gmail.com

unread,
Apr 1, 2019, 7:52:43 AM4/1/19
to Network Simulator 2 (NS2)
Good day scholar knudfl... What's DV? Do you mean distance Vector?


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:

knudfl

unread,
Apr 1, 2019, 10:50:15 AM4/1/19
to Network Simulator 2 (NS2)

$ cd ns-2.35/tcl/lib/
$ grep
-n DV *
.
.
ns
-packet.tcl:120:      rtProtoDV       # distance vector routing protocol
.
.
... As you know from `DV-examples-6/´ , the examples have like "$ns rtproto DV"

akinnifes...@gmail.com

unread,
Apr 7, 2019, 11:40:00 AM4/7/19
to Network Simulator 2 (NS2)
Good day Scholar Knudfl, I need your help... I kept on getting this error: "E: Unable to locate package xgraph" each time I try to install xgraph on my ns-2.35 on ubuntu 18.04. I need xgraph to be installed on my system for the interpretation of my tracefile. My defend is next week. Please, help me.


On Wednesday, March 13, 2019 at 5:37:13 PM UTC, akinnifes...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages