Default

This section details Default-related Linode CLI commands.

ip-list

Aliases: ip-ls

Returns a paginated list of all VPC IP addresses and address ranges on your account.

Usage

The format accepted by this command.

linode-cli default ip-list [-h] [--linode_id linode_id]
    [--vpc_id vpc_id] [--region region] [--config_id config_id]
    [--active active]
    [--order-by {linode_id,vpc_id,region,config_id,active}]
    [--order {asc,desc}]

Sample

Examples of how this command might be used.

linode-cli vpcs ip list

Filterable Attributes

Arguments used to define a filter for response entries.

Name

Type

Description

--active

bool

Returns true if the VPC interface is in use, meaning that the Linode was powered on using the config_id to which the interface belongs.

--config_id

int

The globally general entity identifier for the Linode configuration profile where the VPC is included.

--linode_id

int

The identifier for the Linode the VPC interface currently belongs to.

--region

str

The region of the VPC.

--vpc_id

int

The unique globally general API entity identifier for the VPC.

Result Attributes

The attributes returned by this command.

Name

Type

Example

Description

active

bool

true

Returns true if the VPC interface is in use, meaning that the Linode was powered on using the config_id to which the interface belongs.

address

str

192.0.2.141

An IPv4 address configured for this VPC interface.

address_range

str

N/A

A range of IPv4 addresses configured for this VPC interface.

config_id

int

4567

The globally general entity identifier for the Linode configuration profile where the VPC is included.

gateway

str

192.0.2.1

The default gateway for the VPC subnet that the IP or IP range belongs to.

interface_id

int

2435

The globally general API entity identifier for the Linode interface.

linode_id

int

123

The identifier for the Linode the VPC interface currently belongs to.

nat_1_1

str

192.168.0.42

The public IP address used for NAT 1:1 with the VPC.

page

int

1

The current page.

pages

int

1

The total number of pages.

prefix

int

24

The number of bits set in the subnet_mask.

region

str

us-east

The region of the VPC.

results

int

1

The total number of results.

subnet_id

int

101

The id of the VPC Subnet for this interface.

subnet_mask

str

255.255.255.0

The mask that separates host bits from network bits for the address or address_range.

vpc_id

int

7654

The unique globally general API entity identifier for the VPC.