Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Virtual Private Cloud
  • Getting started
    • All guides
      • Creating a subnet
      • Deleting a subnet
      • Updating a subnet
      • Getting information about a subnet
      • Moving a subnet between folders
      • Moving a subnet to a different availability zone
      • Viewing a list of used addresses
    • Enabling a software-accelerated network
    • Chart of network connections
    • Viewing operations with resources
  • DDoS Protection
  • Access management
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Subnet
  3. Viewing a list of used addresses

Viewing a list of addresses used in a subnet

Written by
Yandex Cloud
Updated at May 5, 2025

You can view internal IP addresses that are assigned to cloud resources in your folder.

To view a list of internal addresses used in a subnet:

Management console
CLI
API
  1. In the management console, go to the folder containing your subnet.
  2. In the list of services, select Virtual Private Cloud.
  3. In the left-hand panel, select Subnets.
  4. Click the subnet name.
  5. Navigate to the IP addresses tab.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. View the description of the CLI command to get a list of addresses in use:

    yc vpc subnet list-used-addresses --help
    
  2. Get a list of addresses in the selected subnet:

    yc vpc subnet list-used-addresses --name <subnet_name>
    

    Result:

    +-----------+------------+---------------------------------------+
    |  ADDRESS  | IP VERSION |              REFERENCES               |
    +-----------+------------+---------------------------------------+
    | 10.1.2.1  | IPV4       | vpc.virtualGateway:                   |
    | 10.1.2.2  | IPV4       | vpc.virtualDns:                       |
    | 10.1.2.3  | IPV4       | compute.instance:epdf6lfsaki9******** |
    | 10.1.2.15 | IPV4       | compute.instance:epdb2hmhj935******** |
    | 10.1.2.28 | IPV4       | managedKubernetes.cluster:            |
    +-----------+------------+---------------------------------------+
    

Use the listUsedAddresses REST API method for the Subnet resource or the SubnetService/ListUsedAddresses gRPC API call and provide the ID of the subnet you want to update in the subnetId request parameter.

To get the subnet ID, use the list REST API method for the Subnet resource or the SubnetService/List gRPC API call and provide the folder ID in the folderId request parameter.

To learn how to find out the folder ID, see Getting the folder ID.

Was the article helpful?

Previous
Moving a subnet to a different availability zone
Next
Reserving a static public IP address
Yandex project
© 2025 Yandex.Cloud LLC