I configured a gateway group and set it one of my network segments, but then I tested by marking the main gateway as down, the default gateway switched over to the backup gateway and everything continued working. Removing the marked down setting from the gateway caused the default to switch back to it and everything transferred back to it.What is the benefit of using gateway groups for a failover configuration? From what I can tell, if I wanted to do load balancing then the groups would be required but I'm not sure what I'm missing for a simple failover.
WAN FailoverWAN failover automatically switches between WAN connections in case of connectivity loss (or high latency) of your primary ISP. As long as the connection is not good all traffic will be routed of the next available ISP/WAN connection and when connectivity is fully restored so will the routing switch back to the primary ISP.
Maybe exactly this QuoteWAN FailoverWAN failover automatically switches between WAN connections in case of connectivity loss (or high latency) of your primary ISP. As long as the connection is not good all traffic will be routed of the next available ISP/WAN connection and when connectivity is fully restored so will the routing switch back to the primary ISP.For me it means you have "preemption" when using GW groups vs when you have not.
> and when connectivity is fully restored so will the routing switch back to the primary ISP.The docs are correct, but lack finesse in the wording WRT established connections and perhaps the use of sticky-address option.
> In pfsense, you can use a failover gateway group as a default gateway so switching happens with that.[citation needed]
> But why isn't the gateway priority kicking in when the primary connection goes back onlineWhy should it? The connection is established and working.
If the expectation from the approach taken matches the implementation done there is another question. Cheers,Franco
0sMONITOR: WAN_DHCP (Alarm: none -> loss RTT: 11.4 ms RTTd: 1.9 ms Loss: 12.0 %)MONITOR: WAN_DHCP6 (Alarm: none -> loss RTT: 35.7 ms RTTd: 54.1 ms Loss: 12.0 %)5sALERT: WAN_DHCP (Alarm: loss -> down RTT: 11.5 ms RTTd: 1.9 ms Loss: 21.0 %)ALERT: WAN_DHCP6 (Alarm: loss -> down RTT: 34.4 ms RTTd: 53.5 ms Loss: 21.0 %)reconfiguriging routing due to gateway alarm/usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults/usr/local/etc/rc.routing_configure: ROUTING: ignoring down gateways: WAN_DHCP, WAN_DHCP6/usr/local/etc/rc.routing_configure: ROUTING: configuring inet default gateway on WAN2/usr/local/etc/rc.routing_configure: ROUTING: setting inet default route to WAN2_DHCP_GW/usr/local/etc/rc.routing_configure: ROUTING: configuring inet6 default gateway on WAN2/usr/local/etc/rc.routing_configure: ROUTING: keeping inet6 default route to WAN2_DHCP6_GW130sALERT: WAN_DHCP (Alarm: down -> delay RTT: 485.4 ms RTTd: 1473.6 ms Loss: 0.0 %)reconfiguriging routing due to gateway alarm/usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults/usr/local/etc/rc.routing_configure: ROUTING: configuring inet default gateway on wan/usr/local/etc/rc.routing_configure: ROUTING: setting inet default route to WAN_DHCP_GW/usr/local/etc/rc.routing_configure: ROUTING: configuring inet6 default gateway on wan/usr/local/etc/rc.routing_configure: ROUTING: setting inet6 default route to WAN_DHCP6_GW141sMONITOR: WAN_DHCP (Alarm: delay -> none RTT: 10.8 ms RTTd: 0.8 ms Loss: 0.0 %)ALERT: WAN_DHCP6 (Alarm: down -> none RTT: 34.9 ms RTTd: 71.8 ms Loss: 1.0 %)reconfiguriging routing due to gateway alarm/usr/local/etc/rc.routing_configure: ROUTING: entering configure using defaults/usr/local/etc/rc.routing_configure: ROUTING: configuring inet default gateway on wan/usr/local/etc/rc.routing_configure: ROUTING: keeping inet default route to WAN_DHCP_GW/usr/local/etc/rc.routing_configure: ROUTING: configuring inet6 default gateway on wan/usr/local/etc/rc.routing_configure: ROUTING: keeping inet6 default route to WAN_DHCP6_GW