<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">Dear Junxiao,</span><br style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<span style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">Thank you. It works đ.</span><br style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<br style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<span style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">Best regards,</span><br style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">
<span style="font-family: Calibri, Helvetica, sans-serif, serif, EmojiFont; font-size: 16px;">T M Rayhan Gias</span><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Junxiao Shi <shijunxiao@arizona.edu><br>
<b>Sent:</b> Monday, July 18, 2022 10:16:12 PM<br>
<b>To:</b> Gias, Rayhan<br>
<b>Cc:</b> nfd-dev@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [EXT][Nfd-dev] ndn over Ethernet faces</font>
<div> </div>
</div>
<div>
<p style="border:1px; border-color: #FFCACA; background-color: #FFCACA; padding: 1em;">
<span style="font-size:10.0pt;color:black;"><b>[EXTERNER ABSENDER]</span></b> <span style="font-size:10.0pt;color:black">
Diese Nachricht stammt von einem Absender auĂerhalb der Hochschule Emden/Leer. Klicken Sie nur dann auf Links oder Anhänge, wenn Sie dem Absender der Nachricht vertrauen.
</span><br>
<span style="font-size:10.0pt;color:black;"><b>[EXTERNAL SENDER]</span></b> <span style="font-size:10.0pt;color:black">
This message originated off-campus. Click on links or attachments only if you trust the sender.
</span></p>
<div>
<div dir="ltr">
<div>Hi Gias</div>
<div><br>
</div>
<div>As you have identified, the face you need to use has ID = 256.</div>
<div>You should run this command on the consumer device only:</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font face="monospace">nfdc route add /example/testApp 256</font></div>
</blockquote>
<div><br>
</div>
<div>Yours, Junxiao</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jul 18, 2022 at 4:11 PM Gias, Rayhan <<a href="mailto:rayhan.gias@hs-emden-leer.de" target="_blank">rayhan.gias@hs-emden-leer.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<p style="text-align:center"><font color="red"><strong>External Email</strong><br>
</font></p>
<div id="m_4595924490182950685gmail-m_207190540490325195divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p><span style="font-family:Consolas,Courier,monospace">Hello all,</span><br>
<br>
</p>
<p><span style="font-family:Consolas,Courier,monospace">I am running ndn-cxx example producer and consumer on 2 raspi's. They are connected over a switch. </span><br>
<br>
<span style="font-family:Consolas,Courier,monospace">producer: </span><a href="https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp" id="m_4595924490182950685gmail-m_207190540490325195LPlnk168187" target="_blank"><span style="font-family:Consolas,Courier,monospace">https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp</span></a><span style="font-family:Consolas,Courier,monospace"> -
raspi 1</span><br>
<span style="font-family:Consolas,Courier,monospace">consumer-with-timer: </span><a href="https://github.com/named-data/ndn-cxx/blob/master/examples/consumer-with-timer.cpp" id="m_4595924490182950685gmail-m_207190540490325195LPlnk335458" target="_blank"><span style="font-family:Consolas,Courier,monospace">https://github.com/named-data/ndn-cxx/blob/master/examples/consumer-with-timer.cpp</span></a><span style="font-family:Consolas,Courier,monospace"> -
raspi 2</span><br>
<br>
<span style="font-family:Consolas,Courier,monospace">I want to route the interest from raspi 2 to raspi 1 over ethernet faces. How can I add route using ethernet faces?</span><br>
<br>
<span style="font-family:Consolas,Courier,monospace">face list - raspi 1:<br>
</span></p>
<div>faceid=1 remote=internal:// local=internal:// congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 26d 0n 9578B} out={35i 0d 0n 2173B}} flags={local permanent point-to-point local-fields}</div>
<div>faceid=254 remote=contentstore:// local=contentstore:// mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent point-to-point}</div>
<div>faceid=255 remote=null:// local=null:// mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent point-to-point}</div>
<div><span style="color:rgb(255,0,0)"><b>faceid=256 remote=ether://[01:00:5e:00:17:aa] local=dev://eth0 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1500 counters={in={1i 4d 0n 1727B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</b></span></div>
<div>faceid=257 remote=ether://[01:00:5e:00:17:aa] local=dev://docker0 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1500 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=258 remote=fd://30 local=unix:///run/nfd.sock congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={31i 0d 0n 1651B} out={0i 17d 0n 5259B}} flags={local on-demand point-to-point local-fields congestion-marking}</div>
<div>faceid=259 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://10.1.10.249:55463" target="_blank">10.1.10.249:55463</a> congestion={base-marking-interval=100ms default-threshold=65536B}
mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=260 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://172.17.0.1:40500" target="_blank">172.17.0.1:40500</a> congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800
counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=261 remote=udp6://[ff02::1234%eth0]:56363 local=udp6://[fe80::dea6:32ff:fed4:c6a2%eth0]:36470 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access
congestion-marking}</div>
<div>faceid=265 remote=fd://37 local=unix:///run/nfd.sock congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={1i 0d 0n 43B} out={0i 0d 0n 0B}} flags={local on-demand point-to-point congestion-marking}</div>
<br>
face list - raspi 2:<br>
<br>
<div>faceid=1 remote=internal:// local=internal:// congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 95d 0n 35064B} out={92i 0d 0n 5878B}} flags={local permanent point-to-point local-fields}</div>
<div>faceid=254 remote=contentstore:// local=contentstore:// mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent point-to-point}</div>
<div>faceid=255 remote=null:// local=null:// mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent point-to-point}</div>
<div><b><span style="color:rgb(255,0,0)">faceid=256 remote=ether://[01:00:5e:00:17:aa] local=dev://eth0 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1500 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</span></b></div>
<div>faceid=257 remote=ether://[01:00:5e:00:17:aa] local=dev://docker0 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1500 counters={in={0i 0d 0n 0B} out={9i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=258 remote=ether://[01:00:5e:00:17:aa] local=dev://br-4158a934945e congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1500 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=259 remote=ether://[01:00:5e:00:17:aa] local=dev://flannel.1 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=260 remote=ether://[01:00:5e:00:17:aa] local=dev://cni0 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=261 remote=ether://[01:00:5e:00:17:aa] local=dev://veth1f46b5ce congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=262 remote=ether://[01:00:5e:00:17:aa] local=dev://veth36230d3e congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=263 remote=ether://[01:00:5e:00:17:aa] local=dev://vethdd142201 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=264 remote=ether://[01:00:5e:00:17:aa] local=dev://vethf93a39fb congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=265 remote=ether://[01:00:5e:00:17:aa] local=dev://veth00754174 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=1450 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access}</div>
<div>faceid=266 remote=fd://62 local=unix:///run/nfd.sock congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={81i 7d 0n 6531B} out={7i 61d 0n 26996B}} flags={local on-demand point-to-point local-fields congestion-marking}</div>
<div>faceid=267 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://10.1.10.231:42555" target="_blank">10.1.10.231:42555</a> congestion={base-marking-interval=100ms default-threshold=65536B}
mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=268 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://172.17.0.1:56337" target="_blank">172.17.0.1:56337</a> congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800
counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=269 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://172.18.0.1:33982" target="_blank">172.18.0.1:33982</a> congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800
counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=270 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://10.42.2.0:46809" target="_blank">10.42.2.0:46809</a> congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800
counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=271 remote=udp4://<a href="http://224.0.23.170:56363" target="_blank">224.0.23.170:56363</a> local=udp4://<a href="http://10.42.2.1:42185" target="_blank">10.42.2.1:42185</a> congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800
counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access congestion-marking}</div>
<div>faceid=272 remote=udp6://[ff02::1234%eth0]:56363 local=udp6://[fe80::dea6:32ff:fed4:c68a%eth0]:47079 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access
congestion-marking}</div>
<div>faceid=273 remote=udp6://[ff02::1234%flannel.1]:56363 local=udp6://[fe80::80af:8eff:fea2:bfbb%flannel.1]:41160 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent
multi-access congestion-marking}</div>
<div>faceid=274 remote=udp6://[ff02::1234%cni0]:56363 local=udp6://[fe80::466:30ff:fe20:efef%cni0]:55026 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent multi-access
congestion-marking}</div>
<div>faceid=275 remote=udp6://[ff02::1234%veth1f46b5ce]:56363 local=udp6://[fe80::38e7:33ff:fe50:9c06%veth1f46b5ce]:45761 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local
permanent multi-access congestion-marking}</div>
<div>faceid=276 remote=udp6://[ff02::1234%veth36230d3e]:56363 local=udp6://[fe80::2cbb:c9ff:feb9:1b04%veth36230d3e]:35718 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local
permanent multi-access congestion-marking}</div>
<div>faceid=277 remote=udp6://[ff02::1234%vethdd142201]:56363 local=udp6://[fe80::3039:54ff:fe78:bfc9%vethdd142201]:47029 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local
permanent multi-access congestion-marking}</div>
<div>faceid=278 remote=udp6://[ff02::1234%vethf93a39fb]:56363 local=udp6://[fe80::a864:89ff:fec0:8e4%vethf93a39fb]:54507 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local
permanent multi-access congestion-marking}</div>
<div>faceid=279 remote=udp6://[ff02::1234%veth00754174]:56363 local=udp6://[fe80::4a9:15ff:feec:c8d3%veth00754174]:51277 congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local
permanent multi-access congestion-marking}</div>
<div>faceid=294 remote=fd://89 local=unix:///run/nfd.sock congestion={base-marking-interval=100ms default-threshold=65536B} mtu=8800 counters={in={1i 0d 0n 43B} out={0i 0d 0n 0B}} flags={local on-demand point-to-point congestion-marking}</div>
<br>
<span style="font-family:Consolas,Courier,monospace">Thanks in advance.<br>
<br>
Best regards,<br>
T M Rayhan Gias<br>
</span></div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>