OSPFv3 NSSA: redistributed kernel route wrongly shows as directly connected #11738
Open
Description
Describe the bug
- [ x] Did you check if this is a duplicate issue?
- Did you test it on the latest FRRouting/frr master branch?
To Reproduce
- OSPFv3 NSSA containing router1 (frrouting), router2 (frrouting) and router3 (Cisco IOS)
- router1 has kernel route to fd00::/64 and redistributes this route via OSPFv3
- router2 has kernel route to fd01::/64 and redistributes this route via OSPFv3
- router3 correctly shows router1 as nexthop for fd00::/64 and router2 as nexthop for fd01::/64.
- router 1 wrongly shows fd01::/64 as directly connected.
- router 2 wrongly shows fd00::/64 as directly connected.
- Happens when the area is a Not So Stubby Area (NSSA) and only affects OSPFv3
Expected behavior
- router 1 shows router 2 as nexthop for fd01::/64.
- router 2 shows router 1 as nexthop for fd00::/64.
Versions
- OS Version: RHEL8.6, RHEL9.0
- Kernel: 4.18, 5.14
- FRR Version: 8.2.2, 8.3