mini-ndn icon indicating copy to clipboard operation
mini-ndn copied to clipboard

ndnping results

Open ebagies opened this issue 5 years ago • 6 comments

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

ebagies avatar Sep 11 '19 20:09 ebagies

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?

agawande avatar Sep 11 '19 21:09 agawande

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

ebagies avatar Sep 13 '19 11:09 ebagies

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

agawande avatar Sep 13 '19 17:09 agawande

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)

ebagies avatar Sep 14 '19 12:09 ebagies

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

agawande avatar Sep 18 '19 17:09 agawande

ok I will try this.

Thank you

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

ebagies avatar Sep 28 '19 20:09 ebagies