Configuring Policy-Based VPN for Non-BGP On-Premises Networks
Short answer
BC Use a single policy-based VPN tunnel with 30 remote traffic selectors or multiple policy-based VPN tunnels with one CIDR each to match the on-premises gateway's unique SA-per-CIDR requirement.
Question
Following Google-recommended practices, which two methods can you use to accomplish this? (Choose two.)
Key Takeaways
The main trap is assuming Route-Based (A) is always best; however, 'No BGP' forces Policy-Based. The 'unique SA per CIDR' constraint allows both aggregating selectors in one tunnel (B) or splitting them across multiple tunnels (C).
Learn how to configure Google Cloud VPN for on-premises networks without BGP support. The correct solution involves using policy-based routing with either a single tunnel containing all CIDRs or multiple tunnels for granular SA handling.
Common mistake: Candidates often choose A (Route-Based) because it is Google's general recommendation for simplicity, failing to notice the 'No BGP' constraint which makes dynamic routing impossible.
Expert Analysis
The core constraint is that the on-premises network does not support BGP, which mandates the use of a Static Routing VPN (Policy-Based) rather than Dynamic Routing (Route-Based). This immediately eliminates Option A, as route-based tunnels rely on BGP to exchange routes dynamically.
Next, we must address the specific behavior of the on-premises gateway: it creates a unique child Security Association (SA) per CIDR.
- Option C states: "Create multiple Cloud VPN tunnels... Connect each tunnel to unique peer IP addresses." In Google Cloud Policy-Based VPNs, each distinct tunnel requires its own pair of local/remote traffic selectors and, crucially, its own dedicated connection to a unique peer IP address. Since the on-premises device expects one SA per CIDR, mapping each CIDR to a separate tunnel connected to a unique peer IP correctly aligns with this requirement. Each tunnel handles one CIDR, creating one SA.
- Option B states: "Create a single Cloud VPN tunnel that uses policy-based routing with 30 CIDRs as the remote traffic selectors." While policy-based routing allows specifying multiple CIDRs in a single tunnel's configuration, doing so typically results in the negotiation of a single child SA that covers all specified CIDRs (or relies on the peer's ability to handle multiple selectors within one SA context). However, the prompt explicitly says the peer creates a unique SA per CIDR. If you try to negotiate 30 CIDRs over a single tunnel, the peer might reject the request or fail to establish the expected one-to-one SA mapping if it strictly enforces one SA per CIDR requiring distinct connection endpoints. But wait, let's look at Option D and E.
Let's re-evaluate based on Google's official documentation for choosing networks/routing. The documentation highlights two main approaches for static routing:
- Route-based: Uses 0.0.0.0/0 selectors (Eliminated due to no BGP).
- Policy-based: Allows granular control.
The key phrase is "unique child SA per CIDR". If we use Option C (Multiple tunnels, unique peer IPs), we create 30 tunnels. Each tunnel has 1 CIDR selector. This matches the "one SA per CIDR" model perfectly because each tunnel corresponds to one SA.
What about Option B? A single tunnel with 30 CIDRs. If the peer creates a unique SA per CIDR, can a single tunnel hold 30 SAs? Typically, an IKEv2 negotiation establishes one Child SA per set of traffic selectors. If the peer forces a new SA for every CIDR, it implies it expects separate negotiation contexts or connections. However, standard policy-based VPNs often allow multiple CIDRs in one tunnel definition. But does the "unique SA per CIDR" imply a technical limitation on the number of CIDRs per tunnel, or just the SA structure?
Actually, there is a simpler interpretation. The question asks for methods to ensure reachability following Google-recommended practices given the constraint.
Let's look at the comments. One highly upvoted comment suggests B and C. Another suggests A and C. Let's analyze the "Unique SA per CIDR" constraint again. If the peer creates a unique SA per CIDR, it likely means the peer treats each CIDR as a distinct security context.
In Google Cloud, when you configure a Policy-Based VPN, you define localTrafficSelector and remoteTrafficSelector.
- If you create one tunnel with 30 CIDRs as the remote selector, you are negotiating one set of parameters. If the peer creates a unique SA per CIDR, it might mean the peer splits them internally, but from the GCP side, it's one tunnel.
- If you create multiple tunnels (Option C), each with one CIDR, you have 30 tunnels. Each tunnel negotiates one SA. This maps 1:1 to the peer's behavior.
However, there is a catch with Option C: "Connect each tunnel to unique peer IP addresses." You only have one on-premises network. Do you have 30 peer IPs? Usually, you have one peer IP. If you connect multiple tunnels to the same peer IP, that is also valid in GCP (using different ports/IPs if NAT is involved, or just logical separation). But Option C specifies unique peer IPs. If the on-prem network doesn't have 30 unique IPs, Option C is impossible.
Let's look at Option B again. Single tunnel, 30 CIDRs. This is a standard way to handle many subnets with a single policy-based tunnel. Does the "unique SA per CIDR" rule prevent this? If the peer creates a unique SA per CIDR, it might simply mean the peer's firewall/security engine processes them individually, but they can still be part of one IKE SA bundle or separate SAs negotiated under one tunnel.
Wait, look at Option D: Multiple tunnels, 10 CIDRs per tunnel. This is arbitrary grouping. Look at Option E: Multiple tunnels, one CIDR each, same peer IP. This is technically possible in GCP (you can attach multiple tunnels to the same external IP if they are distinguished by other means, though often unique IPs are preferred for clarity). But Option C says unique peer IPs.
The most critical insight comes from the Google Cloud Documentation on Choosing Networks/Routing. It states:
- For Route-based: Use 0.0.0.0/0. (Not applicable here).
- For Policy-based: You can specify multiple CIDRs.
The constraint "VPN gateway creates a unique child SA per CIDR" is a hint about the on-premises device's limitation or design. If the peer creates a unique SA per CIDR, it strongly suggests that the peer expects separate negotiations or separate associations for each CIDR.
If you use Option B (Single Tunnel, 30 CIDRs), you initiate one negotiation. If the peer creates 30 SAs from that one negotiation, it's possible. But often, "Unique SA per CIDR" implies the peer cannot aggregate them into one SA, or requires distinct endpoints.
However, the most common "trap" in these questions is confusing Route-based vs Policy-based. Since BGP is out, it MUST be Policy-based. So A is out.
Between B, C, D, E:
- B: Single tunnel, 30 CIDRs. Efficient. If the peer supports multiple CIDRs in one SA negotiation (even if it creates internal SAs), this works. Many vendors support this.
- C: Multiple tunnels, unique peer IPs. This is very explicit. If you have 30 CIDRs, you make 30 tunnels. Each gets one CIDR. This guarantees 1 SA per CIDR. But do you have 30 IPs? The question doesn't say. It just says "on-premises network".
Let's look at the votes/comments again. The highest voted substantive comments point to B and C or A and C. But A is definitely wrong because of "No BGP". So any answer including A is wrong. This eliminates the "AC" comments.
This leaves B and potentially C or D or E. If A is wrong, and the choice is between B, C, D, E... Comment 2 says "BD". Comment 4 says "BD". Comment 6 says "BE". Comment 7 says "AC" (wrong). Comment 8 says "BE". Comment 9 says "B&C".
Let's reconsider Option B. Can a single policy-based tunnel have 30 CIDRs? Yes. Does the "unique SA per CIDR" rule break it? If the peer creates a unique SA per CIDR, it might mean the peer requires separate SAs. In IKEv2, you can have multiple Child SAs under one IKE_SA. So a single tunnel (one IKE_SA) can host 30 Child SAs (one per CIDR). This makes Option B valid.
Now, what is the second correct option? Option C involves multiple tunnels. Is it "recommended"? Creating 30 tunnels is generally not recommended due to management overhead, but it works. However, Option C requires unique peer IP addresses. If the on-prem network only has one public IP, Option C fails. The question doesn't specify IP count.
Let's look at Option E: Multiple tunnels, one CIDR each, same peer IP. This avoids the IP scarcity issue of Option C. Is this allowed? Yes, you can have multiple tunnels to the same peer IP in GCP. Does it satisfy "unique SA per CIDR"? Yes, each tunnel negotiates its own SA.
So, is it B and E? Or B and C? Or B and D?
The phrase "Following Google-recommended practices" is key. Google recommends minimizing the number of tunnels where possible for manageability, but also adhering to peer constraints.
Actually, there is a specific note in Google's docs: "If your on-premises device creates a unique child SA per CIDR, you cannot use a single tunnel with multiple CIDRs if the device expects a separate connection for each." Wait, if the device creates a unique SA per CIDR, it can be done in one tunnel (multiple Child SAs). But some older devices or specific configurations require a separate Tunnel (IKE_SA) per SA.
If the device requires a separate Tunnel per CIDR, then Option B is invalid. Then we must use multiple tunnels. That would leave C or E. C requires unique IPs. E uses same IP. E is more flexible regarding IP availability.
However, looking at the community consensus (despite my skepticism about voting), B appears in almost all non-A answers. This suggests B is considered correct. Why? Because modern IKEv2 supports multiple Child SAs per Tunnel. The "unique SA per CIDR" describes the result (30 SAs exist), not necessarily the method (30 tunnels). They can coexist in one tunnel. So B is correct.
If B is correct, what is the other? C is a valid alternative method (multiple tunnels), even if less scalable. It explicitly satisfies the "unique SA per CIDR" by using unique tunnels. The "unique peer IP" part might be a distractor or assumed available.
But wait, look at Option D: Multiple tunnels, 10 CIDRs each. This creates 3 tunnels. Each tunnel has 10 CIDRs. If the peer creates a unique SA per CIDR, this tunnel would need to host 10 SAs. This is similar to B. Why is D wrong? Arbitrary grouping isn't a "method".
Let's look at Option E again. Multiple tunnels, one CIDR each, same peer IP. This is functionally identical to C but without the IP constraint. If C is right, E should be right too? Unless "unique peer IP" is required for some technical reason (e.g., port conflicts). In GCP, you can have multiple tunnels to the same peer IP.
Let's check the official answer logic for similar PCNE questions. Often, B and C are paired as "Single Tunnel with multiple selectors" vs "Multiple Tunnels with single selectors". These represent the two architectural choices for Policy-Based VPNs. Even if C has the "unique IP" caveat, it is structurally the counterpart to B.
Therefore, the two methods are:
- Aggregate all CIDRs into one Policy-Based tunnel (B).
- Split CIDRs into multiple Policy-Based tunnels (C).
Option A is wrong (Route-based/BGP). Option D and E are variations of C, but C is the canonical "Multiple Tunnel" example. Also, E's "same peer IP" might be considered less robust or "standard" than unique IPs in exam logic, or C is simply the intended "correct" representation of the multi-tunnel approach.
Final decision: B and C.
Official Reference
https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always check for BGP support first. If 'No BGP' or 'Static Routing' is mentioned, discard Route-Based options immediately. Then, analyze the peer's SA behavior: if it requires unique SAs, verify if the selected option allows multiple SAs within one tunnel (valid) or requires multiple tunnels (also valid depending on IP resources).
Community Votes
28% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 13 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 13
-
Positron75 👍 4The documentation points towards A+C: https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing?hl=en#route-alignment For A: "Use a route-based VPN. Both traffic selectors are 0.0.0.0/0 by definition for route-based VPNs. You can create routes that are more specific than the traffic selectors." For C: "Use policy-based routing to create multiple Cloud VPN tunnels so that each tunnel only has one CIDR block for its local traffic selector and one CIDR block for its remote traffic selector. (...) Your peer VPN gateway must offer separate external IP addresses to which each Cloud VPN tunnel can connect. Tunnels on the same Classic VPN gateway must connect to unique peer gateway IP addresses."
-
dev62 👍 3B&C : https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing
-
waelghaith 👍 2A & C Answer here: recheck this link and check your answer https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing#route-alignment
-
desertlotus1211 👍 2Rethinking - B&C
-
pico 👍 1A (Route-based): Less likely to work due to the peer's SA requirement conflicting with the typical 0.0.0.0/0 selectors used in route-based VPNs. While generally recommended by Google, it might not be applicable here. B (Single Policy-based, 30 CIDRs): A valid approach if the peer device supports negotiating multiple Child SAs based on the provided traffic selectors within a single IKEv2 negotiation. Google Cloud supports this configuration. C (Multiple Policy-based, Unique Peer IPs): Requiring unique peer IPs is explicitly contradicted by documentation which states multiple tunnels can connect to the same peer IP and that tunnels on the same Classic VPN gateway must connect to unique peer IPs (implying multiple tunnels to the same peer IP requires multiple GCP gateways or careful configuration, but connecting multiple tunnels to the same peer IP is possible). This option is impractical. D (Multiple Policy-based, 10 CIDRs each): Arbitrary grouping, less standard than B or E.
Show 8 more comments
-
AzurePete 👍 1B. Create a single Cloud VPN tunnel that uses policy-based routing with 30 CIDRs as the remote traffic selectors. D. Create multiple Cloud VPN tunnels that use policy-based routing with 10 CIDR per tunnel as the remote traffic selectors. Policy-based routing allows you to specify which traffic is sent over specific tunnels based on the local and remote traffic selectors (CIDR blocks). You can either create a single tunnel with 30 remote traffic selectors (option B) or create multiple tunnels, each with up to 10 remote traffic selectors (option D). Option A is incorrect because route-based VPNs require BGP, which your on-premises network does not support. Options C and E are incorrect because they suggest creating a tunnel for each CIDR block, which would result in 30 tunnels. This is unnecessary and would increase complexity and management overhead.
-
pico 👍 1B: Since the on-premises network does not support the Border Gateway Protocol (BGP), you must use a VPN with static routing. Policy-based routing is a type of static routing where you define the specific IP ranges (traffic selectors) that can communicate through the tunnel. D: This approach is a variation of policy-based routing that enhances manageability and can help avoid potential limits on the number of SAs or policies within a single tunnel on either the Google Cloud or the on-premises side. By splitting the 30 CIDR ranges across three separate tunnels (10 CIDRs each), you still achieve the same connectivity goal
-
netmaster81 👍 1IKEv1 supports 1 CIDR for each VPN and on SA for each IKEv2 supports up to 30 CIDR for each VPN but all of them share one SA as the current VPN use unique SA for each CIDR then we can't use IKEV2.. not B
-
ulkerra 👍 1VPN gateway creates a unique child security association (SA) per CIDR. one tunnel and 30 traffic selector options should be chosen
-
irmingard_examtopics 👍 1Why not C: There is no requirement regarding unique peer IP addresses for each tunnel.
-
dev62 👍 1C & E also seems correct
-
desertlotus1211 👍 1Answer A&B are correct.
-
n2183712847 👍 1It is AC
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PCNE Questions
Access 80 questions with complete answers and detailed explanations.
View Full PCNE Practice Test →