Help Center/ Direct Connect/ User Guide/ Virtual Gateways/ Creating a Virtual Gateway
Updated on 2024-12-16 GMT+08:00

Creating a Virtual Gateway

Scenario

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

Procedure

  1. Go to the Virtual Gateways page.
  2. In the upper left corner of the page, click and select a region and project.
  3. In the upper right corner, click Create Virtual Gateway.
  4. 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.

  5. Click OK.

    When the status changes to Normal, the virtual gateway has been created.