To register NSX network resources for VMware Cloud Director to use, you can add a provider gateway to VMware Cloud Director.
Prerequisites
If you want to add a tier-0 gateway that is backed by a VRF gateway in NSX, you must also create a VRF gateway that is linked to the tier-0 gateway.
- Create a tier-0 gateway in the NSX Manager UI.
- Log in with administrative privileges to the NSX Manager instance.
- Click Networking, click Tier-0 Gateways, and click .
- Enter a name for the tier-0 gateway.
- Select a High Availability mode.
Note: By default, the active-active mode is used. In the active-active mode, the traffic is load balanced across all members. In active-standby mode, an elected active member processes the traffic. If the active member fails, a new member becomes active.
- Select an existing NSX edge cluster from the drop-down menu to back this tier-0 gateway, and click Save.
- If you want to add a tier-0 gateway that is backed by a VRF gateway in NSX, create a VRF gateway that is linked to the tier-0 gateway.
- Log in with administrative privileges to the NSX Manager instance.
- Click Networking, click Tier-0 Gateways, and click .
- Enter a name for the VRF gateway.
- Select the tier-0 gateway to which to connect the VRF gateway.
- Click Save.
Procedure
- Log in to the VMware Cloud Director Service Provider Admin Portal.
- From the top navigation bar, select Resources and click Cloud Resources.
- In the left pane, click Provider Gateways and click New.
- If you are running a multisite environment, select a site in which to register the new provider gateway, and click Next.
- Select a registered NSX Manager instance to back the gateway, and click Next.
- Enter a name and, optionally, a description for the new provider gateway.
- Select an IP management method for the new provider gateway and click Next
- To use IP Space Management for the provider gateway, select Use IP Spaces.
- To use the legacy IP management UI for the provider gateway, select Use IP Blocks (legacy).
- If you selected IP Spaces as an IP management method, select the ownership for the provider gateway.
- To make the provider gateway accessible to all organizations within your environment, select Public.
- To dedicate the private gateway to a single organization, select Private, and, from the drop-down menu, select an organization to which to dedicate the gateway.
- Select a tier-0 router or a VRF gateway to connect to the provider gateway, and click Next.
- If you selected IP Blocks as an IP management method, configure one or more IP blocks to allocate to the gateway, and click Next.
- Review the network settings and click Finish.
What to do next
Use the provider gateway to create an uplink to the external network.