Get NFD Connected
UPDATE 2021-06-01:
nfdc
command syntax changed since NFD 0.6.0.
This article has been updated to include the new syntax.
Named Data Networking (NDN) is a potential future Internet architecture designed as a distribution network. My last post described how to deploy NDN Forwarding Daemon (NFD) on a low end box. Now it's time to get it connected.
The procedures and experiences in this post are applicable to any NDN node.
If you aren't using a low end box, you may follow the official guide to install binary packages or compile from source.
This post assumes you have ndn-cxx
, nfd
, and ndnping
installed.
You need access to two machines with NFD running; they are referred to as "local" and "remote".
Connect to Another Machine
After installing NFD on your machine, you can connect to any other machine running NFD. Although NDN can run natively above Ethernet, there isn't a global scale native NDN network yet because NDN is still in its early stage. Instead, NDN can run as an overlay network above traditional IP network. You can specify the IP address and port number of the remote NFD, so that NDN packets are encapsulated into UDP or TCP packets and sent to the remote NFD.