I have RB450G, and internet connection from my upstream provider via FIBER wire with one public IP on Port-1. As a backup they have provided me with second fiber which I have inserted in rb450g port 2. Right now I have added same ip on both interface and keep one interface disable. When primary fiber goes down, i disable IP on interface 1, and ENABLE IP on interface 2.
How can I automate it? If the provider had given me separate ips or separate gateways I could do it with the script.
Any Advise?