Route Table - Both Propagation and Static Routes?

0

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

已提问 2 个月前411 查看次数
2 回答
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
专家
已回答 2 个月前
profile picture
专家
已审核 2 个月前
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

已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则