Assign IPv4s to Linodes

This operation is equivalent to Assign IP addresses.

Assign multiple IPv4 addresses and/or IPv6 ranges to multiple Linodes in one Region. This allows swapping, shuffling, or otherwise reorganizing IPs to your Linodes.

The following restrictions apply:

  • All Linodes involved must have at least one public IPv4 address after assignment.
    • For Linode interfaces, the Linode needs to have a public interface, and the address it receives can't be a private IPv4 address.
  • Linodes may have no more than one assigned private IPv4 address.
  • Linodes may have no more than one assigned IPv6 range.

Open a support ticket to request additional IPv4 addresses or IPv6 ranges beyond standard account limits.

📘

Removing an IP address that has been set as a Managed Linode's ssh.ip causes the Managed Linode's SSH access settings to reset to their default values.

To view and configure Managed Linode SSH settings, use the following operations:

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: ips:read_write, linodes:read_write
Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
Body Params

Request object for IP Addresses Assign (POST /networking/ips/assign).

assignments
array of objects
required

The list of assignments to make. You must have read_write access to all IPs being assigned and all Linodes being assigned to in order for the assignments to succeed.

assignments*
string
required

The ID of the region in which these assignments are to take place. All IPs and Linodes must exist in this region.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json