[ndnSIM] Routes not respected
Alex Afanasyev
alexander.afanasyev at ucla.edu
Sun Dec 1 11:55:09 PST 2013
Hi Fabrizio,
You may want to disable default routes (either delete the line with SetDefaultRoutes, or set parameter to false).
The reason for "diverting" is that SetDefaultRoutes cause several alternative "routes" to the destination, some of which are probably wrong. And the forwardingStrategy, given the alternatives may try to send interests towards non-best-route-face.
---
Alex
On Nov 27, 2013, at 11:42 AM, fabrizio saponaro <fab.batta at gmail.com> wrote:
> Hi Alex,
>
> How is it possible that if I set a route of a simple node, for example in this way:
> ndn::StackHelper::AddRoute (router3, "/", router2, 2);
>
> happens that sometimes some packet go toward others destinations (in dependence of the capacity of the links and the size of PITs) not include in the node's Fib?
>
> Other useful informations could be the configuration of the nodes:
> ndn::StackHelper ccnxHelper;
> ccnxHelper.SetForwardingStrategy ("ns3::ndn::fw::BestRoute");
> ccnxHelper.SetPit ("ns3::ndn::pit::Random", "MaxSize", "100");
> ccnxHelper.SetContentStore ("ns3::ndn::cs::Lru", "MaxSize", "1");
> ccnxHelper.SetDefaultRoutes (true);
> ccnxHelper.InstallAll();
>
>
> Best regards,
> Fabrizio
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
More information about the ndnSIM
mailing list