Archives for nfdc

Let the World Reach Your NFD

[This post is a repost from https://yoursunny.com/t/2016/nfd-prefix/ written by NDN developer Junxiao Shi]

Named Data Networking (NDN) is a potential future Internet architecture designed as a distribution network. My last post on yoursunny.com 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?
Read More

Get NFD Connected

The Named Data Networking (NDN) Project offers a potential future Internet architecture designed as a distribution network.

The last post described how to deploy the NDN Forwarding Daemon (NFD) on a low-end box. This post describes how to get it connected.

The procedures and experiences in this post apply 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 ndn-tlv-ping installed. You need access to two machines with NFD running; 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 on top of a traditional IP network. You can specify the IP address and port number of the remote NFD, so that NDN packets get encapsulated into UDP or TCP packets and sent to the remote NFD.

To establish a connection, enter the following command:
Read More