API Doc
Search Docs...
⌘ K
ACOSABSAVEANSABDR
  • ANS virtual private cloud networking technical whitepaper>
  • Technical implementation

Route table

A route table contains a set of routing rules that determine where VPC subnet traffic is routed. A route table routes traffic to a specified next-hop gateway service based on the destination address, enabling network traffic path planning within the VPC.

If the destination IP address of traffic leaving a VPC subnet belongs to the CIDR of another VPC subnet within the VPC, the traffic is routed to the default gateway of the corresponding VPC subnet;

If the destination IP address matches a routing rule in the route table, the traffic is routed to the next hop specified by that rule. If multiple rules match, the traffic is routed to the next hop specified by the rule with the longest prefix match;

If no rules match, the packet is dropped.