LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2014, 03:15 AM   #1
pqr
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
installation of zrp routing protocol


hi. i want to find the zrp installation patch in ns2.35 on fedora 16...plz help me
 
Old 02-19-2014, 08:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Why ns-2.35 ? Not easy to install in Fedora 16.
(Can be done with the "long term supported version of Fedora 12" = CentOS 6.5 ).

The available ZRP code is for ns-2.33 :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But do not add any *PATH text to .bashrc !

Fedora :
1) $ tar xvf ns-allinone-2.33.tar.gz
2) $ cd ns-allinone-2.33/
3) $ tar xvf zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
4) $ export CC=gcc34 CXX=g++34
5) $ ./install
6) $ cd ns-2.33/
7) $ cp ns ns-zrp
8) $ su <enter-root-password>
9) # cp ns-zrp /usr/local/bin/
... Then you can do : $ ns-zrp <example>.tcl
... from zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing

* ZRP info at LQ http://www.linuxquestions.org/questions/tags/zrp/

-
 
Old 11-26-2014, 12:59 AM   #3
skapoor
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
I want to make a hybrid routing protocol. But I don't know on which protocol i should work.Then I need some scripts of Hybrid routing protocols so as to run in ns2 and get an idea about them. Hope i will get some sol.
 
Old 11-26-2014, 02:39 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #3, @skapoor : Welcome to LQ.

ZRP is a hybrid protocol. And probably the best documented ?
The ZRP code will work with ns-2.33, ns-2.34, ns-2.35.
Patches :
zrp-diff2014_ns233.patch, zrp-ns234.patch, zrp-ns235.patch.
Latest : http://www.linuxquestions.org/questi...-4175526171/#2 → #2

-
 
Old 11-26-2014, 11:55 AM   #5
skapoor
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
swati@swati-Aspire-5738:~/zrp-examples$ ns zrp-Demo2-1.tcl
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "
(file "zrp-Demo2-1.tcl" line 17)

i am facing this Agent-ZRP problem in every script i run.Plz help meto solve this problem
 
Old 11-26-2014, 12:25 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #5 .

If you added a zrp patch to ns-2.33, ns-2.34, ns-2.35,
.. then you are either using a wrong 'ns',
or you have a failed build of ns2+zrp.

About $ ns zrp-Demo2-1.tcl :
You are not supposed to use plain 'ns'.
Please use a copy of the zrp patched 'ns', to a new name :
$ cp ns ns-zrp ( Or any naming you may prefer.)
$ sudo cp ns-zrp /usr/local/bin/
Then it is : $ ns-zrp zrp-Demo2-1.tcl

Any questions : Tell what you have done ...
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://linuxsilo.net/docs/smart-questions_en.html

-
 
Old 02-16-2015, 12:15 AM   #7
skapoor
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
hello. I want to run a traffic generation scenario in zrp protocol. please provide me some scripts that can run without the zrp patch installation
 
Old 02-16-2015, 06:26 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← ref. #7.

How do you expect to run a zrp simulation in a simulator with no ZRP ?
Please explain.

Besides that, a ZRP patched ns-2.33 ns-2.34 ns-2.35 will not disturb other protocols.
And : ZRP can also be added simultaneously with other added protocols.
Example : UM-OLSR + ZRP.


-
 
Old 02-16-2015, 10:34 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,805

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by skapoor View Post
hello. I want to run a traffic generation scenario in zrp protocol. please provide me some scripts that can run without the zrp patch installation
No, thanks...you need to read the 'Question Guidelines' link in my posting signature. Also, read the LQ Rules about opening your own thread for your own question...you re-opened an old thread, and hijacked it with your own quesiton.

We will be happy to HELP you, but we aren't going to write scripts for you, or look things up for you. Asking for handouts without showing ANY effort of your own is not only very rude, but VERY LAZY as well.
 
Old 04-14-2015, 03:11 AM   #10
shruti0753
LQ Newbie
 
Registered: Feb 2015
Posts: 4

Rep: Reputation: Disabled
Hi
i need to implement ZRP protocol in vanet scenario in ns2.33. Is there any patch file to simulate ZRP in vanet. Can i make changes in the available patch(In manet patch). If so tel me how can i modify it?
 
Old 04-14-2015, 08:06 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,805

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by shruti0753 View Post
Hi
i need to implement ZRP protocol in vanet scenario in ns2.33. Is there any patch file to simulate ZRP in vanet.
Yes, see post #9.
Quote:
Can i make changes in the available patch(In manet patch).
Yes, you can make whatever changes you want in code that's on your system.
Quote:
If so tel me how can i modify it?
Open whatever file(s) you'd like in an editor, and change them.

Seriously, your entire question isn't something we can answer. You can look up and find the ZRP source easily with a Google search, so asking us to look it up isn't nice. And asking IF you can make changes to a file on your own system is a very obvious "yes", and as far as telling you how to modify it, that also doesn't have an easy answer. You modify a source file with an editor...WHICH editor is up to you. WHAT you change depends on what you want the new program to do.
 
Old 04-14-2015, 08:55 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #10.

http://read.pudn.com/downloads155/so...netrbc_ns2.pdf
"" VANET-Skeleton for ns2 "".

VanetRBC info http://www.linuxquestions.org/questions/tags/vanetrcb/
 
  


Reply

Tags
ns2, zrp, zrp#2, zrp-fedora


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install ZRP (Zone routing protocol) patch in ns-2.34 hassan329 Ubuntu 225 03-24-2018 06:58 AM
How to install ZRP (Zone routing protocol) patch in ns-2.35 dmaa Linux - Software 42 01-09-2016 05:19 PM
ZRP Routing Protocol Simulation VANET on SUMO splasher Linux - Software 1 07-30-2013 02:44 AM
Hybrid Routing Protocol beside ZRP can work on ns-2 splasher Linux - Software 6 07-01-2013 12:40 AM
Zone Routing Protocol (ZRP) ttungl Linux - Newbie 0 04-02-2012 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration