-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routed v6 prefix not announced via OSPF #14462
Comments
Can you provide the output of |
I grepped for the prefixes, if yyou need sth other please write me what you need.
And just to be clear again, it's just the routed prefix 2a00:TTT:XXX::/126 which cannot been seen on other routers.
|
Can you get the detailed contents of the following LSAs:
|
Ideally from both FRR 8.5.3 and from FRR 9.0.1 |
These are the LSA details. sh ipv6 ospf6 database detail
There are no intra-prefix LSAs root@: FRR 8.5.2
Obviously the F bit is set @frr9 and @FRR8.5 not |
The OSPFv3 RFC (5340) doesn't give much guidance around when the Forwarding address should be set, aside from the requirement for the F bit to be set along with it:
It does reference following the procedures from OSPFv2, so I went back to RFC 2328. The only real guidance I could see is that when calculating an AS-External LSA that a non-zero forwarding address must be resolved via an intra-area or inter-area path:
There's no explicit statement that the FA should only be set when the next-hop of the external route is known via a link advertised in OSPF, just that it should be set the the next-hop of a router in another autonomous system. If you enable OSPF on the interface where your static routes point to (probably as passive), is your route installation issue resolved? |
Yes, if we activate ospf6
the route is advertised to the Junipers and we see the prefix there. |
I think it would be reasonable for the FA/F-bit to only be set in External LSAs if the redistributed next-hop is known via an interface with OSPF enabled (i.e. only set F-bit if we know the FA will actually be usable by downstream OSPF routers), but it's not coded that way today and I'm not familiar with the ospf6d code. Looking back through the git log (I have not done a git bisect or tested the functionality directly), it seems like this commit may have been where this was introduced:
@rwestphal does this ring a bell to you? If so, do you think it's feasible to do a check if the nexthop interface has OSPF enabled before adding the Forwarding Address? |
When redistributing a local route, ensure the forwarding address field of AS-External LSAs is only set when the associated nexthop interface is OSPF-enabled. This is necessary because the OSPF RFC requires that the AS-External LSA forwarding address should be resolvable using an intra-area or inter-area path. Fixes FRRouting#14462. Signed-off-by: Renato Westphal <[email protected]>
When redistributing a local route, ensure the forwarding address field of AS-External LSAs is only set when the associated nexthop interface is OSPF-enabled. This is necessary because the OSPF RFC requires that the AS-External LSA forwarding address should be resolvable using an intra-area or inter-area path. Fixes #14462. Signed-off-by: Renato Westphal <[email protected]> (cherry picked from commit 331ae6a)
When redistributing a local route, ensure the forwarding address field of AS-External LSAs is only set when the associated nexthop interface is OSPF-enabled. This is necessary because the OSPF RFC requires that the AS-External LSA forwarding address should be resolvable using an intra-area or inter-area path. Fixes #14462. Signed-off-by: Renato Westphal <[email protected]> (cherry picked from commit 331ae6a)
When redistributing a local route, ensure the forwarding address field of AS-External LSAs is only set when the associated nexthop interface is OSPF-enabled. This is necessary because the OSPF RFC requires that the AS-External LSA forwarding address should be resolvable using an intra-area or inter-area path. Fixes #14462. Signed-off-by: Renato Westphal <[email protected]> (cherry picked from commit 331ae6a) # Conflicts: # ospf6d/ospf6_asbr.c
FRR VERSION: 9.0.1 (from Repo)
OPERATING SYSTEM VERSION: Ubuntu 22.04
KERNEL VERSION: 6.2.0-33-generic x86_64
[x ] Did you check if this is a duplicate issue?
Did you test it on the latest FRRouting/frr master branch?
We have a problem with routed v6 prefixes. If we route a v6 prefix to another v6 address the prefix is not announced via OSPF.
In example: 2a00:TTT:XXX::/126 is routed to 2a00:TTT:YYY::2 on our edge router
With FRR 8.5.3 we can see the prefix via OSPF on our core router:
With FRR 9.0.1 the prefix is not exported via OSPF
We don't see anything in the logs and no errors occuring.
FRR Config
The text was updated successfully, but these errors were encountered: