Let the World Reach Your NFD
UPDATE 2021-11-15:
nfdc
command syntax changed since NFD 0.6.0, in whichnfdc register
has been renamed tonfdc route add
, but the underlying protocol remains the same. If you want to follow along, typenfdc route add
in place ofnfdc register
.remote-register-prefix
command is replaced byregister-prefix-remote
. If you want to follow along, typendn6-register-prefix-remote
in place ofremote-register-prefix
.- The command output may be different.
Named Data Networking (NDN) is a potential future Internet architecture designed as a distribution network. My last post described how to connect an end host running NDN Forwarding Daemon (NFD) to the NDN Testbed, a backbone NDN network for research purposes, and retrieve contents from that network. An equally important topic is: how can you publish contents into the backbone network?
As mentioned in the last post, NDN communication is receiver driven.
Interests expressed by the consumer application are forwarded toward the producer following the routing table, and Data packets carrying contents flow back on the reverse path of Interests.
Every end host and router along the path between consumer and producer needs to have a route in its routing table, so that NFD can forward the Interest, hop by hop, toward the producer.
On your own machine, nfdc register
command adds a route to the routing table; however, if you want to publish contents into the backbone network and make them available for others to retrieve, you won't be able to directly execute nfdc register
command on a terminal of the routers.
How can you add a route without console access?