Public VCF as-a-Service - Declaring the public IP gateway in VCD
Objective
When you order a new Public VCF as-a-Service organization, a vRack and a block of public IP addresses are delivered. To assign those public IPs to workloads, you must declare the block’s gateway inside the target VCD Virtual Datacenter.
This guide shows how to retrieve the correct gateway and add it to your VDC.
Requirements
- A Public VCF as-a-Service organization with a delivered public IP block.
- Technical administrator rights on VMware vSphere on OVHcloud.
- Access to the OVHcloud Control Panel.
Instructions
-
Log in to your OVHcloud Control Panel. Click
Hosted Private Cloud, thenPublic VCF as-a-Service, and select your organization.
-
Open the
Virtual Datacenterstab and select the VDC where you want to use the public IPs.
In
General information, verify that the vRack shown is the one linked to your public IP block.
-
Select the
vRacktab.
Locate the vRack segment named
vRack segment - VLAN0orvRack segment - PUBLIC.Click the three dot menu
⋮andAdd a subnet.
-
In the modal, enter the gateway in CIDR form for your public IP block, then confirm. The gateway is the last usable host of the block.
Example: for
203.0.113.0/29, the last usable host is203.0.113.6so enter203.0.113.6/29. You can use any standard IP calculator to verify.
-
Wait a few seconds and refresh the page. The subnet gateway should now appear on the segment.

Use the gateway when creating workloads
- When creating a vApp or VM in VCD, pick the corresponding Organization VDC network and choose a Direct network type to see the available public gateways.

Known limitation:
In the current VCF version, the Gateway CIDR field may display the first gateway declared on your VLAN0 segment, even if you selected another one. This is a visual only issue and does not affect IP assignment. Use any address from the selected public block on your VM, consistent with the gateway you chose in Organization VDC network connection.
Troubleshooting
- If the gateway is rejected, recheck that you entered the last usable host with the correct CIDR mask for the block.
- Ensure the VDC is attached to the same vRack that you linked to the public IP block in the previous guide Public VCF as-a-Service - Linking a public IP block with vRack.
Go further
First step guide: Public VCF as-a-Service - Linking a public IP block with vRack.
If you need training or technical assistance to implement our solutions, please contact your Technical Account Manager or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.
Ask questions, give your feedback and interact directly with the team building our Hosted Private Cloud services on the dedicated Discord channel.
Join our community of users.