Parameter | Description |
Destination | Specify the destination IP range to which you want to forward traffic. Configure it as follows: Enter an IP range. If you want to enter a single IP, set the mask to 32 (for example, `172.16.1.1/32`). The destination cannot be an IP range of the VPC where the route table resides, because the local route already allows private network interconnection in this VPC. Note: If you have deployed a TKE service in the VPC, when you configure the routing policy of the route table for the VPC subnet, the destination cannot be within the CIDR block range of the VPC, nor can it contain the container IP range. For example, if a VPC CIDR block is `172.168.0.0/16` and the container network CIDR block is `192.168.0.0/16`, when you configure the routing policy for the VPC subnet, the destination IP range cannot be in the range of `172.168.0.0/16`, and cannot contain `192.168.0.0/16`. |
Next hop type | Indicates the egress of data packets for the VPC. Supported types: NAT Gateway: the traffic directed to a destination IP range is forwarded to a NAT Gateway. Peering connections: The traffic directed to a destination IP range is forwarded to the VPC peer of a peering connection. Direct Connect Gateway: the traffic directed to a destination IP range is forwarded to a direct connect gateway. High Availability Virtual IP: the traffic directed to a destination IP range is forwarded to an HAVIP. VPN Gateway: the traffic directed to a destination IP range is forwarded to a VPN gateway. Public IP of CVM: the traffic directed to a destination IP range is forwarded to the public IP (including EIPs) of a CVM instance in the VPC. CVM: the traffic directed to a destination IP range is forwarded to a CVM instance in the VPC. CDC local gateway: Tencent Cloud CDC communicates with the customer IDC by using a CDC local gateway. |
Next hop | Specify the next hop instance to which the traffic is redirected, such as a gateway or CVM IP. |
Notes | Enter the route description for resource management. This parameter is optional. |
New Line | You can click + New line to configure multiple routing policies, or click the deletion icon in the Operation column to delete the unnecessary routing policies. A custom route table should contain at least one routing policy. |
Was this page helpful?