[Nfd-dev] Error Creating routes over ethernet faces
Davide Pesavento
davidepesa at gmail.com
Thu Nov 8 14:54:13 PST 2018
Hi Ishita,
Please run nfd as root (sudo) and make sure that "user" and "group" are
commented out in nfd.conf.
Davide
On Thu, Nov 8, 2018 at 5:49 PM Ishita Dasgupta <ishita.dasgupta at gmail.com>
wrote:
> Hi All,
> I am trying to create routes over ethernet with interfaces that
> previously had IP addresses. I remove the IP addresses from these
> interfaces and have tried restarting the nfd-daemon as well as
> uninstalled and re-installed NFDC . In neither case, am I able to see the
> "ether" type faces on the NFDC list.
> *ifconfig*
>
> eth0 Link encap:Ethernet HWaddr ec:bd:1d:09:1c:ee
>>
> inet addr:128.104.222.158 Bcast:128.104.223.255
>> Mask:255.255.254.0
>
> inet6 addr: fe80::eebd:1dff:fe09:1cee/64 Scope:Link
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:186510 errors:0 dropped:0 overruns:13 frame:0
>
> TX packets:1671 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:11323596 (11.3 MB) TX bytes:239761 (239.7 KB)
>
> Memory:c6a00000-c6b00000
>
> eth2 Link encap:Ethernet HWaddr 90:e2:ba:b3:21:e4
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:0 (0.0 B) TX bytes:2400 (2.4 KB)
>
> eth3 Link encap:Ethernet HWaddr 90:e2:ba:b3:21:e5
>
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>
> TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
>
> collisions:0 txqueuelen:1000
>
> RX bytes:0 (0.0 B) TX bytes:2400 (2.4 KB)
>
> *nfdc face list *
>
> faceid=1 remote=internal:// local=internal://
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={0i 12d 0n 6238B} out={10i 0d 0n 2085B}} flags={local
>> permanent point-to-point local-fields}
>
> faceid=254 remote=contentstore:// local=contentstore://
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent
>> point-to-point}
>
> faceid=255 remote=null:// local=null://
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={local permanent
>> point-to-point}
>
> faceid=256 remote=udp4://224.0.23.170:56363 local=udp4://
>> 128.104.222.158:48280 congestion={base-marking-interval=100ms
>> default-threshold=65536B} counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}}
>> flags={non-local permanent multi-access congestion-marking}
>
> faceid=257 remote=udp4://224.0.23.170:56363 local=udp4://
>> 192.168.122.1:32809 congestion={base-marking-interval=100ms
>> default-threshold=65536B} counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}}
>> flags={non-local permanent multi-access congestion-marking}
>
> faceid=258 remote=udp6://[ff02::1234%2]:56363
>> local=udp6://[fe80::eebd:1dff:fe09:1cee%eth0]:52148
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={0i 0d 0n 0B} out={0i 0d 0n 0B}} flags={non-local permanent
>> multi-access congestion-marking}
>
> faceid=260 remote=fd://28 local=unix:///run/nfd.sock
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={8i 1d 0n 2293B} out={1i 7d 0n 4461B}} flags={local on-demand
>> point-to-point local-fields congestion-marking}
>
> faceid=261 remote=fd://27 local=unix:///run/nfd.sock
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={1i 0d 0n 429B} out={0i 1d 0n 799B}} flags={local on-demand
>> point-to-point congestion-marking}
>
> faceid=262 remote=fd://29 local=unix:///run/nfd.sock
>> congestion={base-marking-interval=100ms default-threshold=65536B}
>> counters={in={1i 0d 0n 46B} out={0i 0d 0n 0B}} flags={local on-demand
>> point-to-point congestion-marking}
>
>
>
> Forcing to create a face with specified local dev interface and remote
> Interface's MAC address also returns internal error.
>
>> Error 500 when creating face: Face creation failed due to internal error
>
>
> I have also executed the instruction as in nfd.conf and restarted the nfd
> daemon
> but that doesn't help either
>
>> sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/nfd
>
>
>
> Any suggestion on what I might be missing would be helpful.
>
> -Ishita
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20181108/5e97b23c/attachment-0001.html>
More information about the Nfd-dev
mailing list