I will have two physical routes to same ISP (one route is active, and the other is passive for backup)
I will have two CCR1016, one connected to the active route, and the other one connected to the passive (backup) route, both with BGP session with my ISP.
I will use only Public IPs
I will use VRRP between both CCR1016, so just one CCR1016 will be the master and the other one will be the backup. If one CCR1016 die, the other one will take all the traffic and my services will still working.
The problem come when the first route (active route) have a physical cut and is unreachable, in that case in my side all the traffic is still going to Master CCR but the Master CCR dont have internet.
So, how I can configure in my Master Router, the option to detect if the BGP session is interrumped and then move all traffic to Backup CCR or in other words how I can change the state of my Backup Router to a Master Router and vice versa.
Is there a protocol to do that automatically or maybe I can have this working with a script that check ping response to the BGP router in the ISP side and when is unreachable will disable the vrrp1 interface so automatically the Backup Router will be the Master Router.