Can I create static route for the same CIDR in a single transit gateway route table, having **Resource type** one as peering and the other as VPC?

0

I have 2 transit gateways one is in us-east-2 account A another one in af-south-1 account B, I have created transit gateway peering connection between the TGW A and B. Can I create static route for the same CIDR in a single transit gateway route table, having Resource type one as peering and the other as VPC?

질문됨 2달 전335회 조회
1개 답변
0

No, you can't do that. While Transit Gateway supports attachments (VPCs, VPN, Direct Connect, other Transit Gateways, etc.) that have the same CIDR range you can't route to both of them (i.e. the same CIDR range) within a single route table.

If you imagine a world where you could do that (have a route for CIDR range A that points to destination X and destination Y), how would you route packets to A? Do you send packet 1 to X and packet 2 to Y and so on? If so, that would break your communications pretty badly.

profile pictureAWS
전문가
답변함 2달 전
profile picture
전문가
검토됨 2달 전

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

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

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

관련 콘텐츠