Task #2010
open
Added by Junxiao Shi about 10 years ago.
Updated about 10 years ago.
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.
Related issues
1 (1 open — 0 closed)
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.
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.
At 20141031 conference call @Lan says:
@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.
- Related to Bug #5152: Problem of assigning link-cost to "zero" for neighbors in Hyperbolic Routing (HR) added
Also available in: Atom
PDF