post
https://api.linode.com//networking/natgateways//addresses
Beta Attaches a specific, pre-reserved public IPv4 address to an existing NAT Gateway.
- The NAT Gateway can't have autoscaling enabled (
use_autoscalingmust befalse). - The IP address you are adding must already be reserved in your account. It can't be in use by another service and it must be in the same region as the VPC.
- The operation fails if adding this address causes the NAT Gateway to exceed its maximum public IP allocation limit.
- Upon successful assignment, ports 0-1023 on the new IP address are automatically reserved for system use.
Permissions and scopes
To call this operation, you need the following:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
natgateways:read_write
- Scopes:
CLI
linode-cli natgateways address-add \
--id 123 \
--address 203.0.113.44