Hi,
Im trying to make a failover script. But the problem of using netwatch, host would still be available on the other interface. Can we make a netwatch that would only test connectivity on a specific interface.
Netwatch is useless for failover scripts. Its also useless if I use the check-gateway using routes because gateway or remote peer is active, except that the gateway doesn’t have internet connectivity anymore.
sample:
/tool netwatch add host=8.8.8.8 timeout=60s interval=5s interface=ether1 up-script=e-up down-script=e-down
Hope somebody can solve this one.