<div dir="ltr"><div><div><div><br></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><br></div>Thanks,<br></div>Mohammad<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 9:16 PM, Hila Ben Abraham <span dir="ltr"><<a href="mailto:hila@wustl.edu" target="_blank">hila@wustl.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mohammad,<div><br></div><div>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><br></div><div>You can use: </div><div>nfdc register -c <cost1> /ndn udp://<a href="http://10.71.102.53" target="_blank">10.71.102.53</a></div><div>nfdc register -c <cost2> /ndn udp://<a href="http://10.71.103.63" target="_blank">10.71.103.63</a><br></div><div><br></div><div>with cost1>cost2 to achieve your expected behavior when using best-route.</div><div><br></div><div>Hila</div>





<br><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Mon, Nov 28, 2016 at 8:34 PM Mohammad Alhowaidi <<a href="mailto:malhowaidi@gmail.com" target="_blank">malhowaidi@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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>_________________<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>mailman/listinfo/nfd-dev</a><br class="m_6193705818493415591gmail_msg">
</blockquote></div></div>
</blockquote></div><br></div>