Changing the Private IP Address
Scenarios
You can directly change the private IP address of a BMS in a VPC, or change the private IP address by modifying the subnet to which the BMS belongs.
Constraints
- The BMS must be stopped.
- The private IP address of an extension NIC cannot be changed.
- If you specify a private IP address, ensure that the IP address belongs to the selected subnet.
- The private IP address cannot be in the same subnet as the IP addresses of other NICs of the BMS.
- The BMS cannot be in an ELB backend server group.
Procedure
- Log in to the management console.
- Under Computing, click Bare Metal Server.
- In the upper right corner of the BMS list, enter the name, private IP address, ID, or flavor of a BMS and click
to search for the desired BMS. - Click the name of the target BMS.
- Click the NICs tab. Locate row that contains the primary NIC and click Change Private IP Address.
The Change Private IP Address dialog box is displayed.
Figure 1 Changing a private IP address
- Change the subnet and private IP address of the primary NIC and click OK.
You can only select a subnet in the same VPC as the original subnet.
If you do not need to change a subnet, change the private IP address only.
If you do not specify Private IP Address, the system will assign one to the primary NIC.
- On the BMS details page, click Start in the upper right corner. After the BMS is started, the new private IP address will take effect.
Last Article: Overview
Next Article: Managing Virtual IP Addresses
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.