Amazing technological breakthrough possible @S-Logix

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • +91- 81240 01111

Social List

How to apply leach protocol in Wireless Sensor Network Using NS2?

Step 1


(i) Ubuntu 12.04, NS-2.35

(ii) Mannism patch files for NS-2.35.Click downloaded the Mannasim.tar.gz file for ns-2.35

Step 2

Integrating Mannasim with NS-2.35
(i) Install NS-2.35 using ns-allinone-.35.tar.gz

(ii) Now move the extracted “mannasim” folder inside the already installed “ns-allinone-2.35/ns-2.35”.


(iii) Copy these files and paste (replace) them in following locations:

File Copy to ns-allinone-2.35/ns-2.35/apps/
ns-process.h ns-allinone-2.35/ns-2.35/common/ ns-allinone-2.35/ns-2.35/common/
packet.h ns-allinone-2.35/ns-2.35/common/
ns-default.tcl ns-allinone-2.35/ns-2.35/tcl/lib/
ns-lib.tcl ns-allinone-2.35/ns-2.35/tcl/lib/ ns-allinone-2.35/ns-2.35/


(iv) Go to the terminal and move to the “ns-allinone-2.35/ns-2.35” directory. Now run the following commands one by one:

./ configure

make clean


apply leach protocol in Wireless Sensor Network in ns2