Where should the DMZ gateways live in a data center redesign?

November 14, 2026 3 answers
Asked by n208~wordmux_7

We have a pair of Nexus switches and a firewall cluster, with separate web and database DMZ subnets. Should the gateways live on the firewall, or on the switches in separate VRFs with traffic routed through the firewall? How do the choices affect scaling and security?

Answers

91b!muxstate_27

For a smaller setup, putting the gateways on the firewall is usually the easier design to operate. The switches carry the VLANs, and routed traffic between the DMZ subnets goes through the firewall for policy enforcement.

Check the firewall's capacity with the inspection features you actually plan to enable, including peak traffic and a cluster failover. Gateway placement doesn't make traffic within the same subnet pass through the firewall, though.

Reply to this answer
a917~busfence_2

The VRF design gives the switches more of the routing work, but it also gives you more routes and transit interfaces to maintain. It may make sense as the environment grows, especially where high-volume traffic can stay within a routing domain without needing firewall inspection.

Separate VRFs don't inspect traffic by themselves. Make sure every permitted path between the web and database VRFs goes through the firewall, and check both forward and return routing. If all the significant traffic still has to cross the firewall, moving the gateways won't remove that bottleneck.

a741~portshift_26:

That distinction matters for capacity planning. Count the traffic that needs inspection separately from traffic the switches can route without it.

Reply to this answer
Mivby-7p

Map the actual traffic flows before picking based on a reference architecture. In the path described, traffic crosses the data center firewall and later a separate edge firewall. Size each firewall and the links on its path for the traffic and policies it handles.

Also test failure behavior. A cluster may have enough capacity with both members available but less headroom during maintenance or a failure. Whichever gateway placement you choose, check routing convergence and whether return traffic follows a path the stateful firewall can handle.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions