[Nfd-dev] [EXT] ndn over Ethernet faces

Gias, Rayhan rayhan.gias at hs-emden-leer.de
Mon Jul 18 13:27:25 PDT 2022


Dear Junxiao,

Thank you. It works 😃.

Best regards,
T M Rayhan Gias

________________________________
From: Junxiao Shi <shijunxiao at arizona.edu>
Sent: Monday, July 18, 2022 10:16:12 PM
To: Gias, Rayhan
Cc: nfd-dev at lists.cs.ucla.edu
Subject: Re: [EXT][Nfd-dev] ndn over Ethernet faces


[EXTERNER ABSENDER] 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.
[EXTERNAL SENDER] This message originated off-campus. Click on links or attachments only if you trust the sender.

Hi Gias

As you have identified, the face you need to use has ID = 256.
You should run this command on the consumer device only:
nfdc route add /example/testApp 256

Yours, Junxiao

On Mon, Jul 18, 2022 at 4:11 PM Gias, Rayhan <rayhan.gias at hs-emden-leer.de<mailto:rayhan.gias at hs-emden-leer.de>> wrote:

External Email

Hello all,


I am running ndn-cxx example producer and consumer on 2 raspi's. They are connected over a switch.

producer: https://github.com/named-data/ndn-cxx/blob/master/examples/producer.cpp - raspi 1
consumer-with-timer: https://github.com/named-data/ndn-cxx/blob/master/examples/consumer-with-timer.cpp - raspi 2

I want to route the interest from raspi 2 to raspi 1 over ethernet faces. How can I add route using ethernet faces?

face list - raspi 1:

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}
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}
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}
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}
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}
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}
faceid=259 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://10.1.10.249:55463<http://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}
faceid=260 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://172.17.0.1:40500<http://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}
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}
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}

face list - raspi 2:

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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
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}
faceid=267 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://10.1.10.231:42555<http://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}
faceid=268 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://172.17.0.1:56337<http://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}
faceid=269 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://172.18.0.1:33982<http://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}
faceid=270 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://10.42.2.0:46809<http://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}
faceid=271 remote=udp4://224.0.23.170:56363<http://224.0.23.170:56363> local=udp4://10.42.2.1:42185<http://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}
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}
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}
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}
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}
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}
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}
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}
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}
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}

Thanks in advance.

Best regards,
T M Rayhan Gias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20220718/51af2135/attachment-0001.html>


More information about the Nfd-dev mailing list