<div dir="ltr">Thank you very much for the reply Spyridon,<div><br></div><div>I enabled ndn-cxx.nfd.forwarder and saw that I was indeed receiving <b>onOutgoingNack .... - NoRoute</b></div><div><b><br></b></div><div>This is my code in the simulation scenario (ndn-custom-apps.cpp)</div><div><br></div><div><div style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)"> </span><span style="color:rgb(106,153,85)">  // Creating nodes</span></div><div style="color:rgb(212,212,212)">  NodeContainer <span style="color:rgb(156,220,254)">nodes</span>;</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Create</span>(<span style="color:rgb(181,206,168)">3</span>);</div><font color="#d4d4d4"><br></font><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)">  // Connecting nodes using two links</span></div><div style="color:rgb(212,212,212)">  PointToPointHelper <span style="color:rgb(156,220,254)">p2p</span>;</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">p2p</span>.<span style="color:rgb(220,220,170)">Install</span>(<span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Get</span>(<span style="color:rgb(181,206,168)">0</span>), <span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Get</span>(<span style="color:rgb(181,206,168)">1</span>));</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">p2p</span>.<span style="color:rgb(220,220,170)">Install</span>(<span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Get</span>(<span style="color:rgb(181,206,168)">1</span>), <span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Get</span>(<span style="color:rgb(181,206,168)">2</span>));</div><font color="#d4d4d4"><br></font><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)">  // Install NDN stack on all nodes</span></div><div style="color:rgb(212,212,212)">  <span style="color:rgb(78,201,176)">ndn</span>::StackHelper ndnHelper;</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">ndnHelper</span>.<span style="color:rgb(220,220,170)">SetDefaultRoutes</span>(<span style="color:rgb(86,156,214)">true</span>);</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">ndnHelper</span>.<span style="color:rgb(220,220,170)">InstallAll</span>();</div><font color="#d4d4d4"><br></font><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)">  // Choosing forwarding strategy</span></div><div style="color:rgb(212,212,212)">  <span style="color:rgb(78,201,176)">ndn</span>::<span style="color:rgb(78,201,176)">StrategyChoiceHelper</span>::<span style="color:rgb(220,220,170)">InstallAll</span>(<span style="color:rgb(206,145,120)">"/prefix/sub"</span>, <span style="color:rgb(206,145,120)">"/localhost/nfd/strategy/multicast"</span>);</div><font color="#d4d4d4"><br></font><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)">  //Create and Install primary application</span></div><div style="color:rgb(212,212,212)">  <span style="color:rgb(78,201,176)">ndn</span>::AppHelper <span style="color:rgb(220,220,170)">app1</span>(<span style="color:rgb(206,145,120)">"PrimaryNode"</span>);</div><div style="color:rgb(212,212,212)">  <span style="color:rgb(156,220,254)">app1</span>.<span style="color:rgb(220,220,170)">Install</span>(<span style="color:rgb(156,220,254)">nodes</span>.<span style="color:rgb(220,220,170)">Get</span>(<span style="color:rgb(181,206,168)">0</span>));</div><div style="color:rgb(212,212,212)">  </div><div style="color:rgb(212,212,212)"><span style="color:rgb(106,153,85)">  //Create a backup applications</span></div><div style="color:rgb(212,212,212)">  <span style="color:rgb(78,201,176)">ndn</span>::AppHelper <span style="color:rgb(220,220,170)">app2</span>(<span style="color:rgb(206,145,120)">"ConsumerApp"</span>);</div><div style=""><font color="#d4d4d4">  </font><span style="color:rgb(156,220,254)">app2</span><font color="#d4d4d4">.</font><span style="color:rgb(220,220,170)">Install</span><font color="#d4d4d4">(</font><span style="color:rgb(156,220,254)">nodes</span><font color="#d4d4d4">.</font><span style="color:rgb(220,220,170)">Get</span><font color="#d4d4d4">(</font><font color="#b5cea8">2</font><font color="#d4d4d4">));</font></div></div></div><div><br></div><div>And in both PrimaryNode and ConsumerApp I have:</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(106,153,85)">  // Add entry to FIB for `/prefix/sub`</span></div><div>  <span style="color:rgb(78,201,176)">ndn</span>::<span style="color:rgb(78,201,176)">FibHelper</span>::<span style="color:rgb(220,220,170)">AddRoute</span>(<span style="color:rgb(220,220,170)">GetNode</span>(), <span style="color:rgb(206,145,120)">"/prefix/sub"</span>, m_face, <span style="color:rgb(181,206,168)">0</span>);</div></div></div><div><br></div><div><br></div><div>Why can't the simulated network not resolve this?</div><div><br></div><div>Best regards,</div><div>Hafsteinn</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 13, 2020 at 2:39 AM Spyridon Mastorakis <<a href="mailto:smastorakis@unomaha.edu">smastorakis@unomaha.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi,
<div><br>
</div>
<div>I would suggest that you enable the nfd.Forwarder logging component to see what is going on at the NFD level.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div>Spyridon (Spyros) Mastorakis<br>
Assistant Professor<br>
Computer Science Department<br>
University of Nebraska, Omaha<br>
Peter Kiewit Institute Room 175A<br>
<a href="https://sites.google.com/site/spyridonmastorakis" target="_blank">https://sites.google.com/site/spyridonmastorakis</a></div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Nov 12, 2020, at 6:06 AM, Hafsteinn Hjartarson via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi Everyone,
<div><br>
</div>
<div>When using the custom applications provided with the examples (<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__ndnsim.net_2.4_applications.html-23customer-2Dexample&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=gdQsxKp731SqsqYuSGCbIaKzilhsxAFCuRNVHgmFvf0&s=Fkw05yospMkOzR9bi_AHRLLMKCeQSJZYBwvFnyvy2iE&e=" target="_blank">https://ndnsim.net/2.4/applications.html#customer-example</a>),
 both CustomApp and Hijacker are installed on the same node (why does that even work?).</div>
<div><br>
</div>
<div>Is it not possible to create a topology like:</div>
<div><br>
</div>
<div>"CustomApp" <---> "ndn_router_1" <---> "Hijacker"</div>
<div><br>
</div>
<div>I have tried using the "Simple Scenario" from <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__ndnsim.net_current_examples.html&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=gdQsxKp731SqsqYuSGCbIaKzilhsxAFCuRNVHgmFvf0&s=q-AlCSkUC2IobLd7PVwz2d4gUNB7DawFb7MxmKZkal8&e=" target="_blank">https://ndnsim.net/current/examples.html</a>
 to create three nodes with p2p links between them and then installing "CustomApp" on node_0 and "Hijacker" on node_2 but they cannot communicate.<br>
</div>
<div><br>
</div>
<div>Can anyone help me with this?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Hafsteinn</div>
<div><span style="font-size:12px"></span></div>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div>