Creating Direct Connect Gateway

Last updated: 2021-09-30 17:31:34

    This document describes how to create a direct connect gateway and provides information on the inbound route.

    Prerequisites

    Use Limits

    A standard direct connect gateway supports propagating secondary CIDR blocks. Note the following limits:

    • This feature is unavailable in the Finance Cloud regions.
    • Up to 10 secondary CIDR blocks can be propagated.
    • This feature is unavailable to a NAT direct connect gateway.

    Directions

    1. Log in to the Direct Connect Gateway console.
    2. Select a region and VPC at the top of the Direct Connect Gateway page, and click +New.
    3. Complete the configurations in the pop-up window and click OK.
      Field Configuration
      Name Enter a name for the direct connect gateway.
      Associate Network Select either CCN or VPC.
      CCN instance A CCN instance is needed if CCN is selected for the Associate Network. This field can also be left empty.
      Network A VPC instance is needed if VPC is selected for the Associate Network.
      Gateway Type A gateway is needed if VPC is selected for the Associate Network.
      • Standard: does not support the network address translation feature.
      • NAT Type: supports the network address translation feature.

    Inbound Routes

    As shown in the Direct Connect network architecture, both the creation time of the direct connect gateway and dedicated tunnel mode will affect the destination of the inbound route (from your IDC to a Tencent Cloud VPC). For more information, please see Direct Connect Gateway Overview.

    Gateway Type Creation Time Dedicated Tunnel Mode IDC Routes to Tencent Cloud
    VPC-based direct connect gateway No limit Static The inbound routing policy is configured in the local router.
    BGP The IDC automatically obtains the VPC CIDR block based on the BGP protocol.
    CCN-based direct connect gateway Before 00:00:00 on September 15, 2020 Static The inbound routing policy is configured in the local router.
    BGP The IDC automatically obtains the subnet CIDR block based on the BGP protocol.
    After 00:00:00 on September 15, 2020 Static The inbound routing policy is configured in the local router.
    BGP The IDC automatically obtains the VPC CIDR block based on the BGP protocol.

    Subsequent Operations

    • After creating a CCN-based direct connect gateway, you need to add IDC IP ranges to the direct connect gateway to implement network communication. For more information, see Publishing IDC IP Ranges to CCN.
    • After creating a VPC-based direct connect gateway, you need to configure the VPC route table to implement network communication. For more information, see Configuring the Route Table.