Route Priority for same routes in AWS Route table

36 Views Asked by At

Setup: Single AWS account, with environments in us-east-1, and ca-central-1.

The VPCs in each region are connected using a VPC-peering, and another physical link via DirectConnect. The prefixes are appearing as:

172.1.0.0/16 via pcx-* (VPC peering route)
172.1.0.0/16 via vgw-* (VGW/DirectConnect route via Propagation)

However, the traffic is using only the VPC-peering route.

How do we get it to use the VGW/DX route and fallback to VPC peering when the path via VGW/DX is not available?

0

There are 0 best solutions below