Shunwan, On Fri, Oct 12, 2018 at 12:16:39AM +0000, Zhuangshunwan wrote: > > From: GROW [mailto:[email protected]] On Behalf Of Jeffrey Haas > > [Trimming original thread to re-ask my core question.] > > > > On Thu, Oct 11, 2018 at 09:18:17PM +0000, Tim Evens (tievens) wrote: > > > The local RIB in BMP should only contain what is/would be used/installed. > > > > >From where? BGP's best route? The routing table's active route? > > > > > In other words, the local rib sent via BMP should not contain the > > > suppressed prefixes that were not installed due to another routing > > > protocol/direct/static having a better preference. > > > > Which ties into the RFC question about where other protocols are injected > > into the Decision Process. > > > > If you read the RFC as literally saying it's injecting it into the Decision > > Process (section 9.4), the LocRib should be the best route and thus the > > active route regardless of whether it was learned from BGP or not. > > [Shunwan] IMO, the LocRib should include selected and used routes. We can > consider some concrete examples. > Example 1: > If a router enable six parallel load balancing, and now there are 8 available > candidate routes for one destination D. > In this case, there will be 6 routes of the same destination D exist in the > Loc-RIB, but only one of them is the best route.
Loc-Rib in the RFC 4271 sense only covers selecting the best route, singular. The fact that your FIB implementation may balance over that for ECMP purposes is an implementation detail. > Example 2: > If we enable BGP Fast Reroute (FRR) in a router, then there may exist a best > route and a backup/alternate route in BGP for one destination D. > In this case, there will be 2 routes of the same destination D exist in the > Loc-RIB, but only one of them is the best route. Again, Loc-Rib in the RFC 4271 sense would consider only the best route. The implementation is using the contents of the Adj-Rib-In to select additional information for local forwarding purposes. I.e. similar to the ECMP case above. -- Jeff _______________________________________________ GROW mailing list [email protected] https://www.ietf.org/mailman/listinfo/grow
