Help Center> Huawei Cloud Flexus> User Guide> NICs> Modifying a Private IP Address

Modifying a Private IP Address

Scenarios

You can modify the private IP address of the primary NIC. If you want to modify the private IP address of an extension NIC, delete the NIC and attach a new NIC.

Notes and Constraints

  • The HECS has been stopped.
  • If a virtual IP address or DNAT rule has been configured for the NIC, cancel the configuration before modifying the private IP address.
  • If the NIC has an IPv6 address, its private IP address (including IPv4 or IPv6 address) cannot be modified.
  • Before changing the private IP address of a backend server of a load balancer, remove the backend server from the backend server group.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Hyper ECS.
  3. Click the name of the target HECS.

    The page providing details about the HECS is displayed.

  4. Click the NICs tab. Locate the row containing the primary NIC and click Modify Private IP.

    The Modify Private IP dialog box is displayed.

  5. Change the subnet and private IP address of the primary NIC as required.

    Yon can only select a subnet within the same VPC.

    If you do not specify the private IP address, the system will automatically assign one to the primary NIC.