[ndnSIM] FIB Manual Configuration
Alex Afanasyev
alexander.afanasyev at ucla.edu
Thu Feb 26 15:43:43 PST 2015
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: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150226/3d054163/attachment.bin>
More information about the ndnSIM
mailing list