[ndnSIM] FIB entry

Alex Afanasyev alexander.afanasyev at ucla.edu
Mon Mar 4 10:45:02 PST 2013


Honestly, I don't know the answer to your question... You can try asking the same question to ns3 mailing list (https://groups.google.com/forum/?fromgroups#!forum/ns-3-users), they may have better understanding of PointToPointNetDevice behavior...

---
Alex 

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

> Yeah, I think I found the correct face numbers :-)
> Thanks!
> I have another question please, just to ask you for a hint. Sometimes I have a situation when output queue is not empty but dequeue function returns 0 (because of scheduler), in this case if there is no incoming packets, PointToPointNetDevice thinks that this queue is empty and does not call dequeue function anymore(what is logical though). How could I make network device to call dequeue function in this situation?
>  
> Natalya
>  
> 05.03.2013, 01:08, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>:
> If you're using AnnotatedTopologyReader from the example (http://ndnsim.net/examples.html#node-2-bottleneck-topology-with-custom-forwarding-strategy), then there you can use yet another version of AddRoute:
>  
> ndn::StackHelper::AddRoute ("src-node-name", "/prefix", "next-hop-node-name", metric); 
>  
> You can simply modify weights in the example scenario.
>  
> ---
>  
> Regarding GlobalRouting controller.  The currently available method CalculateRoutes calculates only one route per destination.  I have an extended (and highly experimental) version of it that implements a simple heuristic to calculate alternative routes, but you should be very cautious using this method (it can be very time consuming).
>  
> ---
> Alex
> 
> On Mar 4, 2013, at 9:58 AM, Natalya Rozhnova <natalya.rozhnova at lip6.fr> wrote:
> 
> Hi Alex,
>  
> It was the first thing I tried to do... I'm a little bit confused with the face numeration. I'm trying the differents settings but the routes are not computed correctly. Probably it's my fault. I'd like to use something similar to the topology from your example here http://ndnsim.net/_images/aafig-64086469224a310d06aeda159c9fd70f5aebbe08.svg and use different metrics for shortest and longest paths at router 1. Does GlobalRouting allow compute this routes and their costs automatically?
>  
> Thanks,
> Natalya
>  
> 05.03.2013, 00:38, "Alex Afanasyev" <alexander.afanasyev at ucla.edu>:
> 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
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130304/31715263/attachment.html>


More information about the ndnSIM mailing list