Switching to backup Network

@lbutlr kremels at kreme.com
Wed Feb 19 04:47:26 UTC 2020


On 18 Feb 2020, at 13:19, Doug Hardie <bc979 at lafn.org> wrote:
> One of my clients has a machine running 12.1 that is connected via two different NICs to two different WANs.  He has drops from 2 different ISPs to provide redundancy. I have configured each of the DNS names with both IP addresses so that web access will switch over to the backup when the primary is down.  Setfib and pf are used to make that work.  That works fine (although there is a DNS timeout involved).  The problem is that all the servers on the machine talk out via the primary IP address.  While web access continues, the server initiated functions fail because the next hop is down.  Is there a way to switch everything over to the backup network in this case?  I don't find anything that enables automatic changes to the default network.

When we had dual drops, we had a router/switch that managed the link bonding, including routing when one connection went down. This seems the best way to do this, but then again we had multiple machines.


-- 
"Are you pondering what I'm pondering?"
"I think so, Brain, but instant karma's always so lumpy.”




More information about the freebsd-questions mailing list