• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. User Guide
  4. Network
  5. Managing User-defined Networks

Managing User-defined Networks

Scenarios

BMSs support secondary virtualization. The user-defined network enables VMs provisioned on BMSs to communicate with cloud services in the same VPC, or to communicate with the Internet.

For details about how to use the user-defined network, see the best practice at XenServer on BMS.

Notes

  • If you have multiple VPCs, you can only create one user-defined network in one VPC.
  • If each of your BMSs has only one NIC, you cannot create user-defined networks.
  • You must create a BMS with a user-defined VLAN before creating a user-defined network.
  • Security groups cannot be configured for user-defined subnets.
  • The CIDR of a user-defined subnet cannot conflict with that of a VPC subnet of a user-defined network.
  • IP address x.x.x.1 in a user-defined subnet is an internal gateway. Do not use it for a BMS.
  • The subnet mask of a user-defined subnet is 16 to 29 bits.

Create a User-defined Network

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Computing, click Bare Metal Server.

    The BMS console is displayed.

  4. On the User-defined Networks page, click Create User-defined Network.
  5. Configure VPC, AZ, User-defined Subnet, and Name as needed.
    NOTE:

    The user-defined subnet mask is 16 to 29 bits, and the gateway IP address of the user-defined subnet cannot be used.

  6. Click OK.

    After the user-defined network is created, you can view its information in the list of user-defined networks.

    NOTE:

    If you have not created a multi-NIC BMS, message "Insufficient multi-NIC BMSs." is displayed and the user-defined network fails to be created.

Change the Name of a User-defined Network

  1. On the BMS console, click the User-defined Networks tab. Locate the row that contains the target user-defined network and click Modify in the Operation column.
  2. Enter a new name and click OK.

View Details About a User-defined Network

  1. On the BMS console, click the User-defined Networks tab.
  2. In the list of user-defined networks, click the name of the target user-defined network.

    You can view the name, AZ, number of user-defined subnets, and VPC information of the user-defined network.

    You can also change the name of the user-defined network by clicking next to its name, entering a new name, and then clicking .

Manage a User-defined Network

  • Add a user-defined subnet.

    Currently, a user-defined network can have only one user-defined subnet. You cannot add user-defined subnets on the details page of the user-defined network.

  • View details about a user-defined subnet.

    In the list of user-defined subnets, click the name of the target user-defined subnet to go to its details page.

    On the details page, you can view the IP address, status, and tenant VLAN of the user-defined subnet.

    On the IP Address page, you can view the IP address of the user-defined subnet and the EIP bound to the subnet.

    On the BMS page, you can view information about all the BMSs with multiple NICs.

  • Modify a user-defined subnet.

    You cannot directly modify a user-defined subnet. You must delete the user-defined network and then create a new user-defined network and a user-defined subnet again.

  • Delete a user-defined subnet.

    In the list of user-defined subnets, locate the target user-defined subnet and click Delete in the Operation column.

    If a user-defined network has only one subnet, you are not allowed to delete the subnet.

Delete a User-defined Network

  1. On the BMS console, click the User-defined Networks tab.
  2. Locate the target user-defined network, click Delete in the Operation column, and click OK in the displayed dialog box.

    After the last multi-NIC BMS using a user-defined network is deleted, the user-defined network will be automatically deleted.