[ndnSIM] Setting up link metric

Ahmed Sadek don1559 at gmail.com
Sat Feb 20 02:58:41 PST 2016


Hi Spyridon ,

Thank you for your reply. I still don't understand. If using the FibHelper
I set the *metric *between client 1-> Router 1 to be 100 and in the
topology file I set up the *metric *between client 1-> Router 1 to be 200,
so which one takes effect and why ?

Thanks!
Ahmed

On Sat, Feb 20, 2016 at 4:49 AM, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> wrote:

> Hi Ahmed,
>
> the first case refers to the establishment of a route that may be used for
> Interest forwarding. Specifically, the FibHelper will add the appropriate
> FIB entries on the routers across the specified path.
>
> The second case refers to the physical properties (bandwidth, delay, queue
> size) of a link between two adjacent nodes.
>
> Hope that this helps. Please let me know if you have any follow-up
> questions.
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
>
>
>
> On Feb 16, 2016, at 3:48 AM, Ahmed Sadek <don1559 at gmail.com> wrote:
>
> Dear All,
>
> What is the difference between setting up the metric in the simulation
> file :
> ndn::FibHelper::AddRoute("client", "/", "router1", 150);
>
> Or in the topology file:
> # srcNode   dstNode     bandwidth   metric  delay   queue
> client      router1       20Mbps 150 50ms 50
>
> And which one take priority?
>
> Thanks!
> Ahmed
> _______________________________________________
> 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/20160220/4f23b986/attachment.html>


More information about the ndnSIM mailing list