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:


OAuth scopes

ips:read_write
linodes:read_write

Learn more...

Path Params
string
enum
required

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

Allowed:
Body Params

Information about what IPv4 address to assign, and to which Linode.

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
Response
Choose an example:
application/json