How to detect WAN gateway is functioning if it is behind a modem?
dims last edited by
I have two ISPs and one of them is accessable via cable modem.
Cable modem is working as DHCP client and doing NAT, so there is one more LAN between me and Internet with this ISP. My LAN is 192.168.10.0/24, while this additional LAN is 192.168.0.0/24. Modem has address 192.168.0.1 in this LAN and pFsense is regarding this address as a gateway.
Once this provider's ISP is down, I can't detect it automatically.
If I ping 192.168.0.1 it is always UP, because modem is UP. This ISP can be down at the very moment.
If I ping 220.127.116.11 it is also always UP, because traffic goes via second ISP
Also I can't know gateway IP behind the modem, because it is provided by DHCP and varies.
How to accomplish?
cmb last edited by
Set the monitor IP to something like 18.104.22.168, then it'll ensure it's bound to that interface.