Routing Flashcards
VPC Routing
What does the VPC Router route traffic between?
Between subnets, external into VPC, from VPC to external
VPC Routing
Why doesn’t the VPC Router handle routing traffic /within/ a subnet?
Because routing isn’t required! Layer 2 MAC is sufficient! Routing starts when you leave the local subnet!
VPC Routing
Where in the VPC’s network space can you find the VPC Router?
Subnet + 1 (every subnet). It’s the “default gateway” from DHCP Option Set
VPC Routing
High-level, what are the entries in Route Tables associated with?
Subnets: routing is inter-subnet
VPC Routing
How does VPC handle disambiguation when a Subnet is associated with two VPC Route Tables?
Can’t: trick question – Subnets only associted with 0 or 1 Route Tables.
VPC Routing
How does routing work in a Subnet without a Route Table?
Trick: can’t happen, if no custom RT, Subnet uses default RT
VPC Routing
Why should you leave the main Route Table alone (system-supplied defaults)?
In case you disassociate a Subnet from a custom RT, don’t want unintended consequences.
VPC Routing
Within a Route Table, how are routes disambiguated?
Highest priority wins: longest CIDR prefix, then static routes, then propagated routes
VPC Routing
What routes are present in all newly-created route tables?
CIDR range as destination, with target set to “local”.
VPC Routing
How do you change this default route?
Can’t.