Search This Blog

Showing posts with label multiple interfaces in ns-2. Show all posts
Showing posts with label multiple interfaces in ns-2. Show all posts

Modified AOMDV with Multiple Interface Support in NS-2

85

Labels: , , ,

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:



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

Modified DSDV for Multiple Interface Support in NS-2

19

Labels: , , ,

The document named "Adding multiple interface support in NS-2" prepared by Ramon Aguero Calvo and Jesus Perez Campo, University of Cantabria helps to incorporate multiple channel support to the core of the ns-2 simulator.


There are few modifications required in the routing protocols such as DSDV, AODV and DSR to use multiple interface support in ns-2. Ramon Aguero Calvo and Jesus Perez Campo have modified the AODV protocol for which code is available in the document they have provided. A patch (that contains modifications in ns-2 to support multiple interfaces and modifications in AODV code) based on that document is available on this link "Revised: Adding Multiple Interface Support in NS-2" .

Based on the guidelines provided in Chapter 5 of the document we have successfully made modifications in DSDV routing protocol. The patch for the same is available on the link given below:

Download NS-2.33-DSDV-Multiple-Interface.patch


Following are the steps to be followed to apply above given patch to ns-2.33:



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-DSDV-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-DSDV-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 the patch can be found on the link given below:



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 in 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

Acknowledgements: I would like to Thank Chirag J. Raval and Vaidehi S. Panwala for extending their support in modifying the code of DSDV. They went in complete details of DSDV source code in NS-2 and have a major role in the implementation of this patch.

Very Important!!! Please Note: 
(1) The DSDV modifications are still under review and the patch has been verified with only few TCL scripts. Please report any bugs if encountered.
(2) This patch does not contain modifications to AODV routing protocol. However it includes Multiple Interface Support in NS-2 (i.e we have excluded the AODV Modifications from the code of Ramon Sir's document and included DSDV Modifications).
(3) A combined patch that includes Multiple Interface Support + AODV Modifications + DSDV Modifications will be uploaded soon with sample TCL Scripts. Thank you for co-operation. 

Revised: Adding Multiple Interface Support in NS-2

32

Labels: , , ,

After designing the patch provided in my previous blog "Adding Multiple Interface Support in NS-2", I tried to design an example tcl script (with reference to Chapter 6 in the document prepared by Ramon Aguero Calvo and Jesus Perez Campo) to verify the working of the patch.

I found few errors and later found there was a problem with mac-802_11.cc file. I have corrected the error and the modified patch can be found on the link given below:

multi-interface(ns...

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 multi-interface.patch

3. Unzip ns-allinone-2.33.tar.gz. You will get a folder named ns-allinone-2.33.

4. Paste the downloaded multi-interface.patch in this folder.

5. Give the following command:

    patch -p1 < multi-interface(ns-2.33).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 multi-interface.patch in ns-allinone-2.33 folder.

2. Give the following command:

    patch -p1 < multi-interface(ns-2.33).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 the patch can be found on the link given below:

Multi-Interface TC...

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 in 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:

http://www.mediafire.com/?au0dce1r3ct0x7t

If you encounter any problem in downloading example tcl scripts, please follow this link:

http://www.mediafire.com/?avpbigc1ynyjj7d

Hope it helps.

Regards,
Mohit P. Tahiliani

Related Blogs: 

Modified DSDV for Multiple Interface Support in NS-2

Adding Multiple Interface Support in NS-2

10

Labels: , , , ,

The document named "Adding multiple interface support in NS-2" prepared by Ramon Aguero Calvo and Jesus Perez Campo, University of Cantabria helps to incorporate multiple channel support to the core of the ns-2 simulator.

After following the instructions provided in the document I was able to implement multi-channel multi-interface support in ns-2.33.

Hence I have designed a patch depending on the above mentioned document that incorporates multi-channel multi-interface support in ns-2.33.

multichannel.patch

If you encounter any problem with above link please follow the link given below:

http://www.mediafire.com/?au0dce1r3ct0x7t

Sample tcl scripts for the same will be uploaded soon.

Hope it helps.

Regards,
Mohit P. Tahiliani

Related Blogs:

Revised: Adding Multiple Interface Support in NS-2

Modified DSDV for Multiple Interface Support in NS-2