Publishing IDC IP Ranges to CCN

Last updated: 2021-08-12 15:56:11

    After associating a CCN with the direct connect gateway, you need to configure a routing policy for the CCN, with the direct connect gateway as the next hop and IDC IP range as the destination to implement communication. The routing policy can be either manually entered (Static) or automatically synced (BGP). For more information, see Route Overview. This document describes how to configure IDC IP range on the direct connect gateway for the CCN route propagation.

    Upgrade Description

    The direct connect gateway now supports adding IP ranges to publish (i.e., IDC IP ranges). This feature stays in grayscale release for 30 days starting from July 8, 2021. If you encounter any issue when using the new version, please submit a ticket.
    Updates:
    Optimized UI design to improve user-friendliness, making it easier to use.

    Background

    As shown in the following Direct Connect network architecture, your IDC associated with the CCN-based direct connect gateway and CCN can communicate with a Tencent Cloud VPC. The destination IP range of VPC routes to IDC is 192.168.0.0/24. After configuring the IDC IP range on the direct connect gateway, the CCN route table will add a routing policy with the direct connect gateway as the next hop and 192.168.0.0/24 as the destination.

    Note:

    If you configure multiple IDC IP ranges on the direct connect gateway, CCN will forward the route with the longest mask. For more information, see Route Overview.

    Prerequisites

    You have created a CCN-based direct connect gateway as instructed in Creating 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. Click the ID/Name of the target direct connect gateway to enter its details page.
    3. Select the Publish IP Range tab.
      The IP range published is an IDC IP range that specifies the direct connect gateway route to CCN. After the route is received, CCN will automatically add a route with the direct connect gateway as the next hop and IDC IP range as the destination.
    4. (Optional) Associate a CCN instance.
      If you did not specify a CCN instance when creating the direct connect gateway, click Associate with CCN, select a CCN instance to be associated in the pop-up, and click OK.
      Then the CCN instance will be associated and the CCN icon becomes green. The dotted line between direct connect gateway and CCN changes to solid, indicating their interconnection.
    5. Create a dedicated tunnel.
      A dedicated tunnel is the network segmentation of a connection. It provides a linkage of IDC to Tencent Cloud.
      Under the Dedicated Tunnels icon connected with the direct connect gateway, click Create dedicated tunnel to redirect to the Create Dedicated Tunnels page, where you can configure a dedicated tunnel.
      For more information on the parameter configurations, see Creating a Dedicated Tunnel.
      Then the dedicated tunnel is created and the Dedicated Tunnels icon becomes green. The dotted line between direct connect gateway and dedicated tunnel changes to solid, indicating the direct connect gateway is configured with a dedicated tunnel.
    6. Publish IDC IP ranges to CCN.
      After an IDC IP range is published to CCN, the CCN route is synced to the direct connect gateway, while the direct connect gateway route to CCN can be obtained depending on the publishing method of the IDC IP range.
      • Custom: the manual configuration mode. CCN obtains the specified direct connect gateway route.
      • Auto-propagation: the BGP mode. CCN automatically obtains the direct connect gateway route published from the dedicated tunnel.

        Formerly named Static or manual configuration.

        1. (Optional) Select a CCN instance in the Publish Rules section.
          Perform this step if you want to associate one CCN instance with the direct connect gateway or change the associated CCN instance.
          Note

          The Publishing method defaults to Custom. To switch to Auto-propagation, please submit a ticket.

        2. Select the Custom tab on the IP Range Details page, click Create, enter the IDC IP range to publish to CCN, and click Save.
          Then the direct connect gateway will publish the IDC IP range you entered to CCN.
          Note

          Up to 100 IDC IP ranges can be published. To publish more IDC IP ranges, please submit a ticket.

    7. View the published IDC IP ranges.
      The published IDC IP ranges will be shown on the IP Range Details page.