[Ndn-interest] Longest prefix matching in NDNPING

Junxiao Shi shijunxiao at email.arizona.edu
Fri Jun 16 09:04:54 PDT 2017


Hi John

`ndnpingserver /edu/ucla` registers route /edu/ucla/ping. It is not a
prefix of /edu/ucla/computerscience and hence will not match the Interest.
You may verify longest prefix match using ndnpoke tool, which registers the
same prefix as the argument.
Remember that ndnpoke requires the payload to be passed via stdin, and
quits after answering one Interest. See manpage for more information.

Yours, Junxiao

On Fri, Jun 16, 2017 at 07:58 John Scott <scott1091 at yahoo.com> wrote:

> Hi,
>
> I'm trying to verify the longest prefix matching described in the NDN
> Technical Report (section 2.2.3). To do that, I setup a ndnpingserver at
> the custodian with content named /edu/ucla and tried to ping from the
> client with Interest /edu/ucla/computerscience. The test yields a nack with
> reason no route. If I use just /edu/ucla it works.
>
> Could you clarify this issue please? I couldn't find a related thread in
> the mailing list.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170616/b0a6c6c9/attachment.html>


More information about the Ndn-interest mailing list