Route Table - Both Propagation and Static Routes?

0

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

已提問 2 個月前檢視次數 412 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南