Skip to main content

ipv4_addresses

Creates, updates, deletes, gets or lists an ipv4_addresses resource.

Overview

Nameipv4_addresses
TypeResource
Idlinode.networking.ipv4_addresses

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
post_assign_ipv4sinsertdata__region, data__assignmentsThis 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:
- Get a Linode's managed settings
- Update a Linode's managed settings OAuth scopes.

<br /> ips:read_write<br />linodes:read_write<br />

Learn more...
post_share_ipv4sinsertdata__linode_id, data__ipsThis operation is equivalent to Share IP addresses.

Configure shared IPs.

IP sharing allows IP address reassignment (also referred to as IP failover) from one Linode to another if the primary Linode becomes unresponsive. This means that requests to the primary Linode's IP address can be automatically rerouted to secondary Linodes at the configured shared IP addresses.

IP failover requires configuration of a BGP based failover service within the internal system of the primary Linode.

> 📘
>
> A public IPv4 address can't be shared if it's configured for a 1:1 NAT on a legacy configuration profile VPC interface or on a Linode VPC interface. OAuth scopes.

<br /> ips:read_write<br />linodes:read_write<br />

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

INSERT examples

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:
- Get a Linode's managed settings
- Update a Linode's managed settings OAuth scopes.

<br /> ips:read_write<br />linodes:read_write<br />

Learn more...

INSERT INTO linode.networking.ipv4_addresses (
data__assignments,
data__region
)
SELECT
'{{ assignments }}' --required,
'{{ region }}' --required
;