Tools / Guides / NSX Segment & T1 Gateway Planner
// Guide · Design & architecture

NSX Segment & T1 Gateway Planner

Design your NSX network topology — Tier-1 gateways and the overlay/VLAN-backed segments attached to them. Validate CIDR allocations for conflicts, configure DHCP server or relay per segment, set route advertisement policies, then export as production-ready Terraform HCL or PowerCLI scripts.

Tier-1 GatewaysOverlay SegmentsVLAN-backedCIDR ValidationDHCP Server / RelayTerraform HCLPowerCLI Export
Open the tool Jump to walkthrough

Quick start

  1. Add Tier-1 gateways — name, HA mode (Active-Standby or Active-Active), preemption policy.
  2. Add segments — overlay or VLAN-backed, attach to a T1, set CIDR and gateway IP.
  3. Configure DHCP per segment — none (static), DHCP server (NSX-managed), or DHCP relay (forwards to external).
  4. Validate — tool checks for CIDR overlaps, naming conflicts, unattached segments, missing route advertisements.
  5. Export — Terraform HCL for IaC pipelines, or PowerCLI for direct application.
On this page

When to use this tool

Use this tool when you need to:

How it works

NSX uses a 2-tier routing model: Tier-0 (north-south, connects to physical fabric via BGP) → Tier-1 (east-west, hosts segments). This tool focuses on the T1 + segment layer where most workload traffic lives.

A Tier-1 gateway is a logical router with:

Segments attach to a T1 and provide L2 broadcast domains. Each segment has a CIDR, gateway IP, and optional DHCP. Overlay segments use GENEVE encapsulation (workload traffic); VLAN-backed segments traverse the physical VLAN (typically used for management or services that need physical visibility).

Step-by-step walkthrough

1. Add Tier-1 gateways

Click Add Gateway. Configure:

Plan T1 boundaries: typically one T1 per workload domain or per security zone. Don't overload a single T1 with hundreds of segments — split for blast-radius isolation.

2. Add overlay segments

Click Add Segment on a T1 row. For overlay (default for VCF):

Tool validates CIDR doesn't overlap any other segment in the design.

3. Add VLAN-backed segments

For services that need physical VLAN visibility (load balancers, legacy management):

4. Configure DHCP

Per segment, choose:

5. Set route advertisements

Per T1, configure what gets advertised upstream to T0 (and from T0 via BGP to physical fabric):

6. Run validation

Click the Validate tab. Common findings:

7. Export — Terraform or PowerCLI

Pick export format:

Both produce idempotent, repeatable artifacts — apply, then re-apply gives same result.

Examples

Example · 3-tier app deployment

One T1 per workload, three segments per app:

  • T1: t1-app01, Active-Standby, non-preemptive
  • Segment: app01-web overlay, 10.20.1.0/24, DHCP server
  • Segment: app01-app overlay, 10.20.2.0/24, static
  • Segment: app01-db overlay, 10.20.3.0/24, static
  • Route advertisement: connected segments only (VMs reachable from physical via T0)
Example · Multi-tenant with isolation

Each tenant gets its own T1 (no east-west between tenants without explicit firewall rule):

  • T1: t1-tenant-a → segments tenantA-web/app/db
  • T1: t1-tenant-b → segments tenantB-web/app/db
  • T1: t1-shared → DNS, AD, monitoring (selectively reachable from each tenant)

Inter-T1 communication happens via T0 with explicit DFW/gateway firewall rules — natural blast-radius isolation.

Common mistakes

🚨
CIDR overlaps with physical network Tool checks for overlaps within the design but can't see your physical network CIDRs. If your overlay segment uses 10.10.1.0/24 and your physical also uses 10.10.1.0/24 somewhere, you've created routing chaos. Cross-check against your IP plan.
Active-Active without ECMP-aware apps Active-Active T1 gateways use ECMP — packets within a flow may take different paths. Most TCP apps handle this fine, but some appliances (legacy firewalls, certain load balancers) misbehave. Use Active-Standby unless you specifically need ECMP throughput.
Forgetting route advertisement A segment without route advertisement to T0 is invisible to the rest of the world — VMs can't reach anything outside their segment. Common cause of "I deployed the segment but nothing works." The validator catches this.
DHCP pool > segment CIDR Setting a DHCP pool of 10.20.1.10-200 on a /26 segment doesn't work — the pool exceeds the subnet. Tool flags this; size the pool within the segment's usable range.
Treating overlay and VLAN segments interchangeably They're fundamentally different. Overlay = NSX manages everything, no physical VLAN consumed. VLAN-backed = consumes a physical VLAN, traverses the physical fabric, no NSX encapsulation. Pick based on whether the workload needs physical visibility.

Tools that pair well with NSX Segment & T1 Gateway Planner:

FAQ

Does this generate Tier-0 configuration too?
No — focus is T1 + segments (the layer most workload changes happen at). T0 is typically configured once during NSX deployment and rarely changes. Use VMware's official guidance for T0/BGP setup.
Can I import an existing NSX configuration?
Not currently — design starts blank. You can manually replicate an existing topology to use as a documentation/migration starting point.
Will the Terraform output work with NSX-T 3.x and NSX 4.x?
Yes — uses the official NSX Terraform provider which supports both. The provider negotiates correct API version. Verify the resource types match if using older provider versions.
How do I handle segment migration between T1s?
Detach from source T1, attach to target T1. The tool models the desired state — for migration runbooks, use the Day 2 Operations Planner.
What's the difference between DHCP server and DHCP relay?
Server: NSX itself runs DHCP for the segment (good for isolated NSX-managed networks). Relay: NSX forwards DHCP requests to an external server (good for enterprise environments with central DHCP/DNS like Microsoft AD).
Should I use Active-Active or Active-Standby?
Active-Standby for almost everything. Active-Active only when you need >10 Gbps north-south throughput on a single T1 and your workloads tolerate ECMP. Active-Standby is simpler to operate and troubleshoot.