routeros: VRRP failback gap (master returns before its WAN is ready) #128

Open
opened 2026-11-17 03:54:28 +00:00 by ginjiruu · 0 comments
Owner

Measured 2026-11-16 on the new pair (lab/iac#73 swap), host on a CRS309 port, rb5009-a (priority 200, preemption on) rebooted:

event gateway 10.15.1.1 internet 1.1.1.1
failover a -> b 3.3 s 3.5 s
failback b -> a none 1.9 s (0.6 s in an earlier run)

The failback gap shows only on internet traffic, so the likely cause is a taking the gateway back before its PPPoE session and routes are fully up (unconfirmed).

Options:

  • make a's VRRP priority depend on its WAN, for example a netwatch on the PPPoE gateway or 1.1.1.1 that lowers the priority below b's while the WAN is down
  • delay preemption after boot, if RouterOS 7 offers a knob for it (check)
  • turn preemption off, which accepts b staying master until the next b failure

Related, not fixable by VRRP: each router has its own PPPoE public IP, so a failover changes the public IP. Long-lived outbound connections reset, and inbound port forwards wait for cloudflare-ddns.

Search keywords: TODO vrrp failback preempt pppoe.

Measured 2026-11-16 on the new pair (lab/iac#73 swap), host on a CRS309 port, rb5009-a (priority 200, preemption on) rebooted: | event | gateway 10.15.1.1 | internet 1.1.1.1 | |---|---|---| | failover a -> b | 3.3 s | 3.5 s | | failback b -> a | none | 1.9 s (0.6 s in an earlier run) | The failback gap shows only on internet traffic, so the likely cause is a taking the gateway back before its PPPoE session and routes are fully up (unconfirmed). Options: - make a's VRRP priority depend on its WAN, for example a netwatch on the PPPoE gateway or 1.1.1.1 that lowers the priority below b's while the WAN is down - delay preemption after boot, if RouterOS 7 offers a knob for it (check) - turn preemption off, which accepts b staying master until the next b failure Related, not fixable by VRRP: each router has its own PPPoE public IP, so a failover changes the public IP. Long-lived outbound connections reset, and inbound port forwards wait for cloudflare-ddns. Search keywords: TODO vrrp failback preempt pppoe.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/iac#128
No description provided.