Bug #12721
closedIPv6 gateway group using link local addresses incorrectly logs a gateway change because it not including interface scope properly
0%
Description
Change `get_gwgroup_memebers()` to include the interface in link-local IPv6 addresses. This way, the `gwip` value will match the return value of `route_get_default()`. The mismatch was causing `fixup_default_gateway()` to spam "Gateway, switch to: XXX" when default IPv6 gateway was set to a Gateway Group.
Updated by Loren McQuade almost 3 years ago
Updated by Jim Pingle almost 3 years ago
- Target version set to 2.7.0
- Plus Target Version set to 22.05
Updated by Viktor Gurov almost 3 years ago
- Status changed from Pull Request Review to Feedback
Updated by Jim Pingle over 2 years ago
- Subject changed from Change get_gwgroup_members to include interface in link-local IPv6 addresses to IPv6 gateway group using link local addresses incorrectly logs a gateway change because it not including interface scope properly
Updating subject for release notes.
Updated by Loren McQuade over 2 years ago
I see you have assigned this back to me, but I am unsure of what further action is needed on my part. I can verify after 22.05 ships, but that seems like it could be too late.
Updated by Jim Pingle over 2 years ago
It lacked an assignee before, mostly it's for tracking who fixed the issue.
Ideally we'd like feedback from someone who could reproduce the problem before to know if it's fixed, but they'd have to be testing it on a 22.05 (or recent 2.7.0) snapshot.
If you could give some guidance about how to reproduce the issue and confirm that it's working properly now, others may be able to test it if you cannot.
Updated by Loren McQuade over 2 years ago
How to verify that this change is working:
1) Create gateway group "WAN_IPv6" which contains:
Tier 1: WAN1 (my gateway has a link-local fe80:: address)
Tier 2: WAN2
2) Set "Default gateway IPv6" to "WAN_IPv6" group
3) Go to "System Logs/Gateways" and verify not getting spammed with gateway switch messages, even when gateway is not changing:
"Gateway, switch to: XXX"
Updated by Jim Pingle over 2 years ago
- Status changed from Feedback to Resolved
Seems to be OK on the latest snapshot. I can't reproduce the problem there. Failover group with two IPv6 tiers, both are fe80 gateways, Group set as default. Gateways show online, group shows online, no log messages about the gateway switching.