<div dir="ltr">The similar problem in IP is solved by Administrative Distance (AD), I think we can use the same approach here? <div><br></div><div>Obaid</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 12:54 PM, Lan Wang (lanwang) <span dir="ltr"><<a href="mailto:lanwang@memphis.edu" target="_blank">lanwang@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word">
I don't have a good answer to this question.  I suggest that we discuss this at the next nfd call.
<div><br>
<div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium">
<div style="word-wrap:break-word">
<div>Lan</div>
</div>
</span></div>
<br>
</div>
<div><br>
<div>Begin forwarded message:</div>
<br>
<blockquote type="cite">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:'Helvetica';font-size:medium;color:rgba(0,0,0,1.0)"><b>From:
</b></span><span style="font-family:'Helvetica';font-size:medium"><<a href="mailto:redmine-noreply@named-data.net" target="_blank">redmine-noreply@named-data.net</a>><br>
</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:'Helvetica';font-size:medium;color:rgba(0,0,0,1.0)"><b>Subject:
</b></span><span style="font-family:'Helvetica';font-size:medium"><b>[NFD - Task #2010] RIB cost guidelines</b><br>
</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:'Helvetica';font-size:medium;color:rgba(0,0,0,1.0)"><b>Date:
</b></span><span style="font-family:'Helvetica';font-size:medium">October 7, 2014 11:49:34 AM CDT<br>
</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:'Helvetica';font-size:medium;color:rgba(0,0,0,1.0)"><b>To:
</b></span><span style="font-family:'Helvetica';font-size:medium">Undisclosed recipients:;<br>
</span></div>
<br>
<div style="font-family:Verdana,sans-serif;font-size:0.8em;color:rgb(72,72,72);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Issue #2010 has been updated by Junxiao Shi.
<ul>
</ul>
<p>Routes can come from several sources:</p>
<ul>
<li>static route (manually configured by<span> </span><code>nfdc register</code>)</li><li>intra-domain routing protocol</li><li>inter-domain routing protocol</li><li>local application</li><li>remote prefix registration (laptop registers a prefix on the access router toward the laptop)</li></ul>
<p>The costs from all those sources are not comparable, but forwarding is using an order derived from those costs.</p>
<hr style="width:696px;min-height:1px;background-color:rgb(204,204,204);border:0px;background-repeat:initial initial">
<h1 style="font-family:'Trebuchet MS',Verdana,sans-serif;margin:0px;font-size:1.2em">
<a href="http://redmine.named-data.net/issues/2010#change-5157" style="color:rgb(42,86,133)" target="_blank">Task #2010: RIB cost guidelines</a></h1>
<ul>
<li>Author: Junxiao Shi</li><li>Status: New</li><li>Priority: Normal</li><li>Assignee:</li><li>Category: Docs</li><li>Target version:</li></ul>
<p>Provide guidelines for how routing protocols should assign RIB cost.</p>
<p>Each routing protocol (including static) has its own way to assign costs. Costs from different routing protocols are not necessarily comparable.<br>
Forwarding does not interpret or use Cost assigned by routing protocol, but has access to an ordered list of nexthops in the FIB entry. This order is determined by the Costs of Routes, even if they could come from different routing protocols.</p>
<p>This Task is to provide guidelines on how routing protocols should assign RIB cost, so that Costs from different routing protocols can be comparable.<br>
Some routing protocols may use non-integer costs; the guidelines should recommend how to convert such costs into integers.</p>
<hr style="width:696px;min-height:1px;background-color:rgb(204,204,204);border:0px;background-repeat:initial initial">
<span style="font-size:0.8em;font-style:italic">You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: <a href="http://redmine.named-data.net/my/account" style="color:rgb(42,86,133)" target="_blank">http://redmine.named-data.net/my/account</a></span></div>
</blockquote>
</div>
<br>
</div>
</div>

<br>_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div><br></div>