My company's infrastructure is hosted on Google Cloud. We'd like to connect a network of one our clients with site-to-site (IPSec) VPN. I've setup one on Google Cloud but we have a problem. Our subnetwork ( is overlapping with their subnetworks ( We have to solve this on our end, so on Google Cloud. Any idea how we can achieve this? I tried to add a new network interface to our VMs, but it's not possible with already existing VMs on Google Cloud.


You can setup Cloud VPN tunnel to GCP even if your on-prem ip address range ( subset is overlapping with GCP vpc ip address range (, based on guide [https://cloud.google.com/vpn/docs/concepts/order-of-routes#routing-examples].

But if your on-prem ip address range is subset of the GCP VPC ip address range, you cannot setup VPN at this situation, so you need either change your on-prem ip address range or GCP VPC's.

Current GCP doesn’t support adding additional network interface to existing VM. It can only be done during VM creation.


You can't use Cloud VPN with overlapping subnets. The Cloud VPN documentation claims that you actually may connect client's infrastructure but routing will not work as you need.

Since another NIC can't be added to the existing VM instance, VLAN compliant with the IEEE 802.1q standard could be a solution. VLAN Attachments are supported for Dedicated Interconnect and Partner Interconnect.

If you prefer to stick with Cloud VPN, using static NAT for the whole subnet could be considered to shift it to another address range.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.