I have a simple setup with a wireguard tunnel and unnumbered ends. Both OSPF and OSPFv3 work fine. However, when I enable bfd on OSPFv3 it doesn't work. The session never comes online and it remains in some weird state that is different on each end (bfd with ospf work fine).
Here is the status of the end that had bfd enabled first:
r4:~$ show protocols bfd peers Session count: 2 SessionId LocalAddress PeerAddress Status ========= ============ =========== ====== 2276869063 fe80::f1ce:78ff:fead:fb5f fe80::f124:a7ff:fe2c:b392 init 4055480072 23.153.128.145 23.153.128.144 up
r4:~$ show protocols bfd peer fe80::f124:a7ff:fe2c:b392 BFD Peer: peer fe80::f124:a7ff:fe2c:b392 local-address fe80::f03f:e2ff:fe93:5982 vrf default interface wg424 ID: 2276869063 Remote ID: 343292835 Status: init Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Detect-multiplier: 3 Receive interval: 1000ms Transmission interval: 1000ms Echo transmission interval: 50ms
wg424: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1412 qdisc noqueue state UNKNOWN group default qlen 1000 link/none inet 23.153.128.145/31 scope global wg424 valid_lft forever preferred_lft forever inet6 2620:18:6000:cd00::1/128 scope global valid_lft forever preferred_lft forever inet6 fe80::f1ce:78ff:fead:fb5f/64 scope link valid_lft forever preferred_lft forever
and this is from the second:
r24:~$ show protocols bfd peers Session count: 2 SessionId LocalAddress PeerAddress Status ========= ============ =========== ====== 343292835 unknown fe80::f1ce:78ff:fead:fb5f down 1693997098 23.153.128.144 23.153.128.145 up
r24:~$ show protocols bfd peer fe80::f1ce:78ff:fead:fb5f BFD Peer: peer fe80::f1ce:78ff:fead:fb5f local-address fe80::f124:a7ff:fe2c:b392 vrf default interface wg244 ID: 343292835 Remote ID: 0 Status: down Downtime: 32 minute(s), 5 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Detect-multiplier: 3 Receive interval: 1000ms Transmission interval: 1000ms Echo transmission interval: 0ms
wg244: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1412 qdisc noqueue state UNKNOWN group default qlen 1000 link/none inet 23.153.128.144/31 scope global wg244 valid_lft forever preferred_lft forever inet6 2620:18:6000:aa24::1/128 scope global valid_lft forever preferred_lft forever inet6 fe80::fc7d:ceff:fee2:d20a/64 scope link valid_lft forever preferred_lft forever