<div dir="ltr"><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/00e9db8067944ecb1b70f786f14c4f6fb18845d0.png?u=1311299"><div>Hello Junxiao,</div><div><br></div><div>Thanks a million for your responses.</div><div><br></div><div>Oleg is right. Actually, I have checked it with other versions. Also, in a paper named: "<span style="font-size:12.8px">A Named-Data Networking Approach to Underwater Monitoring Systems</span><span style="color:inherit;font-size:inherit">", the application of NDN layer has been exploited with the newer version of ndnSIM; however, it seems that the authors of this paper are so busy to guide us.</span></div><div><span style="color:inherit;font-size:inherit">Anyway, ndnSIM is OK with the WiFi protocols and I have tested it myself. But with the underwater acoustic protocols, it seems that the structures do not agree with each other properly. U R right. I should go through the routing to see if it is working truly.</span></div><div><span style="color:inherit;font-size:inherit"><br></span></div><div><span style="color:inherit;font-size:inherit">Regards, </span></div><div><span style="color:inherit;font-size:inherit">Narges</span></div><div><br></div><div style="display:inline">
            </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 3, 2017 at 5:38 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote"><div>On Thu, Aug 3, 2017 at 00:40 Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Hi Oleg</div><div dir="auto"><br></div><div dir="auto">FibHelper::AddRoute in ndnSIM 2.3 only recognizes PointToPointNetDevice, and does not support UAN. <a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/ndnSIM-2.3/helper/ndn-fib-helper.cpp#L137" target="_blank">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/blob/ndnSIM-2.3/<wbr>helper/ndn-fib-helper.cpp#L137</a></div><div dir="auto">You may manipulate the FIB directly. Look at FibHelper code to get an idea about how to do that.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div><div><br><div class="gmail_quote"><div>On Wed, Aug 2, 2017 at 22:49 Oleg Surnin <<a href="mailto:o.surnin@innopolis.ru" target="_blank">o.surnin@innopolis.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have the same problem as a Narges. The first part of the code looks<br>
very similar. But I'm using the ndnSIM 2.3. In my case the packets<br>
didn't transfered between nodes.<br>
<br>
The code is here: <a href="https://pastebin.com/iVNz5cnX" rel="noreferrer" target="_blank">https://pastebin.com/iVNz5cnX</a><br>
<br>
I'm tried to setup FIB manually by<br>
<br>
ndn::FibHelper::AddRoute(nc.<wbr>Get(1), "/prefix", nc.Get(0), 1);<br>
<br>
but have an error:  "Cannot add route: Node# 1 and Node# 0 are not<br>
connected"<br>
<br>
<br>
</blockquote></div></div></blockquote></div></div>
</div></div></blockquote></div><br></div>