LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rumor routing implementation (https://www.linuxquestions.org/questions/linux-newbie-8/rumor-routing-implementation-4175603862/)

dadi1004 04-14-2017 07:26 PM

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],

AwesomeMachine 04-14-2017 08:00 PM

Could you show us the script and describe the network?

dadi1004 04-14-2017 08:54 PM

1 Attachment(s)
ok this is a script

knudfl 04-15-2017 01:50 PM

@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


-

dadi1004 04-16-2017 05:01 AM

Quote:

Originally Posted by knudfl (Post 5697362)
@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


-

yes Knudfl im working with CentOs 6.9 but i get thats output

knudfl 04-16-2017 06:20 AM

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.


-

dadi1004 04-16-2017 06:57 AM

Quote:

Originally Posted by knudfl (Post 5697594)
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

knudfl 04-16-2017 07:28 AM

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...


dadi1004 04-16-2017 11:13 AM

The other two examples 1000-wrls-rumor-a30node.tcl and wrls-rumor-a30node.tcl (Knudfl)

knudfl 04-16-2017 12:54 PM

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.

dadi1004 04-16-2017 03:32 PM

its possible i attache Agent/Rumor instead Agent/Udp
and how can i fix the nodes

knudfl 04-16-2017 04:45 PM

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 05:03 AM.