For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/hosted-private-cloud/public-vcf-aas/declare-public-gateway.md.
  • English

Public VCF as-a-Service - Declaring the public IP gateway in VCD

View as Markdown

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

OVHcloud Control Panel Access

  • Direct link: Public VCF as-a-Service
  • Navigation path: Hosted Private Cloud > Public VCF as-a-Service > Select your organization

 

Instructions

Warning

NOTE: These instructions presume that you have already completed all steps in our Public VCF as-a-Service - Linking a public IP block with vRack guide.

Once you have selected your Public VCF as-a-Service organization, select the Virtual Datacenters tab and click the ID of your virtual datacenter.

Virtual datacenters - Declare public gateway

On the next page, select the vRack tab and locate the vRack segment named vRack segment - VLAN0 or vRack segment - PUBLIC.

You will see a placeholder subnet 192.168.1.1, which we will delete later.

Click the more options ⋮ button and select Add a subnet.

vDC rack segments

In the pop-up window, enter the gateway IP of your subnet 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 is 203.0.113.6, so enter 203.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.

Warning

NOTE: After your entry has appeared, delete the placeholder subnet 192.168.1.1 from VLAN 0.

vDC rack segments subnet

 

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.

vApp create

Info

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

 

Go further

Browse all the Public VCF as-a-Service guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Hosted Private Cloud on the OVHcloud US website.

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.