-
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
zebra: be consistent about v6 nexthops for v4 routes #16103
Conversation
when does zebra receive a NEXTHOP_TYPE_IPV6 for usage in 5549? |
when ... bgp has regular v6 nexthops to use? I don't think there's any requirement that the v6 addresses be link-locals, is there? we saw this problem with a sonic topology, so using sonic's frr at 8.5.x. |
I was mainly asking to gauge whether or not I wanted to ask for a topotest. I don't mind treating both the same, I am trying to figure out what kind of code coverage we want. |
CI:rerun |
would it be possible to add a small topotest to show that this is working the way we want? |
new rfc 8950 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
waiting on topo test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
Treat TYPE_IPV6 and TYPE_IPV6_IFINDEX nexthops the same way when processing v4 (RFC 5549) routes. Signed-off-by: Mark Stapp <[email protected]>
9430c75
to
0221ed2
Compare
rebased to current master... |
Treat TYPE_IPV6 and TYPE_IPV6_IFINDEX nexthops the same way when processing v4 (RFC 5549) routes. TYPE_IPV6 nexthops were being treated as if the prefix was v6: that causes the zebra 'ip protocol' routemap to fail to match and prevents use of the routemap to set a v4 source address when installing the route. That in turn prevents locally-sourced traffic to the v4 prefix from working correctly.