Euca2ools Guide / Virtual Private Cloud (VPC)-Compatible Commands |
Assign one or more private IP addresses to a network interface. Note that an instance's type may affect the number of addresses it can hold at once.
euca-assign-private-ip-addresses -n INTERFACE (--secondary-address ADDRESS | --secondary-count COUNT) [--allow-reassignment]
Option | Description | Required |
---|---|---|
-n, --network-interface interface | ID of the network interface to assign addresses. | Yes |
--secondary-address address, --secondary-private-ip-address count | Assign a secondary address to the network interface. This parameter can be specified multiple times to add additional addresses. | No |
--secondary-count count [, --secondary-address address...] | Automatically assign a specific number of secondary private IP addresses to the network interface. | No |
--allow-reassignment count [, --secondary-address address...] | Allow addresses to be assigned even if they are already associated with other network interfaces. | No |
Option | Description |
---|---|
--show-empty-fields | Show empty fields as "(nil)". |
--region user@region | Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints. |
-U,--url url | URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean. |
-I,--access-key-id key_id | User's access key ID. |
-S,--secret-key secret_key | User's secret key. |
--security-token token | User's security token. |
--debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
--debugger | Enable interactive debugger on error. |
-h,--help | Display the manual page for the command. |
--version | Display the version of this tool. |