[ndnSIM] FIB entry

Alex Afanasyev alexander.afanasyev at ucla.edu
Mon Mar 4 09:38:12 PST 2013


Hi Natalya,

When you're using AddRoute, you can use just a numeric face number, instead of a face object.  This face number is based on device id on the Node, so you can just assume that first NetDevice on this Node will correspond to Face 0, next one to face number 1, etc.

Would this work for you?

--
Alex

On Mar 4, 2013, at 2:06 AM, Natalya Rozhnova <natalya.rozhnova at lip6.fr> wrote:

> Hi Alex,
>  
> Could you tell me please how could I configure two or more faces per prefix in FIB entry? Should I use a manual route configuration?
> I'm actually using the function AddRoute to manually configure FIB entries like ndn::StackHelper.AddRoute(node, prefix, face, metric). But I'm confused how to access to the face from ns3 script?
>  
> Thanks,
> Natalya




More information about the ndnSIM mailing list