LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-09-2012, 12:18 PM   #1
nithish
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
simulating AODV protocol in NS-2.35


I've downloaded and installed the NS-2.35-allinone package. I see that the package for AODV protocol is already available in the NS-2.35 folder. Can someone please help me with simulating the protocol using this package in NS2. I have a set of .cc and .h files in the AODV folder. I tried compiling them with g++ but they simply wont work. How do i get the required TCL file for these? can someone please help me.

Last edited by nithish; 03-09-2012 at 12:20 PM.
 
Old 03-12-2012, 06:18 AM   #2
nithish
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
somebody please reply

reply please
 
Old 03-12-2012, 07:16 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

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

Quote:
I have a set of .cc and .h files in the AODV folder.
I tried compiling them with g++ but they simply wont work.
Separate files cannot be compiled in ns2.
There is only one "ns binary". All objects are listed in 'Makefile.in'.

New objects can be added to Makefile.in, section OBJ_CC.
Say you have aodv20.cc aodv21.cc aodv.22.cc, then write
aodv/aodv20.o aodv/aodv21.o aodv/aodv22.o

Compiling new objects : cd ns-allinone-2.35/ns-2.35/ && ./configure
&& make clean && make : A new 'ns' will be generated.


Tcl scripts : Simply use Google .. aodv.tcl ns2 ..
Example http://enggedu.com/source_code/ns2/n...ss_network.php
( 34,000 hits.)

.

Last edited by knudfl; 03-13-2012 at 12:14 PM.
 
1 members found this post helpful.
Old 12-02-2012, 03:33 AM   #4
amani1
LQ Newbie
 
Registered: Nov 2012
Posts: 5

Rep: Reputation: Disabled
Unhappy me too

Quote:
Originally Posted by nithish View Post
I've downloaded and installed the NS-2.35-allinone package. I see that the package for AODV protocol is already available in the NS-2.35 folder. Can someone please help me with simulating the protocol using this package in NS2. I have a set of .cc and .h files in the AODV folder. I tried compiling them with g++ but they simply wont work. How do i get the required TCL file for these? can someone please help me.
hello
wish you find solution for your problem.....
what happened with you ???
actually i am in the same situation now searching for tcl codes of adhoc routing protocols because i want to evaluate the video quality over them
searching through the net i found some codes for aodv,drs,dsdc... but while running this gave me errors
plz help me if u find any solution?

regards
amani
 
Old 12-02-2012, 04:31 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4
Quote:
I am in the same situation now searching for tcl codes of adhoc routing protocols
Google .. adhoc.tcl ..
http://140.116.164.80/~smallko/ns2/adhoc_routing.htm

http://read.pudn.com/downloads95/sou...dhoc.tcl__.htm

http://code.metager.de/source/xref/c...bber/Adhoc.tcl
> http://code.metager.de/source/raw/co...bber/Adhoc.tcl

( http://www.sourcecodedownloads.com/749515/

http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/

http://abdusyarif.wordpress.com/2011...ybrid-network/
etc. etc.

.
 
1 members found this post helpful.
Old 12-16-2012, 06:05 AM   #6
amani1
LQ Newbie
 
Registered: Nov 2012
Posts: 5

Rep: Reputation: Disabled
analyzer

how did your analyze your trace file what do you recommend me to use i have ubuntu 12.10
 
1 members found this post helpful.
  


Reply

Tags
ns2


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
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 3 02-17-2015 03:21 PM
black hole attack in aodv protocol my3ram Linux - Wireless Networking 0 12-29-2011 08:29 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Where to turn SSHv1 protocol and SSHv2 protocol on and off Minnie Nguyen Linux - Enterprise 3 07-05-2006 02:12 PM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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