[ndnSIM] FIB Manual Configuration

Cesar Ghali cghali at uci.edu
Thu Feb 26 15:49:44 PST 2015

Thanks Spyros and Alex for your reply. Actually
"helper.SetDefaultRoutes(true);" was the problem. I removed it and now
I'm able to manually configure FIB entries.

Thanks again,

On 02/26/2015 03:43 PM, Alex Afanasyev wrote:
> Hi Cesar,
> Did you specify  "helper.SetDefaultRoutes(true);" ?  If so, you are getting a "default" route installed on each node, pointing to all available faces.
> In the visualizer, you can check content of FIB on each node.
> ---
> Alex
> PS
> For the list of default choice of strategies, check model/ndn-l3-protocol.cc (lines 108-111):
>           /               /localhost/nfd/strategy/best-route
>           /localhost      /localhost/nfd/strategy/broadcast
>           /localhost/nfd  /localhost/nfd/strategy/best-route
>           /ndn/broadcast  /localhost/nfd/strategy/broadcast
> All of these strategies require some FIB entry to be present, so you definitely has some FIB entry installed by some process.
>> On Feb 26, 2015, at 3:31 PM, Cesar Ghali <cghali at uci.edu> wrote:
>> Hi all,
>> I have a scenario with 3 nodes, consumer, router and producer connected
>> in a line. The consumer requests content /prefix and the producer serves
>> this content. Cache is disabled on all nodes. I did not choose a
>> forwarding strategy using ndn::StrategyChoiceHelper, nor configured FIB
>> manually or automatically. Still, all interests manage to find their way
>> to the producer. I used --visualize and NS_LOG=nfd.BestRouteStrategy2 to
>> confirm this observation.
>> Any idea why this is happening? Is there any default routing strategy
>> that will take place if user don't specify one?
>> Thanks for the help,
>> Cesar
>> --
>> cesarghali.info


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150226/41e10a96/attachment.bin>

More information about the ndnSIM mailing list