Adding an IP block

Knowledge Base

Adding an IP block


Icons/System/eye-open Created with Sketch. 330 Views 06.04.2022 Cloud / Hosted Private Cloud

Objective

An IP address block can be used to make your services available over the Internet.

This guide explains how to order and migrate an IP block for your Private Cloud.

Requirements

Instructions

To order an additional IP block for your Private Cloud, log in to your OVHcloud Control Panel. In the Hosted Private Cloud section, click on IP in the left column and then click on Order additional IPs. Then select your Private Cloud from the drop-down menu before proceeding to the next step.

Several fields will be required to create your IP block:

  • IP block size (from /28 to /24)

As a reminder, here is an array of IP addresses in a block, and the number of IPs that can be used:

Block sizeIPs in blockIPs usable in OVHcloud
281611
273227
266459
25128123
24256251

Please consult our guide "Using the OVHcloud Network plugin" to find out which IP addresses are reserved in a block as well as their use.

  • Country of IP block, important in some cases for the SEO of your services (an English-language website will have a better SEO in England if the IP is also English)
  • Network name (information visible in the Whois of an IP block).
  • Number of clients estimated (how many end clients will be hosted on these IPs).
  • Network description (information visible in the Whois of an IP block).
  • Use (information about the general usage (Web, SSL, Cloud...)).

There is a one time setup fee for an IP block that will be due before delivery.

After confirming the last step, you can view the order form for your IP block. If the order is in accordance with your wishes, you only have to pay it with the payment methods offered at the bottom of the page in order for it to be delivered.

Migrate an IP block between two Hosted Private Cloud services

Migrating an IP block requires manually moving blocks through the OVHcloud APIv6.

Use the following API call:

The fields must be completed as follows:

  • ip: IP block with /mask
  • nexthop "newPrimaryIp" (case sensitive)
  • to: Destination Hosted Private Cloud in the form pcc-XXX-XXX-XXX-XXX

nexthop field

The result will be in this form:

nexthop field

If you need to detach the IP block, you can use the following API call to move the IP into the "IP parking" section:

This call cuts the network on VMs that use the IPs in question.

You can track the IP block movement from your OVHcloud Control Panel in the Hosted Private Cloud part and then Private Cloud. Click on your Hosted Private Cloud service and then click the Operations tab.

The operation name is removeIpRipeBlock.

operations manager

The IP will then appear in the IP parking.

IP parking

Go further

Join our community of users on https://community.ovh.com/en/.

Related articles