OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: LozBoz on August 28, 2023, 04:39:29 PM

Title: dpinger and "Disable Host Route"
Post by: LozBoz on August 28, 2023, 04:39:29 PM
If you use Gateway Monitor IP addresses like 8.8.8.8 & 8.8.84.4 you want to "Disable Host Route" for these addresses otherwise you loose access to a DNS server when the route goes down.

I'm finding if I "Disable Host Route" and ensure the route is removed dpinger will just declare the gateway as up.

I'm guessing dpinger relies on these routes rather than binding the the specific interface and sending out over that interface only.

Title: Re: dpinger and "Disable Host Route"
Post by: nzkiwi68 on August 28, 2023, 10:55:37 PM
You could continue to those 8.8.8.8 & 8.8.4.4 IP addresses for your gateway monitor and for your DNS use something different such as:

or




Title: Re: dpinger and "Disable Host Route"
Post by: franco on August 29, 2023, 10:41:22 AM
> If you use Gateway Monitor IP addresses like 8.8.8.8 & 8.8.84.4 you want to "Disable Host Route" for these addresses otherwise you loose access to a DNS server when the route goes down.

Well, no. If you want to use multi-WAN please set it up correctly:

https://docs.opnsense.org/manual/how-tos/multiwan.html#example-configuration

FWIW, people ask for overrides and stuff like this for a very very specific reason and then the next guy not having that particular issue falls into the trap of using this override to do something that it cannot do.


Cheers,
Franco