Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndnping results #39

Open
ebagies opened this issue Sep 11, 2019 · 6 comments
Open

ndnping results #39

ebagies opened this issue Sep 11, 2019 · 6 comments

Comments

@ebagies
Copy link

ebagies commented Sep 11, 2019

hi,

when I do ndnping, the result shows as the following:
PING /ndn/h1-site/h1
nack from /ndn/h1-site/h1: seq=908807860193924757 time=9.50899 ms reason=NoRoute

--- /ndn/h1-site/h1 ping statistics ---
1 packets transmitted, 0 received, 1 nacked, 0% lost, 100% nacked, time 0 ms

My Question:
what does it mean by "nacked" and "NoRoute"

Thanks in advance
Enas Bagies

@agawande
Copy link
Collaborator

Means there is no route to /ndn/h1-site/h1 in nfdc fib. Can you check nfdc fib on the node and also share the topology?

@ebagies
Copy link
Author

ebagies commented Sep 13, 2019

Means there is no route to /ndn/h1-site/h1 in nfdc fib. Can you check nfdc fib on the node and also share the topology?

thanks for your reply.

here are requested screenshots
topology
h2 nfdc fib

@agawande
Copy link
Collaborator

Okay so /ndn/h1-site/h1 is present on h2. Is the ndnpingserver running on h1 node?

@ebagies
Copy link
Author

ebagies commented Sep 14, 2019

Okay so /ndn/h1-site/h1 is present on h2. Is the ndnpingserver running on h1 node?

here is the content of experiment that contains ndnpingserever. Also, I need to mention that ndnpinping works successfully with other nodes that are not directly connected to h1!

Experiment file:

from ndn.experiments.experiment import Experiment

import time

class pingExperiment(Experiment):

def __init__(self, args):

    Experiment.__init__(self, args)

def setup(self):
    self.checkConvergence()
def run(self):
    nodeh1 = self.net['h1']
    nodeh1.cmd("ndnpingserver /ndn/h1-site/h1 &> /dev/null &")
    self.net['h2'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")		
    self.net['h3'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h4'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h5'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h6'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h7'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h8'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h9'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")
    self.net['h10'].cmd("ndnping -c1 /ndn/h1-site/h1 > ndnping.txt &")

Experiment.register("ping", pingExperiment)

@agawande
Copy link
Collaborator

Not sure, maybe time.sleep for 1 or 2 seconds after running ndnpingserver?

@ebagies
Copy link
Author

ebagies commented Sep 28, 2019

ok I will try this.

Thank you

Not sure, maybe time.sleep for 1 or 2 seconds after running ndnpingserver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants