tencent cloud


Modifying Private IP Addresses

Last updated: 2021-12-13 17:07:04


    You can modify the private IP of a CVM instance in VPC directly on the console or by changing the subnet of the CVM instance. This document describes how to modify the private IP of a CVM instance in the VPC console.
    For details on changing the subnet, see Change Instance Subnet.


    • Modifying the primary IP of a primary ENI may cause the CVM to restart.
    • The primary IP of a secondary ENI cannot be modified.


    1. Log in to the CVM Console.
    2. Select the region of the instance whose private IP you want to modify, and click the instance ID/name to enter its details page.
    3. On the instance details page, select the [ENI] tab and click to expand the primary ENI.
    4. In the primary ENI operation list, click Modify Primary IP.
    5. In the “Modify Primary IP” window that pops up, enter the new IP and then click OK. It takes effect after the instance is restarted.

      You can only enter private IP in the current subnet CIDR.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support