<div dir="ltr">Hi,<div><br></div><div> I'm new with ndnSIM; I'm trying to build a configuration with NDN as an overlay network. For this reason, I installed the Internet stack, all point-to-point links, and assigned an IPv4 address to all nodes. </div>
<div>Finally, following this example <a href="https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-udp.cc" target="_blank">https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-udp.cc</a>, I tried to configure the FIBs. What I want to achieve, is the following overlay configuration:</div>
<div><br></div><div><br></div><div> /some /some/content</div><div> consumer 1 -------------------> IP:X.X.X.X</div><div> consumer 2 -------------------> router 1 ----------------------------> producer</div>
<div><div> ...</div><div> consumer n -------------------></div><div><br></div><div>I tried to setup the NDN forwarding in the following way:</div><div><br></div><div><br></div><div> ndn::IpFacesHelper::Install(routerNodes.Get(0));</div>
<div> ndn::IpFacesHelper::Install(routerNodes.Get(27));</div><div> // Install IpFacesHelper on all consumers (saved inside a vector devices)</div><div> for (int i=0;i<30;i++) </div><div> {</div><div> ndn::IpFacesHelper::Install(devices[0].Get(i));</div>
<div> }</div><div> </div><div> ndn::IpFacesHelper::CreateUdpFace (</div><div> Seconds (0.5), </div><div> routerNodes.Get(0),</div><div> routerNodes.Get(27)->GetObject<Ipv4>()->GetAddress(1,0).GetLocal(), </div>
<div> "/some/upd-route"</div><div> );</div><div> </div><div> for (int i=0;i<30;i++) {</div><div> ndn::IpFacesHelper::CreateTcpFace (</div><div> Seconds (0.5),</div><div> devices[0].Get(i),</div>
<div> routerNodes.Get(0)->GetObject<Ipv4>()->GetAddress(1,0).GetLocal(),</div><div> "/some"</div><div> );</div><div> }</div><div><br></div><div>When I run my script making all devices to request a content (with ConsumerCbr application), I obtain the following run-time error:</div>
<div><br></div><div><div>assert failed. cond="cur->tid != tag.GetInstanceTypeId ()", file=../src/network/model/packet-tag-list.cc, line=250</div><div>terminate called without an active exception</div></div><div>
<br></div><div>What could be the problem?</div><div>Is there another way to setup the FIB based on IP correctly?</div><div><br></div><div>Regards</div><span class=""><font color="#888888"> Moreno</font></span></div></div>