Bug 2229563 - [RFE] FRR should have a configuration option that allows BGP receive routing preferred to default routing.
Summary: [RFE] FRR should have a configuration option that allows BGP receive routing ...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: frr
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Michal Ruprich
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-07 02:36 UTC by Keigo Noha
Modified: 2023-08-07 07:28 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164684 0 None None None 2023-08-07 02:37:52 UTC

Description Keigo Noha 2023-08-07 02:36:10 UTC
Description of problem:
FRR should have a configuration option that allows BGP receive routing preferred to default routing.

Currently, FRR defines the route selection as below.
~~~
Route Selection
The route selection process used by FRR’s BGP implementation uses the following decision criterion, starting at the top of the list and going towards the bottom until one of the factors can be used.

Weight check

Prefer higher local weight routes to lower routes.

Local preference check

Prefer higher local preference routes to lower.

If bgp bestpath aigp is enabled, and both paths that are compared have AIGP attribute, BGP uses AIGP tie-breaking unless both of the paths have the AIGP metric attribute. This means that the AIGP attribute is not evaluated during the best path selection process between two paths when one path does not have the AIGP attribute.

Local route check

Prefer local routes (statics, aggregates, redistributed) to received routes.
~~~
ref. https://docs.frrouting.org/en/latest/bgp.html

In IPv6 environment, default routing is provided by IPv6 router advertisement.
However, some environments don't prefer to use default router than BGP routing.
For such environment, FRR should have an option to configure BGP routing is preferred than default routing.


Note You need to log in before you can comment on or make changes to this bug.