<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;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" class="OWAAutoLink" id="LPlnk168187" previewremoved="true"><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" class="OWAAutoLink" id="LPlnk335458" previewremoved="true"><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>
</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://224.0.23.170:56363 local=udp4://10.1.10.249:55463 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://224.0.23.170:56363 local=udp4://172.17.0.1:40500 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://224.0.23.170:56363 local=udp4://10.1.10.231:42555 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://224.0.23.170:56363 local=udp4://172.17.0.1:56337 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://224.0.23.170:56363 local=udp4://172.18.0.1:33982 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://224.0.23.170:56363 local=udp4://10.42.2.0:46809 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://224.0.23.170:56363 local=udp4://10.42.2.1:42185 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>
</span><br>
<span style="font-family: Consolas, Courier, monospace;">Thanks in advance.<br>
<br>
Best regards,<br>
T M Rayhan Gias<br>
</span><br>
<br>
<p></p>
</div>
</body>
</html>