Modify the primary private IP

Last Updated At: 2025-10-21 09:10:00

Note:

Only the primary network interface supports modification of the private IP. IP addresses of manually created Elastic Network Interface (ENI) (secondary network interfaces) cannot be modified.

  1. You can log in to the VPC console and click IP And Network Card > ENI in the left-side directory to open the Elastic Network Interface list page.

  2. Click the instance ID you want to view to open the details page. Click IPv4 Address Management in the tab, and click Modify Primary IP in the row where the primary private IP to be modified is located.


3. Click OK in the pop-up window to complete the operation.