LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-27-2013, 10:12 AM   #1
splasher
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Rep: Reputation: Disabled
Hybrid Routing Protocol beside ZRP can work on ns-2


Hello guys !

I have a task from my college, the task is to compare the ZRP Routing protocol with other hybrid routing protocol.

I want to ask, is there any hybrid routing protocol beside ZRP that can be run in ns2? like HARP, ZHLS, etc.

If there is any, can you give me the source code along with the patch routing protocol and explain to me how to run the patch?

Thanks you all for your advice
 
Old 06-27-2013, 12:23 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

Hybrid Routing Protocol
http://www.techopedia.com/definition...g-protocol-hrp

OLSR + ZRP : OK, https://groups.google.com/forum/?fro...rs/JJVNvTnAdXY
umolsr+zrp-ns233-patched-1.tar.bz2 >
> https://docs.google.com/file/d/0B7S2...it?usp=sharing

P2P : p2p-Zeta-ns234-patch.tar.bz2
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

Last edited by knudfl; 06-27-2013 at 12:28 PM.
 
Old 06-27-2013, 11:31 PM   #3
splasher
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I think i use umolsr+zrp-ns233-patched-1.tar.bz2

I have installed ZRP in ns 2.33 from your tutorial in here

Then how about umolsr? should i installed it at ns 2.33 same ns for ZRP?
can you give me a installation guide for umolsr?

______________________________________________________________________________

NB: Can Sumo work perfectly in 2.35? can you give me a guide?

thanks for ur advice
 
Old 06-28-2013, 05:31 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

If you want write a tcl script that compares something olsr / zrp,
you will have to use an executable 'ns' containing both protocols.
That's the idea with "umolsr+zrp-ns233-patched-1.tar.bz2" :
Unpack another ns-allinone-2.33.tar.gz to a new directory.
The combined build can also be used for all olsr and all zrp examples.
There seem to be no conflicts.

An UM-OLSR only build : Several ns2 versions can be used.
Patches for ns.2.29 ns-2.33 ns-2.34 ns-2.35 are included in um-olsr-1.0.tgz.
A separate ns-allinone-2.xx/ should be used.
This is the ns-2.35 example, ref.
https://groups.google.com/forum/?fro...rs/JJVNvTnAdXY
$ cd ns-allinone-2.35/ns-2.35
$ tar xvf um-olsr-1.0.tgz
$ ln -s um-olsr olsr
$ patch -p1 < olsr/um-olsr_ns-2.35_v1.0.patch


About sumo / ns-2.35 : I don't know.
Maybe try out sumo with the version suggested in the documentation ?
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.

LQ , olsr http://www.linuxquestions.org/questions/tags/olsr/
LQ , zrp http://www.linuxquestions.org/questions/tags/zrp/

-
 
Old 06-28-2013, 12:16 PM   #5
splasher
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you very much knudfl.

one more question, do you know HARP (Hybrid Ad Hoc Routing Protocol) ?
Does HARP work perfectly in network simulator ?
Can you give me a code or algorithm of HARP maybe ?

Thanks for your advice
 
Old 06-28-2013, 03:30 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

I did a Google .. ns2 HARP .. ( and Google .. ZHLS .. )
yesterday, when post # 1 appeared : No luck.
But please see for yourself.

Google .. ns2 HARP code .. : One hit, and that's this very thread.
Google .. ns2 HARP protocol : One ( 1 ) more valid hit (total=3)
http://www.ijcaonline.org/manets/number4/SPE67T.pdf
""These simulations are carried out using the ns-2 network simulator.
The results .. routing (ZHLS) [9] and Hybrid Ad hoc Routing Protocol (HARP).""

(( For a comparison, Google .. ns2 zrp protocol .. : 19,000 hits.))

49 hits : Google .. ns2 "Hybrid Ad hoc Routing Protocol" .. :
https://www.google.com/webhp?hl=all#...w=1251&bih=784
A good one here →
http://wpedia.goo.ne.jp/enwiki/List_...ting_protocols

-
 
Old 07-01-2013, 12:40 AM   #7
splasher
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Link to site HARP in here not found

Can you help me make patch HARP for ns2 from this paper? HARP Paper and DDR Paper
What steps should I take to make a patch HARP based on that paper?

Thanks for your advice
 
  


Reply

Tags
ns2, p2p-ns2, umolsr_and_zrp, zrp_and_olsr



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
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 04:52 PM.

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