← AWS Advanced Networking: networks and production
03 / 22 · 40 MIN

Implementing hybrid routes

Apply route priority and control change impact.

Concept and mechanism

Analyze the route table actually associated with the subnet sending traffic. The most specific matching destination route takes priority. A propagated /24 can beat a static /16; static preference applies to identical destinations in the described context.

Do not automatically transfer VPC-table rules to every TGW routing variant. In a Transit Gateway, distinguish attachment association with the table used for forwarding from propagation of its prefixes into tables. Publishing a route in several places can unexpectedly increase reach.

Segmentation policy should identify necessary connections and expressly forbidden connections, including the return direction.

Guided application

When integrating a VPC, prepare a short test matrix: production to shared services should pass; development to production should fail; authorized responses should return. Accepting peering does not create every required route. In Direct Connect, diagnose physical and logical prerequisites such as partner-agreed VLAN before changing BGP advertisements without evidence.

An MTU change can also update the physical connection and affect other VIFs. Identify shared applications, owners, and the window. Retain previous configuration, define stop signals, and confirm behavior after the change.

One configuration line can affect several applications; the change plan should reflect that dependency regardless of diff size.

Workshop: effective table and return path

Use this fictional configuration. The Prod attachment is associated with R-Prod; Shared with R-Shared. Prod propagates 10.10.0.0/16 to R-Shared.

R-Prod contains 10.30.0.0/16 toward Shared and no route to Dev. Both VPCs’ subnets send the relevant traffic to TGW. First follow a Prod-to-Shared request and its response: the forward path consults R-Prod; the response consults R-Shared and finds Prod’s prefix.

Now someone propagates Dev, 10.20.0.0/16, into R-Prod without changing associations. What changed? Prod gained a network destination toward Dev; propagation neither created another association nor proves every other control permits that flow.

The isolation test must attempt the forbidden destination as well as confirming Shared still functions. In a second trial, the team withdraws propagated 10.70.4.0/24 from a subnet table that also has static 10.70.0.0/16 via TGW and propagated /16 via VGW.

Predict the path for 10.70.4.8 after withdrawal. Answer: the static /16 takes precedence over the identical propagated route. Confirm return routing and application outcome over the new path.

This exercise interprets supplied configuration; it sends no packets and proves no AWS account state.

IN PRACTICE

10.80.12.9 matches /16 and /24. Select /24 before comparing static and propagated preference.

Common pitfalls

Wrong table; propagation treated as association; positive-only testing; MTU treated as isolated change.

Related topics: Resolution, endpoints, and automation · Evidence-led diagnosis

Take this idea with you

Follow the packet and also verify traffic that must not pass.

Create account

References

AWS is a trademark of Amazon.com, Inc. or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by AWS. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.