This patch is designed for ns-allinone-2.33.
Contributed by: Chirag Raval
Download NS-2.33-AOMDV-Multiple-Interface.patch
Following are the steps to be followed to apply above given patch to ns-2.33:
1. Download ns-allinone-2.33.tar.gz
2. Download NS-2.33-AOMDV-Multiple-Interface.patch
3. Unzip ns-allinone-2.33.tar.gz. You will get a folder named ns-allinone-2.33.
4. Paste the downloaded patch in this folder.
5. Give the following command:
patch -p1 < NS-2.33-AOMDV-Multiple-Interface.patch
6. Then give ./install
If you have already installed copy of ns-allinone-2.33 then follow the below given steps to apply multi-interface patch.
1. Paste the downloaded patch in ns-allinone-2.33 folder.
2. Give the following command:
patch -p1 < NS-2.33-AOMDV-Multiple-Interface.patch
3. Go in ns-allinone-2.33/ns-2.33 directory.
4. Give the following commands:
./configure
make clean
make
make install
You are done with it!
Example TCL scripts to verify the working of this patch are similar to that of TCL Scripts provided for Multi Interface DSDV patch. You need to replace DSDV by AOMDV in TCL Scripts. Scripts can be downloaded from the following link:
Kindly Note: The
tcl scripts having "mesh" word in their name are the scripts designed
with multiple interfaces. Others are designed with single interfaces. To
verify the working of multiple interfaces, two awk scripts are also
provided in the folder.
A tcl script named im3pmanual.tcl is a tcl script wherein nodes have
different number of interfaces assigned to them whereas, other tcl
scripts designed with multiple interface are designed such that all the
nodes in the network have equal number of interfaces.
If you encounter any problem in downloading the patch from the link given above, please follow this link:
If you encounter any problem in downloading example tcl scripts, please follow this link:
Hope it helps.
Regards,
Mohit P. Tahiliani