Managing NICs
Dependency
- Combined API 1.8.9 or later
- ECS UI 2.2.29 or later
- The IaaS OpenStack V100R006C20U20 or later is used as the BMS POD in the region.
Restrictions and Limitations
- Only VPC NICs can be added or deleted.
- The number of VPC NICs of a BMS is limited by baremetal:net_num in the BMS flavor.
Prerequisites
NICs can only be added to or deleted from a BMS in running or stopped state.
Configuring ECS UI
is_supported_bms_addnic: "true" //specifies whether NICs can be added to or deleted from BMSs. If yes, set the value to true. If no, set the value to false. is_supported_bms_delete_auxiliary_nic: "true" //specifies whether extended NICs added during BMS creation can be deleted. If yes, set the value to true. If no, set the value to false.
Adding a NIC
To add NICs to your BMS, perform the following operations:
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click Service List and choose Computing > Bare Metal Server.
The BMS console is displayed.
- Click the name of the target BMS.
The page showing details of the BMS is displayed.
- Click the NIC tab. Then, click Add NIC.
- Select the security group and subnet to be added.
If you want to add a NIC with a specified IP address, enter an IP address into the Private IP Address field.
- Click OK.
Follow-up procedure
The BMS cannot identify the newly added NICs. You must manually activate the NICs by following the instructions in section Configuring a NIC Added to or Deleted from a BMS.
Deleting a NIC
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click Service List and choose Computing > Bare Metal Server.
The BMS console is displayed.
- Click the name of the target BMS.
The page showing details of the BMS is displayed.
- Click the NIC tab, expand the NIC details, and make a note of the VLAN and MAC address.
After deleting a NIC on the console, you need to log in to the BMS OS and perform related operations to delete the device (the VLAN and MAC address recorded will be used).
- Click Delete.
- Click OK.
Follow-up procedure
Delete network devices by following the instructions in section Configuring a NIC Added to or Deleted from a BMS.
Managing Virtual IP Addresses
You can bind a virtual IP address to a BMS NIC to provide an additional IP address for the NIC, making the network more flexible.
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click Service List and choose Computing > Bare Metal Server.
The BMS console is displayed.
- Click the name of the BMS to which a virtual IP address needs to be bound.
The page showing details of the BMS is displayed.
- Click the NIC tab. Then, click Manage Virtual IP Address.
The page showing details of the particular VPC is displayed.
- On the Virtual IP Addresses tab, select a desired one or click Assign Virtual IP Address for a new one.
- Click Bind to Server in the Operation column and select the target BMS and the NIC to bind the virtual IP address to the NIC.
For details about the virtual IP address, see Virtual Private Cloud User Guide.
Changing a Security Group
To change the security group of a BMS NIC, perform the following operations:
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click Service List and choose Computing > Bare Metal Server.
The BMS console is displayed.
- Click the name of the target BMS.
The page showing details of the BMS is displayed.
- Click the NIC tab. Then, click Change Security Group.
- In the displayed Change Security Group dialog box, select the target security group.
- Click OK.
Setting the Source/Destination Check for a NIC
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click Service List and choose Computing > Bare Metal Server.
The BMS console is displayed.
- Click the name of the target BMS.
The page showing details of the BMS is displayed.
- Select the NIC tab. On the displayed page, click the icon before the NIC to be configured.
- Enable or disable the source/destination check function.
By default, the source/destination check function is enabled. When this function is enabled, the system checks whether source IP addresses contained in the packets sent by BMSs are correct. If the IP addresses are incorrect, the system does not allow the BMSs to send the packets. This mechanism prevents packet spoofing, thereby improving system security. If the BMS functions as a NAT server, router, or firewall, you must disable the source/destination check for the BMS.
Last Article: Adding or Deleting a BMS NIC
Next Article: Configuring a NIC Added to or Deleted from a BMS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.