An enterprise organization maintains a centralized network architecture in Google Cloud. A primary network project contains a Virtual Private Cloud network named hub-vpc, which connects to an on-premises datacenter via Dedicated Interconnect using Cloud Router dynamic routing. Application workloads are deployed in a separate project within a Virtual Private Cloud network named spoke-vpc. You need to provide private layer-3 reachability so compute instances in spoke-vpc can communicate with on-premises servers over the existing Dedicated Interconnect connection. Which network topology configuration should you implement?
- Establish VPC Network Peering between hub-vpc and spoke-vpc, and configure the peering connection to export custom routes from hub-vpc and import custom routes into spoke-vpc.Answer
- BEstablish VPC Network Peering between spoke-vpc and an intermediate management VPC, relying on default transitive routing behavior to forward traffic from spoke-vpc through management VPC to hub-vpc.
- CReplace the Dedicated Interconnect attachment in hub-vpc with a HA VPN gateway in spoke-vpc, because Dedicated Interconnect attachments cannot carry traffic originating from outside their local VPC.
- DConfigure a VPC Service Control perimeter enclosing hub-vpc and spoke-vpc, which automatically establishes underlying network routes between the enclosed VPC networks and on-premises resources.
Answer
Establish VPC Network Peering between hub-vpc and spoke-vpc, configuring the peering connection to export custom routes from hub-vpc and import custom routes into spoke-vpc.
Establishing VPC Network Peering directly between hub-vpc and spoke-vpc while enabling custom route export on hub-vpc and custom route import on spoke-vpc allows dynamic routes learned via Dedicated Interconnect in hub-vpc to be propagated directly into spoke-vpc's routing table.
Step-by-Step Solution
Key Concept
VPC Network Peering Custom Route Exchange
Estimated Time:1m 30s