Dual WAN failover Unknown gateway status - dpinger, No route to host (sendto error: 65)
-
Here in Texas the power will go out from time to time. The problem manifests when the telecom ONT has a power loss and the rest of my network stays up (while on battery). It should in theory failover to the 4G WAN2 backup, but pfSense never actually declares the fiber WAN as DOWN in this scenario.
In the GUI the gateway status gets stuck as
Gathering Data
orUnknown
. I've gone as far as cranking down the thresholds but it doesn't seem to make any difference.I do see the loss hitting 100%:
Sep 16 18:59:39 rc.gateway_alarm 1196 >>> Gateway alarm: WAN_DHCP (Addr:9.9.9.9 Alarm:1 RTT:0ms RTTsd:0ms Loss:100%)
If I pull the RJ45 out of the interface or manually mark it as down the gateway will declare itself as such correctly and switch to the the cellular WAN.
Running
2.7.2-RELEASE
on a Netgate device.
Additional screenshots of the config
Debug from
System Logs->System->Gateways
:Sep 16 19:04:56 dpinger 9404 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 19:04:56 dpinger 9048 send_interval 250ms loss_interval 1000ms time_period 2000ms report_interval 0ms data_len 1 alert_interval 500ms latency_alarm 500ms loss_alarm 99% alarm_hold 5000ms dest_addr 9.9.9.9 bind_addr -IP REDACTED- identifier "WAN_DHCP " Sep 16 19:04:56 dpinger 12831 exiting on signal 15 Sep 16 19:04:48 dpinger 12831 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 19:04:48 dpinger 3264 exiting on signal 15 Sep 16 19:04:48 dpinger 2776 exiting on signal 15 Sep 16 19:04:48 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:47 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:47 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:47 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:47 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:46 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:46 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:46 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:46 dpinger 2776 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:39 dpinger 3264 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 19:04:39 dpinger 2776 send_interval 250ms loss_interval 1000ms time_period 2000ms report_interval 0ms data_len 1 alert_interval 500ms latency_alarm 500ms loss_alarm 99% alarm_hold 5000ms dest_addr 9.9.9.9 bind_addr -IP REDACTED- identifier "WAN_DHCP " Sep 16 19:04:39 dpinger 98538 exiting on signal 15 Sep 16 19:04:31 dpinger 98538 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 19:04:31 dpinger 7498 exiting on signal 15 Sep 16 19:04:31 dpinger 7153 exiting on signal 15 Sep 16 19:04:31 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:30 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:30 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:30 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:30 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:29 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:29 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:29 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:29 dpinger 7153 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 19:04:22 dpinger 7498 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 19:04:22 dpinger 7153 send_interval 250ms loss_interval 1000ms time_period 2000ms report_interval 0ms data_len 1 alert_interval 500ms latency_alarm 500ms loss_alarm 99% alarm_hold 5000ms dest_addr 9.9.9.9 bind_addr -IP REDACTED- identifier "WAN_DHCP " Sep 16 19:04:22 dpinger 62609 exiting on signal 15 Sep 16 18:59:40 dpinger 62609 send_interval 2000ms loss_interval 10000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 5000ms latency_alarm 4000ms loss_alarm 80% alarm_hold 50000ms dest_addr 1.1.1.1 bind_addr 192.168.100.100 identifier "WAN_FAILOVER_GATEWAY " Sep 16 18:59:40 dpinger 96472 exiting on signal 15 Sep 16 18:59:40 dpinger 96372 exiting on signal 15 Sep 16 18:59:40 dpinger 96372 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 18:59:40 dpinger 96372 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 18:59:39 dpinger 96372 WAN_DHCP 9.9.9.9: sendto error: 65 Sep 16 18:59:39 dpinger 96372 WAN_DHCP 9.9.9.9: Alarm latency 0us stddev 0us loss 100%