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?

preguntada hace 2 meses334 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas