Protocol in Code · Track

HA (VRRP+BFD)

two-timescale failure detection racing toward the same failover decision

4 sessions Course material (English)

Sessions

HA (VRRP+BFD) track sessions

Session 01

The Highest Priority Speaks

If several routers share one virtual IP, how does the code decide which one gets to be master?

Open Session 01
Session 02

Silence Means Failure

A VRRP backup never asks "are you alive?" — so how does it decide, correctly, that the master is gone?

Open Session 02
Session 03

Three States, Both Directions

BFD has to agree on "the session is up" between two independent sides — how does a three-state machine reach agreement without a central decision-maker?

Open Session 03
Session 04

Build the Toy Failover Loop

A real HA pair runs both a millisecond-scale detector and a seconds-scale one, watching the same failure at once — what does it actually look like when both are wired to the same pair of routers?

Open Session 04