Redundancy and recovery drills
Keep the gateway identity stable
A first-hop redundancy protocol (FHRP) can keep a shared gateway identity available when one router fails. VRRP version 3 is specified by RFC 9568, which replaces RFC 5798; IPv4 and IPv6 have independent virtual-router instances. In the fictional IPv4 subnet 10.58.1.0/24, hosts use virtual gateway 10.58.1.1; R1 owns physical address .2 and R2 .3. Assume non-address-owning VRRP participants with priorities 150 and 100 and healthy advertisements. R1 is initially active; R2 is backup. With R1 unavailable, R2 assumes responsibility after the applicable election conditions. The shared gateway does not prove upstream reachability. Track upstream health when the chosen implementation supports it, and verify both address families separately. This is a diagram, not a VRRP configuration or timer simulator.
Clients -> virtual gateway 10.58.1.1R1 10.58.1.2 active (priority 150)R2 10.58.1.3 backup (priority 100)R1 and R2 -> upstream paths -> records serviceCheck capacity and flow distribution
The two upstream paths have usable capacity 100 Mbit/s each. Essential traffic is 70 Mbit/s and deferrable traffic is 50. With both paths available, equal-cost multipath (ECMP) may distribute flows using a hash of header fields, depending on implementation. Aggregate capacity 200 does not guarantee every flow is balanced: one flow assigned to a single 100 Mbit/s path cannot obtain 200. If one path fails, essential traffic fits with 30 Mbit/s spare, but all 120 does not. Stop or defer the nonessential traffic under an approved policy. Both links share an upstream switch in this example; losing that switch defeats both. A different cable is not necessarily a different failure domain.
Protect state and avoid split-brain
A stateful firewall tracks connections and may synchronize supported state to its standby. Configuration synchronization and session synchronization are different. If the forward flow crosses F1 and the return crosses F2, the return may fail when F2 lacks session state. Even synchronized state may omit some protocol or NAT state depending on the platform. For this model, a new permitted flow succeeds only when forward and return paths work and the return firewall has matching state. A split-brain condition occurs when two members claim an exclusive active role. A peer-heartbeat loss alone does not establish that the other peer stopped forwarding. Use the supported arbitration or fencing design, which prevents an unsafe member from acting; do not promote both manually. Our toy gate holds whenever active ownership is unknown or duplicated.
Measure the whole recovery timeline
The mock failure occurs at second 0; detection at 3; gateway and routes ready at 8; first verified HTTPS transaction at 14. The service recovery time is 14 seconds, not 8. The local acceptance target is 20 seconds, maximum surviving load 80 Mbit/s, management reachable, permitted staff records access successful, and forbidden guest records access denied. A failed security check stops the drill even if latency improves. Missing evidence holds it. Existing sessions and fresh transactions need separate checks if continuity is required. Recovery and failback may be different events; verify stability before returning to the preferred member, and test again afterward. These are hypothetical observations, not claims about VRRP convergence speed.
0 s failure | 3 s detection | 8 s routing ready | 14 s verified HTTPSWrite the drill boundary
For a real authorized isolated lab, specify one failed component, a known baseline, independent management access, an observer, an approved time limit and a rollback owner. Do not remove both redundant members together. Start with read-only checks, simulate the fault only within scope, compare intended and observed paths, and restore the known-good state using the reviewed procedure. If management is lost or ownership is uncertain, halt and escalate through the independent path rather than improvising a broad reset. This chapter only evaluates supplied Boolean and arithmetic records; no fault is injected.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Redundancy and recovery drills Quiz
Reason about availability budgets, redundancy and operational acceptance.
What stays stable for clients during the modeled VRRP failover?
One 100 Mbit/s path survives; essential demand 70 and deferrable 50. What fits?
Return traffic reaches F2 without required connection state. What may happen?
Routes ready at 8 s, HTTPS succeeds at 14 s after failure at 0. Service recovery time?
Two members both claim exclusive active ownership. What is the toy gate decision?