Help Center/ Direct Connect/ Getting Started/ Step 2: Create a Virtual Gateway
Updated on 2022-12-12 GMT+08:00

Step 2: Create a Virtual Gateway

Scenarios

After creating a connection, you need to create a virtual gateway to associate it with the VPC to be accessed.

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. Hover on 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.
    Table 1 Parameter description

    Parameter

    Description

    Name

    Specifies the virtual gateway name.

    The name can contain 1 to 64 characters.

    Enterprise Project

    Provides a cloud resource management mode where cloud resources and members are centrally managed by project.

    VPC

    Specifies the VPC that will be associated with the virtual gateway.

    Local Subnet

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

    This parameter is mandatory when you set Attachment to VPC.

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

    BGP ASN

    Specifies the BGP ASN of the virtual gateway.

    Description

    Provides supplementary information about the virtual gateway.

  7. Click OK.

    Ensure that the virtual gateway is in the Normal state.