IBM Cloud Docs
Red Hat OpenShift NSX logical switches configuration

Red Hat OpenShift NSX logical switches configuration

As of 17 July 2025, new automated installations of Red Hat® OpenShift® for VMware® are no longer available for new or existing deployments of VMware Cloud Foundation for Classic - Automated instances. You can still use or delete your existing Red Hat OpenShift for VMware automated installations until 16 July 2026. The service will no longer be available from 17 July 2026.

Review the NSX logical switches that are used to support the Red Hat® OpenShift® 4.7 environment. To use this information, you must understand how to create these components and add the configuration.

Review Create a Logical Switch in Manager Mode. PowerNSX commands are provided if you would want to use this method.

NSX Logical Switches

The design requires two NSX Logical Switches:

  • Transit - This logical switch is used to connect the DLR and the ESGs. The DLR Control VMs have an interface on this network.
  • OpenShift - This logical switch is used for the Red Hat OpenShift VM network. The DLR has a connection to this logical switch.
  • HA - This logical switch is used for the DLR Control VMs. You do not need to assign an IP range to this network as NSX assigns an internal IP range to it.

PowerNSX commands

Review the example of PowerNSX commands that you can use to automate the provisioning and configuration of the NSX logical switches.

Use the following table to document the parameters you need for your deployment, examples are shown that match the deployment described previously.

PowerNSX LS Parameters
Parameters Example Your deployment
vCenter Server IP address
vCenter Server user
vCenter Server password
NSX Transport Zone transport-1
# Allow self-signed certificates on PowerCLI
Set-PowerCLIConfiguration -InvalidCertificateAction:Ignore

# Connect to NSX Manager
Connect-NsxServer -vCenterServer <IP_Address> -User <UserName> -Password '<Password>'

# Create logical switches
Get-NsxTransportZone transport-1 | new-nsxlogicalswitch -Name OpenShift-LS -Description "OpenShift network"
Get-NsxTransportZone transport-1 | new-nsxlogicalswitch -Name OpenShift-Transit -Description "OpenShift transit network"
Get-NsxTransportZone transport-1 | new-nsxlogicalswitch -Name OpenShift-HA -Description "OpenShift DLR HA network"

# Disconnect
Disconnect-NsxServer