By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Route Table - Both Propagation and Static Routes?

0

Can you use a route table with both propagation and static routes?

2 Answers
0

Yes, it is possible, Static routes will be preferred over propagated routes, see the TGW Route evaluation order:

https://docs.aws.amazon.com/vpc/latest/tgw/how-transit-gateways-work.html#tgw-route-evaluation-overview

profile pictureAWS
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
0

Route priority and propagated routes

If you've attached a virtual private gateway to your VPC and enabled route propagation on your subnet route table, routes representing your Site-to-Site VPN connection automatically appear as propagated routes in your route table.

If the destination of a propagated route overlaps a static route, the static route takes priority.

If the destination of a propagated route is identical to the destination of a static route, the static route takes priority if the target is one of the following:

internet gateway

NAT gateway

Network interface

Instance ID

Gateway VPC endpoint

Transit gateway

VPC peering connection

Gateway Load Balancer endpoint

Reference https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html#route-table-routes

answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions