[ndnSIM] problem with an underwater node while running, the NDN layer!

Junxiao Shi shijunxiao at email.arizona.edu
Thu Aug 3 06:08:57 PDT 2017


On Thu, Aug 3, 2017 at 00:40 Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Oleg
>
> FibHelper::AddRoute in ndnSIM 2.3 only recognizes PointToPointNetDevice,
> and does not support UAN.
> https://github.com/named-data-ndnSIM/ndnSIM/blob/ndnSIM-2.3/helper/ndn-fib-helper.cpp#L137
> You may manipulate the FIB directly. Look at FibHelper code to get an idea
> about how to do that.
>
> I guess the reason FibHelper::AddRoute(node, prefix, nexthopNode, metric)
> being limited to PointToPointNetDevice is that, ndnSIM is incapable of
> unicasting over a broadcast or ad hoc wireless face. It would be
> semantically incorrect if this FibHelper::AddRoute overload causes a node
> to broadcast Interests onto a channel where nexthopNode and potentislly
> other nodes are present.
> However, it would be nice for this overload to install a route to the
> broadcast face if the underlying channel only contains {node, nexthopNode},
> which exactly fulfills your use case. I suggest reporting an issue with
> Tracker=Feature on ndnSIM Redmine site.
>
> Yours, Junxiao
>
> On Wed, Aug 2, 2017 at 22:49 Oleg Surnin <o.surnin at innopolis.ru> wrote:
>
>> I have the same problem as a Narges. The first part of the code looks
>> very similar. But I'm using the ndnSIM 2.3. In my case the packets
>> didn't transfered between nodes.
>>
>> The code is here: https://pastebin.com/iVNz5cnX
>>
>> I'm tried to setup FIB manually by
>>
>> ndn::FibHelper::AddRoute(nc.Get(1), "/prefix", nc.Get(0), 1);
>>
>> but have an error:  "Cannot add route: Node# 1 and Node# 0 are not
>> connected"
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170803/930d5f59/attachment.html>


More information about the ndnSIM mailing list