[Mini-NDN] About nfd connection

=?gb2312?B?wO7i+JXTIFlpdG9uZyBMSQ==?= yitongli at hkust-gz.edu.cn
Sun Mar 31 01:45:16 PDT 2024


Hi,,

I’m trying some examples provided by mini-ndn. “mnndn.py” does not work well. It gives me the following error report.
caster at ubuntu:~/Downloads/mini-ndn/mini-ndn$ sudo python3 examples/mnndn.py
Using topology file /usr/local/etc/mini-ndn/default-topology.conf
*** Creating network
*** Adding controller
*** Adding hosts:
a b c d
*** Adding switches:

*** Adding links:
(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d)
*** Configuring hosts
a b c d
*** Starting controller
c0
*** Starting 0 switches

Starting NFD on nodes
Starting NLSR on nodes
[c] Face register failed: face-updated id=260 local=udp4://10.0.0.6:6363 remote=udp4://10.0.0.5:6363 persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
[d] Face register failed: face-updated id=260 local=udp4://10.0.0.10:6363 remote=udp4://10.0.0.9:6363 persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
*** Starting CLI:

So I check the nfd status using “nfd-status”, it gives me the following.
caster at ubuntu:~/Downloads/mini-ndn/mini-ndn$ nfd-status
error while connecting to the forwarder (No such file or directory)


Then I tried another example - examples/nlsr/pingall.py. It seems there’s still some errors as 2 nodes registered failed. But nlsr is able to converge. Please see the log below.
caster at ubuntu:~/Downloads$ sudo python3 mini-ndn/mini-ndn/examples/nlsr/pingall.py
Using topology file /usr/local/etc/mini-ndn/default-topology.conf
*** Creating network
*** Adding controller
*** Adding hosts:
a b c d
*** Adding switches:

*** Adding links:
(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d)
*** Configuring hosts
a b c d
*** Starting controller
c0
*** Starting 0 switches

[c] Face register failed: face-updated id=260 local=udp4://10.0.0.6:6363 remote=udp4://10.0.0.5:6363 persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
[d] Face register failed: face-updated id=260 local=udp4://10.0.0.10:6363 remote=udp4://10.0.0.9:6363 persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
Waiting 60 seconds for convergence...
...done
NLSR has converged successfully.
Staring ping server on prefix /ndn/a-site/a
Staring ping server on prefix /ndn/b-site/b
Staring ping server on prefix /ndn/c-site/c
Staring ping server on prefix /ndn/d-site/d
Each node will ping 4 node(s)
Scheduling ping(s) from a for /ndn/b-site/b
Scheduling ping(s) from a for /ndn/c-site/c
Scheduling ping(s) from a for /ndn/d-site/d
Scheduling ping(s) from b for /ndn/c-site/c
Scheduling ping(s) from b for /ndn/d-site/d
Scheduling ping(s) from b for /ndn/a-site/a
Scheduling ping(s) from c for /ndn/d-site/d
Scheduling ping(s) from c for /ndn/a-site/a
Scheduling ping(s) from c for /ndn/b-site/b
Scheduling ping(s) from d for /ndn/a-site/a
Scheduling ping(s) from d for /ndn/b-site/b
Scheduling ping(s) from d for /ndn/c-site/c
*** Starting CLI:
mini-ndn> a echo "hello"
hello
mini-ndn>

I’m confused about the results. Is there something wrong with my mini-ndn environment?

Many thanks,
Caster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240331/54ffad34/attachment-0001.htm>


More information about the Mini-NDN mailing list