<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">10.71.102.53</a></div><div>nfdc register -c <cost2> /ndn udp://<a href="http://10.71.103.63">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 dir="ltr">On Mon, Nov 28, 2016 at 8:34 PM Mohammad Alhowaidi <<a href="mailto:malhowaidi@gmail.com">malhowaidi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">Hello,<br class="gmail_msg"><br class="gmail_msg"></div>I setup the nfd to forward the traffic through the following route:<br class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg">nfdc register /ndn udp://<a href="http://10.71.102.53" class="gmail_msg" target="_blank">10.71.102.53</a><br class="gmail_msg">nfdc register /ndn udp://<a href="http://10.71.103.63" class="gmail_msg" target="_blank">10.71.103.63</a><br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_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="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks,<br class="gmail_msg"></div><div class="gmail_msg">Mohammad<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div>
_______________________________________________<br class="gmail_msg">
Nfd-dev mailing list<br class="gmail_msg">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="gmail_msg" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br class="gmail_msg">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br class="gmail_msg">
</blockquote></div></div>