2.1.1-PRERELEASE (i386)
built on Sun Feb 2 12:42:30 EST 2014
FreeBSD 8.3-RELEASE-p14
All is well. I tried pulling out the phone line on the ADSL (default gateway), the dynamic DNS name, OpenVPN road warrior server and 2 OpenVPN site-2-site clients all switched to using OPT1. Plugged in the phone line again, ADSL negotiated, apinger detected the WAN online again, everything failed back.
Pulled the cable on OPT1 (which had general internet traffic directed to it as tier1 of a gateway group). General browsing failed over to WAN. OpenVPN server and clients remained running untouched (as they should because they were already on WAN - so no need to restart them).
During messing about, ADSL WAN went down by itself - had some minutes with both WAN and OPT1 down, and things recovered fine from that as links became available again. Always good to have the ISP give you a real test ;)
Gateways log tab has nice clean entries like this:
Feb 3 10:24:32 apinger: Starting Alarm Pinger, apinger(28478)
Feb 3 10:30:25 apinger: SIGHUP received, reloading configuration.
Feb 3 10:52:28 apinger: ALARM: WANGW(8.8.8.8) *** down ***
Feb 3 11:00:52 apinger: alarm canceled: WANGW(8.8.8.8) *** down ***
Feb 3 11:08:57 apinger: ALARM: WANGW(8.8.8.8) *** down ***
Feb 3 11:09:10 apinger: ALARM: OPT1GW(8.8.4.4) *** OPT1GWdown ***
Feb 3 11:10:49 apinger: SIGHUP received, reloading configuration.
Feb 3 11:12:59 apinger: alarm canceled: WANGW(8.8.8.8) *** down ***
Feb 3 11:20:12 apinger: SIGHUP received, reloading configuration.
Feb 3 11:20:23 apinger: alarm canceled: OPT1GW(8.8.4.4) *** OPT1GWdown ***