Actions
Todo #16816
openImprove default gateway detection when gateways share the same address
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Description
In some scenarios it's possible for multiple gateways to share the same gateway IP address. For example a dynamic (DHCP) gateway can pick up the same address as an existing static gateway. It can also happen with PPPoE multi-WAN configurations from the same ISP. The default gateway detection doesn't take these scenarios into account leads to multiple gateways (of the same IP address family) being considered the default gateway; in turn this results in undefined behavior. This can be seen with dpinger monitoring an unused dynamic gateway instead of the configured default static gateway. Update the default gateway detection to ensure a single default gateway per IP address family.
Use the following priority order when multiple default gateways exist that share the same IP address:- Gateway specified in System > Routing > Gateways > Default gateway.
- First gateway group member with the highest priority tier for the default gateway group.
- First configured gateway.
Files
Actions





