\n
SovTech Consulting · Case Study

Designing failover that stateful firewalls can live with.

How we designed and lab-validated resilient routing for a multi-site public-sector network, where a simple “fail over to the other site” would have dropped live sessions.

■CCIE-led■SB certified■GSA MAS contract holder■Sacramento, CA
Details have been generalized and identifying information removed to protect client confidentiality.

The situation

The organization ran several major sites, each with its own link to a carrier SD-WAN that connected hundreds of field offices. The sites were joined by core-to-core links, and traffic passed through stateful firewalls and shared NAT address pools on its way out. Failover depended on static routes and manual steps.

The problem

If one site lost its SD-WAN link, field-office traffic needed to arrive through another site and still reach the right firewall and NAT device. That sounds simple, and it isn’t, for three reasons:

  • Stateful firewalls remember connections. A reply that returns through a different path than the request is dropped.
  • NAT address blocks were advertised from one site only. They could not simply be withdrawn, because other services depended on the same pool.
  • Static routes could not react. Nothing changed automatically when a link failed.

How we approached it

Four stages, each producing something the client could review.

01

Scope

Map every failure that matters and the path traffic should take in each.

02

Design

Routing and NAT behavior that keeps forward and return traffic together.

03

Validate

Rebuild the network in a lab and test every failure case before production.

04

Document

A device-by-device change guide for the production cutover.

The design

  • Summarize, then steer. Each edge router advertised aggregated summaries of the SD-WAN address space, with more specific routes suppressed, and AS-path prepending made the preferred and backup paths explicit.
  • Replace static routes with BGP. Routes now moved with the links that carried them, so a failure changed the path without anyone touching a device.
  • Tie the NAT advertisement to real upstream health. The upstream default route was tagged with a BGP community, imported into a helper VRF and tracked. The NAT prefix was advertised only while that route existed, and withdrawn automatically when it did not.
  • Keep a secondary path in reserve. A second site could advertise the same NAT prefix with heavy prepending, used only if both the SD-WAN and the upstream link failed at the primary site.

Validating it before production

We rebuilt the relevant network in a lab and tested three failure cases: the SD-WAN link failing at the first site, the same at the second site, and a double failure that also took out the upstream link. For each, we captured the routing tables and ran pings and traceroutes from the field-office side to prove the forward and return paths stayed together.

What was delivered

  • A failure-scenario matrix showing the expected path for each case
  • Lab-validated configurations for every device involved
  • A step-by-step change guide for the production devices, including the static routes to retire

What we took from it

  • Draw the failure matrix first. The design questions answer themselves once every case is written down.
  • With stateful firewalls, symmetry matters more than speed of failover.
  • Advertise addresses only while you can actually deliver traffic to them.
  • A lab rehearsal is the cheapest place to find a routing surprise.
A conversation, not a ticket

Have a failover you don't fully trust?

Describe the sites, the firewalls and the failure you are worried about, and we will tell you how we would test it.

SovTech Consulting sends out periodic newsletters to give better perspective on network infrastructure

Enhance your digital transformation quickly, seamlessly and efficiently