[Ndn-interest] Problems when trying to retrieve a Data from a remote NFD

lxzhao lxzhao at njnet.edu.cn
Sun Nov 5 04:48:43 PST 2017

  I am new about NDN and have successfully installed ndn-cxx and NFD.The
samples of consumer.cpp and producer.cpp can run well in one node.But
when I installed them in two computers which are as two nodes and try to
make one node send an Interest to retrieve a Data from the other
computer.(The IPs of the two Ubuntus are and
  What I have done is as follow(using the samples in ndn-cxx):
  In the Ubuntu-1(IP:
  2.nfdc register /example/testApp/randomData udp://
  3.nfdc create udp://
  4. ./build/examples/consumer
  In the other Ubuntu-2(IP:
  2. ./build/examples/producer
  In Ubuntu-1,it always shows
 "Sending /example/testAPP/randomData?ndn.InterestLifetime=1000".
 "Timeout /example/testAPP/randomData?  
  I also have tried the method in a blog(using ndnping and
ndnpingserver),but it doesn't work.
  So what can I do to retrieve a Data from a remote NFD step by step?How
to let the NFD in Ubuntu-2 know how to send the Interest into the
producer? May be I should clean the entries in the NFD and make a fresh
  Could you show me the step-by-step way to solve it?
                                                              Lixia Zhao

More information about the Ndn-interest mailing list