Task #2010
openRIB cost guidelines
0%
Description
Provide guidelines for how routing protocols should assign RIB cost.
Each routing protocol (including static) has its own way to assign costs.
Costs from different routing protocols are not necessarily comparable.
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.
This Task is to provide guidelines on how routing protocols should assign RIB cost, so that Costs from different routing protocols can be comparable.
Some routing protocols may use non-integer costs; the guidelines should recommend how to convert such costs into integers.
Updated by Lan Wang about 10 years ago
Question is why different routing protocols' costs should be comparable. We won't have multiple intradomain routing protocols running at the same time on the same node. Interdomain and intradomain costs are not supposed to be comparable.
Updated by Junxiao Shi about 10 years ago
Routes can come from several sources:
- static route (manually configured by
nfdc register
) - intra-domain routing protocol
- inter-domain routing protocol
- local application
- remote prefix registration (laptop registers a prefix on the access router toward the laptop)
The costs from all those sources are not comparable, but forwarding is using an order derived from those costs.
Updated by Junxiao Shi about 10 years ago
At 20141031 conference call @Lan says:
- Costs from different routing protocols are never comparable.
- IP's solution is administrative distance: a policy configured by operator.
- Some discussions are on http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2014-October/000521.html thread.
@Beichuan suggests:
Define a range for local applications, and a range for external sources.
The range for local applications is smaller, so that they are preferred.
@Lan thinks this is similar to administrative distance. We are defining the preference of local applications statically.
@Lixia Zhang thinks the main question is to understand what Cost does other parties assign, as a reference of what Cost my application / routing protocol should assign.
Conclusion: we need to gain more experience in network operations before we can solve this problem.
Updated by Junxiao Shi over 3 years ago
- Related to Bug #5152: Problem of assigning link-cost to "zero" for neighbors in Hyperbolic Routing (HR) added