mini-ndn
mini-ndn copied to clipboard
ndnping results
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
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?
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
Okay so /ndn/h1-site/h1 is present on h2. Is the ndnpingserver running on h1 node?
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)
Not sure, maybe time.sleep for 1 or 2 seconds after running ndnpingserver?
ok I will try this.
Thank you
Not sure, maybe time.sleep for 1 or 2 seconds after running ndnpingserver?