Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67011

BGP with BFD has a dropped Connection before peering established

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4.z, rhel-10.0
    • frr
    • None
    • No
    • None
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Issue: https://github.com/FRRouting/frr/issues/17337
      PR: https://github.com/FRRouting/frr/pull/17344

      What were you trying to do that didn't work?

      When doing a BGP Peering with BFD between two FRR peers (peer A and peer B), the BGP is established but the peering takes place twice.

      What is the impact of this issue to you?

      There is feature (Graceful Restart) that will be buggy if that change is not merged.

      Please provide the package NVR for which the bug is seen:

      Observed in upstream FRR

      How reproducible is this bug?:

      Always

      Steps to reproduce

      You need a a peering, with the following

      frr defaults traditional
      hostname frr-k8s-control-plane
      log file /etc/frr/frr.log
      log timestamp precision 3
      no ipv6 forwarding
      service integrated-vtysh-config
      !
      debug bgp keepalives
      debug bgp neighbor-events
      debug bgp nht
      debug bgp updates in
      debug bgp updates out
      debug bgp zebra
      debug bgp bfd
      debug bfd distributed
      debug bfd peer
      debug bfd zebra
      debug bfd network
      !
      router bgp 64512
       no bgp ebgp-requires-policy
       no bgp hard-administrative-reset
       no bgp default ipv4-unicast
       no bgp graceful-restart notification
       no bgp network import-check
       neighbor 172.18.0.3 remote-as 4200000000
       neighbor 172.18.0.3 bfd
       !
       address-family ipv4 unicast
        network 5.5.5.5/32
        neighbor 172.18.0.3 activate
       exit-address-family
       !
       address-family ipv6 unicast
        neighbor 172.18.0.3 activate
       exit-address-family
      exit
      
      
      # Peer B
      router bgp 4200000000
       bgp router-id 172.18.0.3
       no bgp ebgp-requires-policy
       no bgp default ipv4-unicast
       no bgp network import-check
       neighbor 172.18.0.2 remote-as 64512
       neighbor 172.18.0.2 bfd
       neighbor 172.18.0.2 passive
       !
       address-family ipv4 unicast
        neighbor 172.18.0.2 activate
        neighbor 172.18.0.2 next-hop-self
       exit-address-family
      exit
      !
      route-map RMAP permit 10
       set ipv6 next-hop prefer-global
      exit
      !
      end
      
      

      Expected results

      # show neigh
        Connections established 1; dropped 0 <--- 
       
      

      Actual results

        Connections established 2; dropped 1
        Last reset 00:00:39,  Notification sent (Cease/BFD Down)
        External BGP neighbor may be up to 1 hops away.
      

              mruprich@redhat.com Michal Ruprich
              kkarampo@redhat.com Konstantinos Karampogias
              Michal Ruprich Michal Ruprich
              Frantisek Hrdina Frantisek Hrdina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: