<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
It depends on the forwarding strategy.  Some strategies (e.g. best route) simply follow the cost assigned by the routing protocol or the operator.  Others (e.g., the new ASF strategy) will probe the available routes in the FIB and pick the best one based on
 RTT.
<div class=""><br class="">
</div>
<div class="">However, if the link to the next hop fails), nfd will remove the entry.  So that one won’t be used any strategy.
<div class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class="">
<div class=""><br class="Apple-interchange-newline">
Lan</div>
</div>
</span></div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 29, 2016, at 10:43 AM, Mohammad Alhowaidi <<a href="mailto:malhowaidi@gmail.com" class="">malhowaidi@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
Thank you for the reply, so we NFD can't do that in a dynamic way. What if the route status change after a while, then NFD will not change the route to select the best-route, right?<br class="">
<br class="">
</div>
Thanks,<br class="">
</div>
Mohammad<br class="">
<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Nov 28, 2016 at 9:16 PM, Hila Ben Abraham <span dir="ltr" class="">
<<a href="mailto:hila@wustl.edu" target="_blank" class="">hila@wustl.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">Hi Mohammad,
<div class=""><br class="">
</div>
<div class="">The forwarding strategy is the one making the next hop selection. Under the assumption that you are using the default best-route strategy, the next hop would be determined by the face cost and not by the link latency. According to my understanding,
 If both links have the same cost then the strategy would choose the first face listed in the FIB.</div>
<div class=""><br class="">
</div>
<div class="">You can use: </div>
<div class="">nfdc register -c <cost1> /ndn udp://<a href="http://10.71.102.53/" target="_blank" class="">10.71.102.53</a></div>
<div class="">nfdc register -c <cost2> /ndn udp://<a href="http://10.71.103.63/" target="_blank" class="">10.71.103.63</a><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">with cost1>cost2 to achieve your expected behavior when using best-route.</div>
<div class=""><br class="">
</div>
<div class="">Hila</div>
<br class="">
<br class="">
<div class="gmail_quote">
<div class="">
<div class="h5">
<div dir="ltr" class="">On Mon, Nov 28, 2016 at 8:34 PM Mohammad Alhowaidi <<a href="mailto:malhowaidi@gmail.com" target="_blank" class="">malhowaidi@gmail.com</a>> wrote:<br class="">
</div>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<div class="h5">
<div dir="ltr" class="m_6193705818493415591gmail_msg">
<div class="m_6193705818493415591gmail_msg">Hello,<br class="m_6193705818493415591gmail_msg">
<br class="m_6193705818493415591gmail_msg">
</div>
I setup the nfd to forward the traffic through the following route:<br class="m_6193705818493415591gmail_msg">
<div class="m_6193705818493415591gmail_msg"><br class="m_6193705818493415591gmail_msg">
nfdc register /ndn udp://<a href="http://10.71.102.53/" class="m_6193705818493415591gmail_msg" target="_blank">10.71.102.53</a><br class="m_6193705818493415591gmail_msg">
nfdc register /ndn udp://<a href="http://10.71.103.63/" class="m_6193705818493415591gmail_msg" target="_blank">10.71.103.63</a><br class="m_6193705818493415591gmail_msg">
<br class="m_6193705818493415591gmail_msg">
</div>
<div class="m_6193705818493415591gmail_msg">The first one has a higher latency but it keep forward through the first one, shouldn't it choose the best route ( the second one since it has lower latency )?<br class="m_6193705818493415591gmail_msg">
<br class="m_6193705818493415591gmail_msg">
</div>
<div class="m_6193705818493415591gmail_msg">Thanks,<br class="m_6193705818493415591gmail_msg">
</div>
<div class="m_6193705818493415591gmail_msg">Mohammad<br class="m_6193705818493415591gmail_msg">
</div>
<div class="m_6193705818493415591gmail_msg"><br class="m_6193705818493415591gmail_msg">
</div>
</div>
</div>
</div>
______________________________<wbr class="">_________________<br class="m_6193705818493415591gmail_msg">
Nfd-dev mailing list<br class="m_6193705818493415591gmail_msg">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="m_6193705818493415591gmail_msg" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br class="m_6193705818493415591gmail_msg">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" class="m_6193705818493415591gmail_msg" target="_blank">http://www.lists.cs.ucla.edu/<wbr class="">mailman/listinfo/nfd-dev</a><br class="m_6193705818493415591gmail_msg">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
Nfd-dev mailing list<br class="">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="">Nfd-dev@lists.cs.ucla.edu</a><br class="">
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>