Summarize Transit Gateway Prefixes across Multiple TGW


Customer with 2 Transit Gateways, both associated with the same Direct Connect gateway.

They are looking to consolidate the prefixes on TGW A.

Currently they have:

TGW A,,,,,, etc


and would like to consolidate down to:



My question is, will prefixes be resolved using the longest prefix first? So routes matching the longer subnet masks on TGW B will still be routed, with everything else under the /16 mask being routed to TGW A?

1개 답변
수락된 답변

TGW is not the issue here explicitly. In Direct Connect Gateway you cannot currently have two Associations in DXGW with overlapping prefixes in their allow list

if you created TGW B Association first, the 3 routes (,, would be added to the allowed list in the Direct Connect Gateway association settings, when you attempt to place into the Direct Connect Gateway TGW A Association, you will get an error: "The requested allowed routes overlap with one or more existing allowed routes on the direct connect gateway"

답변함 3년 전
profile picture
검토됨 13일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠