LinuxQuestions.org
Help answer threads with 0 replies.
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 10-14-2010, 02:12 AM   #1
shweta_naik
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
help regarding routing in ns2


I want some help regarding routing in ns2.
Can anyone tell me how to change .cc file nd then recompile it.
As AODV protocol is working fine with wireless node but now i want to change some part in aodv.cc or any other like aodv.h or rtable.cc but don't where i can make change and then how to see the effect of that..

please help me i am new user so dnt know much about it.

ans sorry if i posted the thread in wrong place but i found that this must be the appropriate place to place this question.


Thank you in advance
Shweta Naik
SVNIT
Surat
 
Old 10-14-2010, 03:26 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,153
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Thumbs up

Quote:
Originally Posted by shweta_naik View Post
As AODV protocol is working fine with wireless node but now i want to change some part in aodv.cc or any other like aodv.h or rtable.cc but don't where i can make change and then how to see the effect of that..
Hi you want path of "rtable.cc" or want us to tell you where to make changes in this?

You using NS2 2.34 verison?

Are you lokking for this path ~/ns-allinone-2.34/ns-2.34/Makefile ?

If you can elaborate more we can help you better.

Please let us understand what's your exact requirement.
 
Old 10-14-2010, 03:41 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 10-15-2010, 02:22 AM   #4
shweta_naik
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
prayag

I want to make changes in that protocol but I don't know where to make changes and after that what i need to do...

Actually I am working on VANET routing so I am first trying to run the in built protocol and it was running also but sir told me to try that see what happen if you make some changes in it and then see the difference. So that i am not getting that where i need to make changes. I found all 5 file regarding protocol like .cc rtable.cc .h all but not getting that where i can make some changes... please help me out

Thank you,
Shweta Naik
 
Old 10-15-2010, 03:29 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,153
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Are you sure all these 5 files are the only required files?
 
Old 10-16-2010, 01:20 AM   #6
shweta_naik
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah i saw in one pdf to make routing protocol in ns2 in that they describe only five file bt u can add file as per your need.

please tell me if you have any idea about the programming in ns2 for routing protocol



Thank you.
Shweta naik
 
Old 10-18-2010, 04:28 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
May be have a look at
http://nsnam.isi.edu/nsnam/index.php/Contributed_Code

And you can search for 'routing'
http://nsnam.isi.edu/nsnam/index.php...=routing&go=Go

..
 
Old 10-22-2010, 02:42 AM   #8
shweta_naik
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Knudfl

Thank u bt i am not getting anything from that site..... plz help me out



Please tell me if anyone know that ... do we need to recompile the files if we change in .cc or .h file in ns2???
 
Old 04-22-2013, 02:33 AM   #9
tanmay288
LQ Newbie
 
Registered: Mar 2013
Posts: 9

Rep: Reputation: Disabled
@shweta_naik
perhaps this link will solve your problem
http://www.slideshare.net/TBear76/20100317-adding-cc
 
  


Reply


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
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 02:44 AM
weight throwing protocol using ns2 code,diffusion based protocol using ns2 code rajrupa Linux - Networking 1 05-27-2010 04:39 AM
Dynamic routing isn't done; static routing works for about 2 seconds for wireless gregorian Linux - Networking 7 02-19-2010 07:43 AM
pre routing , post routing and qos support msridhar87 Linux - Networking 0 02-13-2009 06:37 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 04:11 PM

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

All times are GMT -5. The time now is 03:21 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