<div dir="ltr">Hi, thank you for the reply.<div><br></div><div>I have traced back from the Strategy::sendInterest() to the generic-link-service implementation and compare it between the mobile package's implementation and the one from my machine and I cannot find any differences. Can you also point out which particular commits I should pay attention to?</div><div><br></div><div>Another thing I have seen from my custom strategy:</div><div>I checked the method <font face="monospace, monospace">violatesScope and wouldViolateScope</font><font face="arial, helvetica, sans-serif"> from <a href="https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package/blob/5714833ccce551cf4cd128967a21283bc3ed4319/NFD/daemon/fw/algorithm.cpp#L59">https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package/blob/5714833ccce551cf4cd128967a21283bc3ed4319/NFD/daemon/fw/algorithm.cpp#L59</a>, and it will return true if the face used is a local face. In the custom strategy extending from </font><font face="monospace, monospace">Strategy</font><font face="arial, helvetica, sans-serif"> class, the </font><font face="monospace, monospace">outFace </font><font face="arial, helvetica, sans-serif">from the </font><font face="monospace, monospace">nextHopList </font><font face="arial, helvetica, sans-serif">is always a local face. Perhaps is this the reason why the Interest packet is not forwarded?</font><br></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="monospace, monospace">inFace </font><font face="arial, helvetica, sans-serif">is the face from the argument from </font><font face="monospace, monospace">afterReceiveInterest </font><font face="arial, helvetica, sans-serif">method</font></div><div><font face="monospace, monospace">outFace </font><font face="arial, helvetica, sans-serif">is the face from the iteration of </font><font face="monospace, monospace">fib::NextHopList::const_iterator, </font><font face="arial, helvetica, sans-serif">similar to the Broadcast strategy (I based mine on that)</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Note that the </font><font face="monospace, monospace">outFace </font><font face="arial, helvetica, sans-serif">on the consumer (a.k.a the first node) has non-local face, and thus is able to forward Interest packets to nodes within range. The </font><font face="monospace, monospace">outFace </font><font face="arial, helvetica, sans-serif">from the Producers (a.k.a 2nd - last nodes) always have local face (from the debug msg). If so, how can I obtain the non-local face of producer nodes?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Best Regards,</font></div><div><font face="arial, helvetica, sans-serif">Jason</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 6:03 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>we have done something similar for a mobile simulation package for ndnSIM (it was an NDN hackathon project). We have addressed those issues there, so please take a look at the commits:</div><div><br></div><div><a href="https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package" target="_blank">https://github.com/4th-ndn-<wbr>hackathon/ndnSIM-Mobile-<wbr>Simulation-Package</a></div><div><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div>
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On Oct 3, 2017, at 4:17 AM, Jason Christian <<a href="mailto:jason.christian.92@gmail.com" target="_blank">jason.christian.92@gmail.com</a>> wrote:</div><br class="m_-1446284231661727746Apple-interchange-newline"><div><div dir="ltr">Hi,<div><br></div><div>I am currently doing a scenario using ndnSIM as the simulation tool. The scenario includes:</div><div>- several nodes with mobility installed</div><div>- Wifi with 802.11a standard, wifiChannel with ns3::RangePropagationLossModel and limited maxRange, and with type adhoc</div><div><br></div><div>Basically, the consumer nodes will send the Interest through the wireless face to nodes within the MaxRange. This works perfectly on first transmission, but the Interest is not forwarded to other nodes which is in range with the receiving nodes (In other words, it is not forwarded, there is only 1 hop)</div><div><br></div><div>I have already looked into <a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car/tree/master/extensions" target="_blank">https://github.com/cawka/<wbr>ndnSIM-nom-rapid-car2car/tree/<wbr>master/extensions</a> and the implementation is similar to mine. The problem is, it is using ndnSIM 1.0 and the custom strategy methods have been changed on ndnSIM 2.0+, which I am using right now. I've also read somewhere that nodes do not actually re-broadcast Interest and Data packets on the same face it received the packet from.</div><div><br></div><div>I am new to ndnSIM (Have just spent around 3 days working around custom scenario), so can you please guide on possible solutions of this problem?</div><div>- Should I create a custom face for this scenario? If so, can u point me on how to do it?</div><div><br></div><div>Thank you,</div><div>Jason</div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>