[ndnSIM] Configure FIBs based on IP addresses

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue Feb 11 11:42:10 PST 2014


Hi Moreno,

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.

---
Alex

On Feb 11, 2014, at 9:55 AM, Moreno Ambrosin <morambro at gmail.com> wrote:

> Hi,
> 
>  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. 
> Finally, following this example https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-udp.cc, I tried to configure the FIBs. What I want to achieve, is the following overlay configuration:
> 
> 
>                               /some                          /some/content
>        consumer 1 ------------------->  IP:X.X.X.X
>        consumer 2 ------------------->    router 1    ---------------------------->  producer
>        ...
>        consumer n ------------------->
> 
> I tried to setup the NDN forwarding in the following way:
> 
> 
>     ndn::IpFacesHelper::Install(routerNodes.Get(0));
>     ndn::IpFacesHelper::Install(routerNodes.Get(27));
>     // Install IpFacesHelper on all consumers (saved inside a vector devices)
>     for (int i=0;i<30;i++) 
>     {
>          ndn::IpFacesHelper::Install(devices[0].Get(i));
>     }
>     
>     ndn::IpFacesHelper::CreateUdpFace (
>         Seconds (0.5), 
>         routerNodes.Get(0),
>         routerNodes.Get(27)->GetObject<Ipv4>()->GetAddress(1,0).GetLocal(), 
>         "/some/upd-route"
>     );
>     
>     for (int i=0;i<30;i++) {
>         ndn::IpFacesHelper::CreateTcpFace (
>             Seconds (0.5),
>             devices[0].Get(i),
>             routerNodes.Get(0)->GetObject<Ipv4>()->GetAddress(1,0).GetLocal(),
>             "/some"
>         );
>     }
> 
> When I run my script making all devices to request a content (with ConsumerCbr application), I obtain the following run-time error:
> 
> assert failed. cond="cur->tid != tag.GetInstanceTypeId ()", file=../src/network/model/packet-tag-list.cc, line=250
> terminate called without an active exception
> 
> What could be the problem?
> Is there another way to setup the FIB based on IP correctly?
> 
> Regards
>  Moreno
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140211/af4e2ea3/attachment.html>


More information about the ndnSIM mailing list