You need to enable JavaScript to run this app.
Transit Router

Transit Router

Copy page
Download PDF
Intra-region attachment
Creating a DC Gateway attachment
Copy page
Download PDF
Creating a DC Gateway attachment
Scenarios​
Establish a connection between a Direct Connect (DC) Gateway and a Transit Router (TR), enabling intercommunication between the DC-connected and TR's networks.​
Prerequisites​
  • Ensure you have added a Virtual Interface and configured on-premises routing for the target DC Gateway. This DC Gateway is not attached to a Cloud Enterprise Network (CEN) instance or other TR instances.​
  • Before creating a cross-account intra-region attachment, ensure you have accepted a sharing invitation. The target TR instance is not suspended due to overdue payment.​
Instructions​
By default, a single TR instance supports a maximum of 10 DC Gateway attachments. If this quota is insufficient, you can request an increase through the Quota Center, up to an absolute upper limit of 16 attachments.​
Procedure​
  1. Click the name of the target TR instance.​
  1. In the section below Basic information, select the Intra-region attachment tab.​
  1. Click Create attachment, and complete the basic configuration based on the table below.​
  • ​
    Parameter​
    Description​
    Example​
    Basic information​
    ​
    ​
    TR​
    Defaults to the selected TR instance, requiring no manual configuration.​
    tr01​
    Region​
    Defaults to the same region as the TR instance. No manual configuration required.​
    China (Guangzhou)​
    Fee payer​
    Defaults to the same fee payer as the TR instance. No manual configuration required. This parameter is displayed only when the TR instance is shared.​
    Network instance account​
    Name​
    The name for the network instance attachment to be created.​
    attach01​
    Instance​
    ​
    ​
    Attachment type​
    Select the type of network instance. This example only demonstrates configuration parameters for DC Gateway attachments.​
    DC Gateway​
    DC Gateway​
    Select the DC Gateway instance to be connected based on the project.​
    To ensure the mutual route learning between the TR and DC Gateway, we recommend avoiding the use of the same ASN for both the DC Gateway and the TR instance.​
    dcgw01​
    ​
  1. Complete the route configuration and advanced options based on the table below.​
  • ​
    Parameter​
    Description​
    Example​
    Route configuration​
    ​
    ​
    Association forwarding​
    Specify whether to enable association forwarding for this attachment.​
    • Enable: Select the TR route table. This means traffic from the previously selected network instance will be forwarded according to routes in this TR route table.​
    tip​
    When a Recipient creates a cross-account attachment and enables association forwarding, the only option is the target TR instance’s system route table by default. To modify this, contact the Owner.​
    • Disable: After the attachment creation is completed, you also need to specify the TR route table that forwards traffic for this attachment by seeing Create an association forwarding rule. Otherwise, the TR will be unable to forward traffic from the attachment.​
    Enable​
    Route learning​
    Specify whether to enable route learning for this attachment.​
    • Enable: Select the TR route table. This means this TR route table will automatically learn routes from the selected DC Gateway, and generate routes with the destination CIDR block set as the CIDR block of the on-premises data center connected via the DC Gateway and the next hop set as this attachment.​
    tip​
    When a Recipient creates a cross-account attachment and enables route learning, the only option is the target TR instance’s system route table by default. To modify this, contact the Owner.​
    • Disable: The TR route table will not automatically learn routes of this DC Gateway. After the attachment creation is completed, configure route learning for it based on Create a route learning rule. Otherwise, the TR will be unable to forward received requests to this DC Gateway.​
    Enable​
    Advanced options​
    ​
    ​
    Tag​
    A tag consists of a key-value pair and is used for categorizing and searching resources. Learn more​
    Click Add tag, type the tag key and tag value to add tags for the attachment.​
    • Tag key: attach-k1​
    • Tag value: attach-v1​
    ​
  1. Click Buy now to complete the action.​
Related documentation​
CreateTransitRouterDirectConnectGatewayAttachment: Create a DC Gateway attachment.​
Last updated: 2026.09.01 11:37:12