<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Moreno,<div><br></div><div>Would you mind sharing a full working scenario that can reproduce the error?  Tcp and Udp faces are not comprehensively tested and there could be some bug in them, or there could be something wrong with the scenario too.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Feb 11, 2014, at 9:55 AM, Moreno Ambrosin <<a href="mailto:morambro@gmail.com">morambro@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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/<a href="http://packet-tag-list.cc">packet-tag-list.cc</a>, 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>

_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>