Updated on 2024-09-26 GMT+08:00

Step 2: Create a Virtual Gateway

Scenarios

You can create a virtual gateway and associate it with the VPC that you need to access.

Procedure

  1. Log in to the management console.
  2. On the console homepage, click in the upper left corner and select the desired region and project.
  3. Click to display Service List and choose Networking > Direct Connect.
  4. In the navigation pane on the left, choose Direct Connect > Virtual Gateways.
  5. Click Create Virtual Gateway.
  6. Configure the parameters based on Table 1.
    Figure 1 Creating a virtual gateway
    Table 1 Parameters required for creating a virtual gateway

    Parameter

    Example Value

    Description

    Name

    vgw-123

    Specifies the virtual gateway name.

    The name can contain 1 to 64 characters.

    Enterprise Project

    default

    Specifies the enterprise project by which virtual gateways are centrally managed. Select an existing enterprise project.

    VPC

    VPC-001

    Specifies the VPC to be associated with the virtual gateway.

    Local Subnet

    192.168.0.0/16

    Specifies the CIDR blocks of the subnets in the VPC to be accessed using Direct Connect.

    You can add one or more CIDR blocks. If there are multiple CIDR blocks, separate every entry with a comma (,).

    BGP ASN

    64512

    Specifies the BGP ASN of the virtual gateway.

    NOTE:

    Generally, Huawei Cloud's BGP ASN is 64512. There are two special cases:

    • In the CN North-Beijing1 region, the default BGP ASN of Huawei Cloud is 65533.
    • In the AP-Bangkok region, the BGP ASN of some Direct Connect locations is 65535 by default. For details, contact the Direct Connect manager.

    Tag

    example_key1

    example_value1

    Adds tags to help you identify your virtual gateway. You can change them after the virtual gateway is created.

    Description

    -

    Provides supplementary information about the virtual gateway.

  7. Click OK.

    Ensure that the virtual gateway is in the Normal state.