[ndnSIM] Forwarding strategies in ndnSIM

Spyridon Mastorakis smastorakis at unomaha.edu
Mon Jul 20 11:49:59 PDT 2020

Can you check on the visualizer the FIB entries and the outgoing faces available? If there is only one outgoing face available, there is essentially a single route to the producer.

You can also try using the CalculateAllPossibleRoutes method for the global routing helper.


Spyridon (Spyros) Mastorakis
Assistant Professor
Computer Science Department
University of Nebraska, Omaha
Peter Kiewit Institute Room 175A

> On Jul 20, 2020, at 2:59 AM, Sonia via ndnSIM <ndnsim at lists.cs.ucla.edu> wrote:
> Hi everyone,
> I am new to ndnSIM and I need help in ndnsim kickstart. I am currently learning and investigating ndnSIM by running its examples scenario and making small tweaks. 
> However, I have some queries.
> 1: I changed the forwarding strategy in ndn-grid.cpp examples from best-route to multicast strategy but I didn't see any changes in the forwarding. I tried to notice it in the visualizer. 
> 2: Even if I remove the line of code   
> // Set BestRoute strategy
>   StrategyChoiceHelper::InstallAll(prefix, "/localhost/nfd/strategy/multicast");
> Still, there is no changes in the forwarding process. The nodes still manage to forward the packets in the same way as they did with best route and multicast strategy. 
> I was expecting no forwarding at all. 
> PS: When I changed the forwarding strategy in ndn-load-balancer.cpp from Random Load balancer to multicast strategy it did work but is not working in other examples. 
> Your help is much appreciated.
> Thanks
> Zoha
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.lists.cs.ucla.edu_mailman_listinfo_ndnsim&d=DwICAg&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=kPhzSlzLADS0DM14oTReFmV5oiREq-dVCi287jJnnik&s=IBmWfrhf9oRy9X-BrhgkLZJQwZbfOPi6sxGTaG3mbCU&e= 

More information about the ndnSIM mailing list