Help Center> Direct Connect> Getting Started> Step 2: Create a Virtual Gateway

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

    Example Value

    Name

    Specifies the virtual gateway name.

    The name can contain 1 to 64 characters.

    vgw-123

    VPC

    If you set Attachment to VPC, select a VPC that will 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. Separate every entry with a comma (,) if there are multiple CIDR blocks.

    192.168.0.0/16

    Description

    Provides supplementary information about the virtual gateway.

    N/A

  7. Click OK.

    Ensure that the virtual gateway is in the Normal state.