I have a 81.20 ClusterXL gateway. It has two interfaces to 2 different ISPs. I receive a default 0.0.0.0/0 route from each one, but using local preference - prefer my 1st ISP.
There have been times where the 1st ISP has an upstream failure, but the BGP session remains up. Therefore, internet connectivity drops.
What is the best way for me to detect this failure and flip the default route (by way of local preference I guess) and then if ISP1 comes back - flip it back. Would this require a script of somes sort?