Updated on 2026-01-06 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. In the Create Virtual Gateway dialog box, set the parameters by based on Table 1.
    Figure 1 Creating a virtual gateway
    Table 1 Parameters required for creating a virtual gateway

    Parameter

    Description

    Example Value

    Name

    Specifies the virtual gateway name.

    The name can contain 1 to 64 characters.

    vgw-123

    Enterprise Project

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

    default

    VPC

    Specifies the VPC to be associated with the virtual gateway.

    VPC-001

    Local Subnet

    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 them with a comma (,).

    192.168.0.0/16

    BGP ASN

    Specifies the BGP ASN of the virtual gateway.

    64512

    Tag

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

    example_key1

    example_value1

    Description

    Provides supplementary information about the virtual gateway.

    -

  5. Click OK.

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