[Ndn-interest] Sending data over physical interface

Lee, Jongdeog jlee700 at illinois.edu
Mon Feb 18 22:10:01 PST 2019


Thanks all.

I am trying to build a Raspberry PI testbed. The testbed size is small for now (<10) but can get bigger in future.
The nodes are directly connected to each other over the wireless medium (external radio transmitter).

I understand how to manually configure NFD of each node but want to know a more convenient way if there is.

It seems NFD automatically create a face for a physical interface (e.g., eth0) and can send packets over it.
I was expecting that running NLSR (or similar) would construct routing paths without any extra nfdc commands.

Back to my example,

/A -- /B
 |       |
/C -- /D

Suppose the above 4 nodes are directly connected through some medium and they are all running NFD and NLSR.
If my producer /A/test is running at router /A and a consumer at router /D requests data /A/test/1, does the network forwards the interest/data successfully?

My apology if I misunderstand something.

Best wishes,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
________________________________
From: Ashlesh Gawande (agawande) <agawande at memphis.edu>
Sent: Saturday, February 16, 2019 4:42 PM
To: Lee, Jongdeog; Spyridon (Spyros) Mastorakis
Cc: ndn-interest
Subject: Re: [Ndn-interest] Sending data over physical interface


NLSR discovers face from NFD, so you will have to create faces in NFD first (https://github.com/named-data/NLSR/blob/master/docs/GETTING-STARTED.rst#important-notes-about-configuration<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_named-2Ddata_NLSR_blob_master_docs_GETTING-2DSTARTED.rst-23important-2Dnotes-2Dabout-2Dconfiguration&d=DwMF-g&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=OGqaGxMyqKZx-aD8n5bq3l9Gx4GvHXMtybPGrG8sn00&s=KM_CkiVTYyepR5Va8qC3EHO1zPAjqDv8SlwhbBm9y4M&e=> and https://redmine.named-data.net/issues/2954<https://urldefense.proofpoint.com/v2/url?u=https-3A__redmine.named-2Ddata.net_issues_2954&d=DwMF-g&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=OGqaGxMyqKZx-aD8n5bq3l9Gx4GvHXMtybPGrG8sn00&s=hSVdf_lxZhAqLD9XZXKUedxyKuXufrSQ5r3QFaGzW-s&e=>).

NLSR does not support broadcast links yet (https://redmine.named-data.net/issues/4389<https://urldefense.proofpoint.com/v2/url?u=https-3A__redmine.named-2Ddata.net_issues_4389&d=DwMF-g&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=OGqaGxMyqKZx-aD8n5bq3l9Gx4GvHXMtybPGrG8sn00&s=NNVrIWDpIDErkC3oWgS--Ccp4shWWzauNsOKP1eoapA&e=>).


Ashlesh


On 2/15/19 10:06 PM, Lee, Jongdeog via Ndn-interest wrote:
Dear Prof. Lixia Zhang and Spyros,

Thanks for the reply.
I think my example confused both of you. I need a routing protocol.

Let's have 4 nodes instead of 2. The following is the topology:

/A -- /B
 |       |
/C -- /D

When all 4 nodes run NLSR and they are physically connected as above, what extra steps should I take to send packets over the links?
Does it automatically create a face ID (without nfdc command)? Or should I create it manually?
Once the face is registered, the route is automatically added by NLSR, I guess?

Best wishes,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
________________________________
From: Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu><mailto:mastorakis at cs.ucla.edu>
Sent: Friday, February 15, 2019 9:04 PM
To: Lee, Jongdeog
Cc: ndn-interest
Subject: Re: [Ndn-interest] Sending data over physical interface

JD,

if your topology is simple as you said (2 nodes), you can directly send packets from one node to the other.

NFD should have created ethernet faces and you use the nfdc command to establish a new route through the ethernet face directly (i.e., run NDN over L2). You do not need a routing protocol for such a simple scenario.

Hope this helps,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/<https://urldefense.proofpoint.com/v2/url?u=http-3A__cs.ucla.edu_-7Emastorakis_&d=DwMFAg&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=Us2dbX7dkEIc8oima_PFnw08HPpG55QvJJWN_1eRrsc&s=IGhq-iMYKg1hpvs_VdyZ3iRtWF6T5Jj3OuEw3Jm7nCk&e=>
Internet Research Laboratory
Computer Science Department
UCLA

On Feb 15, 2019, at 2:07 PM, Lee, Jongdeog via Ndn-interest <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>> wrote:

Hi all,

  Hope all of you are doing good.
  Sorry in advance if this question is duplicate.

  I would like to send NDN interest/data packets over physical interfaces, not TCP/UDP pipes.
  Suppose that we have two directly connected nodes over the wireless medium.
  Both nodes have nfd, ndn-cxx, and nlsr (chronosync and psync accordingly) installed.

  If I run nlsr on both nodes, then do these forward NDN packets to each other without any extra configurations?
  Or should I create the face and add a route on each node using nfdc command?

Best wishes,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndn-2Dinterest&d=DwMFAg&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=Us2dbX7dkEIc8oima_PFnw08HPpG55QvJJWN_1eRrsc&s=iQQ5ongiTu0lX96ltjVwKULEmlvjWnXlsqyhYEXukD4&e=>




_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndn-2Dinterest&d=DwMF-g&c=OCIEmEwdEq_aNlsP4fF3gFqSN-E3mlr2t9JcDdfOZag&r=RTtNIB7SLbCEZbcCvc1ADsIJ3mCRR77CzZSVcwLWK6w&m=OGqaGxMyqKZx-aD8n5bq3l9Gx4GvHXMtybPGrG8sn00&s=G2UXi-oTahC8s7SyHwMgsJypoJnJ-_KB1vOlXwphb1s&e=>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20190219/e4acde5d/attachment-0001.html>


More information about the Ndn-interest mailing list