My WAN load balancing config is
wan {
flush-connections
interface-health eth0 {
nexthop dhcp
}
interface-health eth2 {
nexthop 192.168.88.1
test 1 {
target 8.8.8.8
}
}
rule 1 {
failover
inbound-interface eth1
interface eth0 {
weight 2
}
interface eth2 {
weight 1
}
}
}
The WAN on eth2
is using a local bridge so it’s not really helpful to test if the next-hop is pingable to know whether to keep it active. So this is why it has a test to ping 8.8.8.8
.
Yet when I run the show wan-load-balance
command it flips between the following two.
With the latter being shown most of the time.
Interface: eth2
Status: failed
Last Status Change: Tue May 7 18:40:27 2024
-Test: ping Target: 8.8.8.8
Last Interface Success: n/a
Last Interface Failure: 0s
# Interface Failure(s): 917
Interface: eth2
Status: active
Last Status Change: Tue May 7 17:27:27 2024
+Test: ping Target: 192.168.88.1
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
Why is the health check still testing the next-hop IP when that’s not listed in the tests. And why does it flip between tests when running the show command?
I’m running the 1.4.0-epa2
build on this box.
It seems like a bug, but because this is my first time trying to use this feature I’m not confident it’s not just a misunderstanding or user error.