For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/pt/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/pt/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/pt/guides/network/vrack-services/server-ip-associations.md.
Ir para o conteúdo

Manage Server-IP associations in vRack Services

Ver como Markdown

Find out how to bind a Dedicated Server's private interface to a persistent IP with vRack Services DHCP and netboot, from the OVHcloud Console or the API

Objective

A Server-IP association binds the private interface of a Dedicated Server to an IP address of a vRack Services subnet. The DHCP and netboot service of vRack Services then gives the server the same address at every boot, and lets it boot from the private network. Associations are what private boot relies on: creating an association enables private boot on the server, and deleting it disables private boot.

This guide explains how to create, modify and delete Server-IP associations, from the OVHcloud Console or with the OVHcloud API.

Warning

Modifying or deleting the association of a server that boots from the private network changes the address it boots with, or makes it boot from the public network at its next reboot.

Requirements

Tip

To enable private boot on a single server, you can also start from its Connectivity tab: the private boot form creates the association, and the vRack, vRack Services or subnet it needs. See Enable private boot on an OVHcloud dedicated server.


OVHcloud Console Access

  • Direct link:
  • Navigation path: Bare Metal Cloud > vRack Services

Instructions

This section lists the rules an association address must follow, then explains how to manage associations from the Console or the API.

IP address rules

The IP address of an association must:

  • be an IPv4 address of the subnet;
  • be outside the service range, which is reserved for the services that OVHcloud manages;
  • be outside the BGP range of the subnet, if it has one;
  • not be the first or last address of the subnet, which are reserved;
  • not be already used by another association.

Each server can have only one association. OVHcloud only checks the addresses it manages: make sure no other machine in your vRack already uses the address, for example a machine with a static IP address.

Managing associations

OVHcloud Console
OVHcloud API

Select your vRack Services.

Open the Subnets tab and click the subnet. Its page shows the DHCP & Netboot (Server-IP Association) card, which lists each association with its Server name and IP address.

You cannot add an association while the subnet has no service range, is tagged with a VLAN, or belongs to a vRack Services that is not attached to a vRack: the card says which condition is missing. Actions are also unavailable while the vRack Services is being updated.

Create an association

  1. Click Add a Server-IP Association. The Create a Server-IP Association panel opens, with the Subnet shown.
  2. In the Associated server field, select the server. The list only shows the servers in the same region as the vRack Services, attached to its vRack, in OLA Full private mode, and with no association yet.
  3. In the Associated IP address field, enter the server's IP address.
  4. Click Add a Server-IP Association.

The server boots from the private network, with this address, at its next reboot.

Modify an association

  1. In the list, open the actions menu of the association, then click Modify.
  2. In the Modify Server-IP Association panel, enter the new IP address. The server cannot be changed.
  3. Click Modify.

The server uses the new address at its next reboot.

Delete an association

  1. In the list, open the actions menu of the association, then click Delete.
  2. In the Delete Server-IP Association window, click Delete.

The IP address is released, and private boot is disabled on the server: it boots from the public network at its next reboot.

Go further

Enable private boot on an OVHcloud dedicated server

vRack Services - Exposing a Managed Service on your vRack

For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.

Join our community of users.

Esta página foi útil?