Hi
we currently have two border routers (each linked to 3 ISPs with individual BGP peers)
VRRP is configured on our networks
I would like to apply delay (2-3 mins) when VRRP comes from backup mode to master because BGP sessions takes 2-3 mins to pull all BGP routes.
example: when R1 is restarted /shutdown R2 becomes VRRP master (everything transfers within 1-2 secs), when R1 comes back on becomes the VRRP master however the BGP sessions take 2-3 mins to download all routes - within those 2-3 mins the outbound traffic does not work.
thank you
If you don’t care which router becomes the master, you can just use preemption-mode=no and that would solve the problem. You could fail it over manually once everything settles.
Otherwise, I don’t see a way to do it. I’m doing this at work but the routers I’m using have a preemption delay which does what you want.
Maybe you could write a script for when the router boots to set vrrp priority to something pretty low, then wait a few minutes, then set it back to it’s original value?
After thinking about this for a minute, this should be a feature request.
A delay after a reboot solves not only the problem you want to solve, but can also solve “flapping” if one router has a problem and starts rebooting itself. It’s a nice feature to have.