GCP VPC Peering auto-mode

0 votes

I have two GCP projects which have their own VPC (created in auto-mode) and I would like to create a VPC peering connection between them in order for the compute instances in both VPCs to communicate with each other.

But since the VPCs were created in auto-mode, the subnets of both networks are using the same predefined range of IP addresses meaning that I cannot connect the VPCs together because the IP ranges are overlapping.

In the two VPCs, my compute instances are in the "same" subnet and converting the subnet mode (from auto to custom) could allow me to change the IP range of those subnets. But the new IP CIDR range needs to be a superset of the current IP CIDR range and the IP ranges will still be overlapping.

What could be a solution here ?

Note that I do not need to have a subnet created in each region since I am only using 1 or 2 subnets as of now.

Apr 7 in GCP by Rahul
• 2,540 points
14 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In GCP

+2 votes
1 answer

How to do VPC peering in GCP Cloud?

Hi@akhtar, If you have created your VPC in ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,340 points
284 views
0 votes
1 answer

Is there any limit on the number of VPC per project in GCP?

The default limit for number of networks ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,170 points
2,611 views
+2 votes
1 answer

How to create a VPC in GCP Cloud?

Hi@akhtar, You can create a private network in ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,340 points
311 views
+2 votes
1 answer

How to create a VPC on GCP from command line?

Hi@akhtar, To create a personal network, you need ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,340 points
501 views
0 votes
1 answer

GCP auto shutdown and startup using Google Cloud Schedulers

In order to start and stop a ...READ MORE

answered Mar 20 in GCP by Korak
• 4,460 points
29 views
0 votes
1 answer

GCP - No Cloud NAT but given public IP leaves VPC

Looks like the IP address belongs to ...READ MORE

answered Mar 31 in GCP by Korak
• 4,460 points
31 views
0 votes
1 answer

VPC Network on GCP

Google Cloud creates a default VPC. The instance that ...READ MORE

answered Apr 6 in GCP by Korak
• 4,460 points
39 views
0 votes
1 answer

How do I setup a network peering connection from multiple GCP projects to the same MongoDB cluster

If you have a project and want ...READ MORE

answered Apr 11 in GCP by Korak
• 4,460 points
58 views
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 58,060 points
921 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP