-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Describe the bug
Connected routes are not advertised to the peer when BGP suppress-fib-pending is enabled:
Building configuration...
Current configuration:
!
frr version 8.5-dev
frr defaults traditional
hostname r-tigon-04
log stdout
fpm address 127.0.0.1
no fpm use-next-hop-groups
no service integrated-vtysh-config
!
password zebra
enable password zebra
!
ipv6 route fc00:1::/64 Loopback0
!
router bgp 64601
bgp router-id 10.1.0.32
bgp suppress-fib-pending
bgp log-neighbor-changes
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
bgp graceful-restart restart-time 240
bgp graceful-restart select-defer-time 45
bgp graceful-restart
bgp graceful-restart preserve-fw-state
bgp bestpath as-path multipath-relax
neighbor BGPSLBPassive peer-group
neighbor BGPSLBPassive remote-as 65432
neighbor BGPSLBPassive passive
neighbor BGPSLBPassive ebgp-multihop 255
neighbor BGPSLBPassive update-source 10.1.0.32
neighbor BGPVac peer-group
neighbor BGPVac remote-as 65432
neighbor BGPVac passive
neighbor BGPVac ebgp-multihop 255
neighbor BGPVac update-source 10.1.0.32
neighbor PEER_V4 peer-group
neighbor PEER_V6 peer-group
neighbor 10.0.0.1 remote-as 64802
neighbor 10.0.0.1 peer-group PEER_V4
neighbor 10.0.0.1 description ARISTA01T1
neighbor 10.0.0.1 timers 3 10
neighbor 10.0.0.1 timers connect 10
neighbor 10.0.0.5 remote-as 64802
neighbor 10.0.0.5 peer-group PEER_V4
neighbor 10.0.0.5 timers 3 10
neighbor 10.0.0.5 timers connect 10
bgp listen range 10.255.0.0/25 peer-group BGPSLBPassive
bgp listen range 192.168.0.0/21 peer-group BGPVac
!
address-family ipv4 unicast
network 10.1.0.32/32
network 192.168.0.0/21
neighbor BGPSLBPassive activate
neighbor BGPSLBPassive soft-reconfiguration inbound
neighbor BGPSLBPassive route-map FROM_BGP_SPEAKER in
neighbor BGPSLBPassive route-map TO_BGP_SPEAKER out
neighbor BGPVac activate
neighbor BGPVac soft-reconfiguration inbound
neighbor BGPVac route-map FROM_BGP_SPEAKER in
neighbor BGPVac route-map TO_BGP_SPEAKER out
neighbor PEER_V4 soft-reconfiguration inbound
neighbor PEER_V4 allowas-in 1
neighbor PEER_V4 route-map FROM_BGP_PEER_V4 in
neighbor PEER_V4 route-map TO_BGP_PEER_V4 out
neighbor 10.0.0.1 activate
neighbor 10.0.0.5 activate
maximum-paths 64
exit-address-family
!
address-family ipv6 unicast
network fc00:1::/64
network fc02:1000::/64
neighbor BGPSLBPassive activate
neighbor BGPVac activate
neighbor PEER_V6 soft-reconfiguration inbound
neighbor PEER_V6 allowas-in 1
neighbor PEER_V6 route-map FROM_BGP_PEER_V6 in
neighbor PEER_V6 route-map TO_BGP_PEER_V6 out
maximum-paths 64
exit-address-family
exit
!
ip prefix-list PL_LoopbackV4 seq 5 permit 10.1.0.32/32
ip prefix-list LOCAL_VLAN_IPV4_PREFIX seq 5 permit 192.168.0.0/21
!
ipv6 prefix-list PL_LoopbackV6 seq 5 permit fc00:1::/64
ipv6 prefix-list LOCAL_VLAN_IPV6_PREFIX seq 10 permit fc02:1000::/64
!
bgp community-list standard allow_list_default_community seq 5 permit no-export
bgp community-list standard allow_list_default_community seq 10 permit 5060:12345
!
route-map ALLOW_LIST_DEPLOYMENT_ID_0_V4 permit 65535
set community 5060:12345 additive
exit
!
route-map ALLOW_LIST_DEPLOYMENT_ID_0_V6 permit 65535
set community 5060:12345 additive
exit
!
route-map FROM_BGP_PEER_V4 permit 10
call ALLOW_LIST_DEPLOYMENT_ID_0_V4
on-match next
exit
!
route-map FROM_BGP_PEER_V4 permit 11
match community allow_list_default_community
exit
!
route-map FROM_BGP_PEER_V4 permit 100
exit
!
route-map FROM_BGP_PEER_V6 permit 1
on-match next
set ipv6 next-hop prefer-global
exit
!
route-map FROM_BGP_PEER_V6 permit 10
call ALLOW_LIST_DEPLOYMENT_ID_0_V6
on-match next
exit
!
route-map FROM_BGP_PEER_V6 permit 11
match community allow_list_default_community
exit
!
route-map FROM_BGP_PEER_V6 permit 100
exit
!
route-map TO_BGP_PEER_V4 permit 100
exit
!
route-map TO_BGP_PEER_V6 permit 100
exit
!
route-map FROM_BGP_SPEAKER permit 10
exit
!
route-map TO_BGP_SPEAKER deny 1
exit
!
route-map RM_SET_SRC permit 10
set src 10.1.0.32
exit
!
route-map RM_SET_SRC6 permit 10
set src fc00:1::32
exit
!
ip nht resolve-via-default
!
ip protocol bgp route-map RM_SET_SRC
!
ipv6 protocol bgp route-map RM_SET_SRC6
!
end
10.1.0.32/32 and 192.168.0.0/21 are not advertised to the peer:
ARISTA01T1#show ip bgp neighbors 10.0.0.0 received-routes
BGP routing table information for VRF default
Router identifier 100.1.0.1, local AS number 64802
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
Vs. when suppression is disabled:
ARISTA01T1#show ip bgp neighbors 10.0.0.0 received-routes
BGP routing table information for VRF default
Router identifier 100.1.0.1, local AS number 64802
Route status codes: s - suppressed, * - valid, > - active, # - not installed, E - ECMP head, e - ECMP
S - Stale, c - Contributing to ECMP, b - backup, L - labeled-unicast
Origin codes: i - IGP, e - EGP, ? - incomplete
AS Path Attributes: Or-ID - Originator ID, C-LST - Cluster List, LL Nexthop - Link Local Nexthop
Network Next Hop Metric LocPref Weight Path
* > 10.1.0.32/32 10.0.0.0 0 - - 64601 i
* > 192.168.0.0/21 10.0.0.0 0 - - 64601 i
- Did you check if this is a duplicate issue?
- Did you test it on the latest FRRouting/frr master branch?
To Reproduce
Enable "bgp suppress-fib-pending" and see connected routes are not advertised to the peer.
Expected behavior
Connected routes are advertised, like when suppress-fib-pending is disabled.
Screenshots
Versions
- OS Version: Debian 11.5 (SONiC distro)
- Kernel: 5.10.0-12-2-amd64
- FRR Version: branch dev/8.4. Commit hash 762e955
Additional context
Reactions are currently unavailable