BFD over OSPFv3 detects a dynamic peer that doesn't activate

I have sucessfully setup a BGP peer for use with OSPFv2 and OSPFv3 and can see the peers active on both sides.
OSPFv2 indicates the BFD status is up (but the timers listed are 300ms, I configured 100ms another problem to look at later)
OSPFv3 indicates the BFD status is down

When I check BFD peers, I see both of my configured peers are active, but on both sides there are link local peers that do not activate

On my near end router, it’s just an OpenWRT linksys running FRR I configure with vtysh, and I can setup the linklocal peers explicitly,.but vyos seems to dump an error if I use link local addresses as of the January 30 nightly.

How can I prevent this dynamic peer so that OSPFv3 will use my static peer like OSPFv2 is since configured linklocal peers don’t work in vyos right now?

So The workaround that works is to just set a profile for the OSPFV2 and OSPFv3 and rely on dynamic peers completely.

However, I’m still seeing the peer timers at 300ms, and I want them to be 100ms

It is cosmetic FRR bug, timers works as expected but displayed 300

1 Like

I removed the solution because after I initially saw a sucessful bfd peer relationship over ipv6, I’m still only seeing dynamic IPv4 peer activate, and the IPv6 link-local dynamic peer is still down. sh ipv ospf nei detail also reflects this, timers notwithstanding.

Is this another “cosmetic” bug and the peer is really “up”

admin@nvrnsdwangw01:~$ sh bfd peers
BFD Peers:
        peer 10.33.23.6 vrf default interface wg1
                ID: 1172404850
                Remote ID: 2382102715
                Active mode
                Status: up
                Uptime: 5 second(s)
                Diagnostics: ok
                Remote diagnostics: ok
                Peer Type: dynamic
                RTT min/avg/max: 0/0/0 usec
                Local timers:
                        Detect-multiplier: 3
                        Receive interval: 100ms
                        Transmission interval: 100ms
                        Echo receive interval: 50ms
                        Echo transmission interval: disabled
                Remote timers:
                        Detect-multiplier: 3
                        Receive interval: 100ms
                        Transmission interval: 100ms
                        Echo receive interval: 50ms

        peer fe80:4:5:1e::c9 local-address fe80::f5d7:aff:fef3:5c2c vrf default interface wg1
                ID: 1088646605
                Remote ID: 1450674347
                Active mode
                Status: init
                Diagnostics: control detection time expired
                Remote diagnostics: ok
                Peer Type: dynamic
                RTT min/avg/max: 0/0/0 usec
                Local timers:
                        Detect-multiplier: 3
                        Receive interval: 100ms
                        Transmission interval: 100ms
                        Echo receive interval: 50ms
                        Echo transmission interval: disabled
                Remote timers:
                        Detect-multiplier: 3
                        Receive interval: 1000ms
                        Transmission interval: 1000ms
                        Echo receive interval: 50ms

admin@nvrnsdwangw01:~$ sh ipv ospf nei det
 Neighbor 192.168.117.4%wg1
    Area 0.0.0.0 via interface wg1 (ifindex 5)
    His IfIndex: 31 Link-local address: fe80:4:5:1e::c9
    State Full for a duration of 00:00:12
    His choice of DR/BDR 0.0.0.0/0.0.0.0, Priority 1
    DbDesc status: Slave SeqNum: 0xa75a0000
    Summary-List: 0 LSAs
    Request-List: 0 LSAs
    Retrans-List: 0 LSAs
    0 Pending LSAs for DbDesc in Time 00:00:00 [thread off]
    0 Pending LSAs for LSReq in Time 00:00:00 [thread off]
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]
  BFD: Type: single hop
  Detect Multiplier: 3, Min Rx interval: 300, Min Tx interval: 300
  Status: Down, Last update: 0:00:00:17

    Authentication header not present
 Neighbor 192.168.117.4%wg2
    Area 0.0.0.0 via interface wg2 (ifindex 6)
    His IfIndex: 34 Link-local address: fe80:4:5:6d::5b
    State Full for a duration of 06:24:37
    His choice of DR/BDR 0.0.0.0/0.0.0.0, Priority 1
    DbDesc status: Slave SeqNum: 0xed000000
    Summary-List: 0 LSAs
    Request-List: 0 LSAs
    Retrans-List: 0 LSAs
    0 Pending LSAs for DbDesc in Time 00:00:00 [thread off]
    0 Pending LSAs for LSReq in Time 00:00:00 [thread off]
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]
    Authentication header not present


Hi,

I have ran into the same issue. I am using JunOS for the remote side. The dynamic OSPFv3 peers do not come up at all; from the VyOS side it looks like this:

        peer fe80::a651:5e07:e712:de00 local-address fe80::87d:aeff:fe8c:7ece vrf default interface bond0.2023
                ID: 3185799249
                Remote ID: 153
                Active mode
                Status: init
                Diagnostics: control detection time expired
                Remote diagnostics: ok
                Peer Type: dynamic
                RTT min/avg/max: 0/0/0 usec
                Local timers:
                        Detect-multiplier: 3
                        Receive interval: 500ms
                        Transmission interval: 500ms
                        Echo receive interval: 50ms
                        Echo transmission interval: disabled
                Remote timers:
                        Detect-multiplier: 3
                        Receive interval: 2000ms
                        Transmission interval: 2000ms
                        Echo receive interval: disabled

From the other side it looks like this:

                                                  Detect   Transmit
Address                  State     Interface      Time     Interval  Multiplier
fe80::87d:aeff:fe8c:7ece Down      irb.2023       0.000     2.000        3
 Client OSPF realm ipv6-unicast Area 0.0.0.0, TX interval 0.200, RX interval 0.200
 Local diagnostic None, remote diagnostic None
 Remote state AdminDown, version 1
 Session type: Single hop BFD
 Min async interval 0.200, min slow interval 2.000
 Adaptive async TX interval 2.000, RX interval 2.000
 Local min TX interval 2.000, minimum RX interval 0.200, multiplier 3
 Remote min TX interval 0.000, min RX interval 0.000, multiplier 0
 Local discriminator 153, remote discriminator 0
 Echo TX interval 2.000, echo detection interval 6.000
 Echo mode disabled/inactiveno-absorb, no-refresh
  Session ID: 970

1 sessions, 1 clients
Cumulative transmit rate 0.5 pps, cumulative receive rate 0.0 pps

Just to confirm I have removed the firewall on both sides to ensure it wasn’t been blocked.

Any of the BFD peers I have manually defined are working fine and the other IPv4 BFD peers that are dynamic also work fine.