Showing posts with label ZRP protocol Download. Show all posts
Showing posts with label ZRP protocol Download. Show all posts

Friday, 15 March 2013

Installing ZRP protocol in NS2

  •             The general suggestion is not to use Ubuntu 11.10 (or 11.04) for NS2.
If you must use Ubuntu, then version 10.04 will do. The default OS for ns2 is CentOS 5.7
( All ns2 versions were created and tested on CentOS / RHEL.)

 But : You can have as many versions of ns2 as you want, installed at the same time.
Just do not add any of them to a PATH*.

  •               No ns-2.33 or any other version ns-2.27.....2.34 can be installed on Ubuntu 11.10.



Steps
-------
1-  First  put (ns-allinone-2.33_ZRP.tar.gz , PatchZRP.patch and patchmyZRP.sh) in Ns-allinone-2.33 directory.

2-  Give this command:  cd ns-allinone-2.33/ && patch -p1 < PatchZRP.patch

3- Give this one:  touch ns-2.33/common/packet.h && touch ns-2.33/trace/cmu-trace.h

4- Go to Ns-allinone-2.33 and give this command: tar xvf ns-allinone-2.33_ZRP.tar.gz

5- Go to Ns-allinone-2.33/ns-2.33 and I give this: make -k