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?

feita há 2 meses335 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas