Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-14-2017, 07:26 PM
|
#1
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Rep: 
|
rumor routing implementation
hi friends,when Im executiing this tcl script 1000-wrls-rumor-a30node.tcl to implement rumor protocol i get this output but why udp agent cant find other node
INITIALIZE THE LIST xListHead
node(( 9)) send notice to <<0>> in --------------- [sendNotice]
6.50000000::node(( 9)) recv data no route and no notice sending in [rt_resolve],
node(( 5)) send notice to <<0>> in --------------- [sendNotice]
6.50000000::node(( 5)) recv data no route and no notice sending in [rt_resolve],
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
node(( 11)) send notice to <<0>> in --------------- [sendNotice]
14.50000000::node(( 11)) recv data no route and no notice sending in [rt_resolve],
Last edited by dadi1004; 04-14-2017 at 07:27 PM.
|
|
|
04-14-2017, 08:00 PM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Could you show us the script and describe the network?
|
|
|
04-14-2017, 08:54 PM
|
#3
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep: 
|
ok this is a script
Last edited by dadi1004; 04-15-2017 at 03:56 AM.
|
|
|
04-15-2017, 01:50 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
@dadi1004 : Why aren't you posting in the previous ns2 "Rumor thread"
09 Apr http://www.linuxquestions.org/questi...pt-4175603424/
... No reason to start a new thread ...
Missing information : Your OS used for doing $ ns 1000-wrls-rumor-a30node.tcl
... You already was told that the file will work with CentOS 6.9 - x86_64
http://ftp.funet.fi/pub/mirrors/cent...64-LiveDVD.iso
-
Last edited by knudfl; 04-15-2017 at 01:52 PM.
|
|
1 members found this post helpful.
|
04-16-2017, 05:01 AM
|
#5
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
|
yes Knudfl im working with CentOs 6.9 but i get thats output
Last edited by dadi1004; 04-16-2017 at 05:18 AM.
|
|
|
04-16-2017, 06:20 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Well, the output remarks ( #1 ) are about nodes 9 an 11.
( Same output with 'wrls-rumor-a30node.tcl ).
? Why ? I don't know. May be you can find a solution.
P.S. : Please do not quote entire posts. A "one word reference" will do.
-
|
|
|
04-16-2017, 06:57 AM
|
#7
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
Well, the output remarks ( #1 ) are about nodes 9 an 11.
( Same output with 'wrls-rumor-a30node.tcl ).
? Why ? I don't know. May be you can find a solution.
P.S. : Please do not quote entire posts. A "one word reference" will do.
-
|
Knudfl i want know if you get the same message with these examples
Last edited by dadi1004; 04-16-2017 at 07:08 AM.
|
|
|
04-16-2017, 07:28 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #7. REPEAT : Do not quote entire posts. A "one word reference" will do.
Quote:
i want know if you get the same message with these examples
|
Which examples ? I already answered for 2 out of 3 examples.
The third : rumor-test3.tcl →
Code:
$ ns235-rumor-64 rumor-test3.tcl
num_nodes is set 540
INITIALIZE THE LIST xListHead
Loading scenario file...
Load complete...
Starting Simulation...
SORTING LISTS ...DONE!
-----Parameters----------------------------------------
num_of_events = 2
num_of_ants_per_event = 1
num_of_queries = 2
QUERY_TTL = 50
ANT_TTL = 50
--------------------------------------------------------
NS EXITING...
|
|
|
04-16-2017, 11:13 AM
|
#9
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep: 
|
The other two examples 1000-wrls-rumor-a30node.tcl and wrls-rumor-a30node.tcl (Knudfl)
Last edited by dadi1004; 04-16-2017 at 12:07 PM.
|
|
|
04-16-2017, 12:54 PM
|
#10
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #8.
1000-wrls-rumor-a30node.tcl and wrls-rumor-a30node.tcl have identical output here.
Like yours. Fix nodes 9 and 11 if you want a different text.
|
|
|
04-16-2017, 03:32 PM
|
#11
|
LQ Newbie
Registered: Apr 2017
Posts: 23
Original Poster
Rep: 
|
its possible i attache Agent/Rumor instead Agent/Udp
and how can i fix the nodes
|
|
|
04-16-2017, 04:45 PM
|
#12
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Re #11.
Sorry, I am not a coder.
I can sometimes edit small errors in a (tcl) file.
Rewriting a file : It's pure luck if I succeed.
ns2 Tcl code : You can show your file here https://stackoverflow.com/questions/tagged/ns2
... And ask your question. Marking the post as ns2 → → [Tag:ns2]
( See the other posts, the Tag is below the posts.)
-
|
|
|
All times are GMT -5. The time now is 11:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|