Menu:

My visitors map:

AOMDV protocol


AOMDV code for Ns-2 release 2.32

For a work of mine, "On Reliability of Dynamic Addressing Routing Protocols in Mobile Ad Hoc Networks", I've updated an old AOMDV (On-demand Multipath Distance Vector Routing in Ad Hoc Networks) code for Ns-2.

You can patch Ns-2 version 2.32 (and maybe previous versions) as in the following:

Open a bash shell (click here to watch how) and type at prompt:

su
cd /usr/share/ns-2.32
make clean
wget http://wpage.unina.it/marcello.caleffi/ns2/aomdv.diff
patch -p2 < ./aomdv.diff

Then you have to recompile ns, opening the bash shell and typing at prompt:

su
cd /usr/share/ns-2.32/
./configure
make
make install

You could use the following tcl file in order to simulate a static network of 16 nodes with a random data pattern:

cd
wget http://wpage.unina.it/marcello.caleffi/ns2/aomdv.tcl
ns aomdv.tcl


If you experience problems in patching Ns-2, please post your request to the ns-user mailing list!


June, 16th: minor bug solved in cmu-trace.cc. Thanks to Siddharth Khimsara for having reported to me.

April, 14th: the warning messages:

warning: no class variable Agent/AOMDV::aomdv_max_paths_
warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_

has been solved. Thanks to Pejman for having reported to me.

April, 4th: the segmentation fault error due to a bug in the ns-mobilenode.tcl file has been solved. Thanks to Siddharth Khimsara for having reported to me.