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, 2022 in GCP by Rahul
• 3,380 points
447 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,460 points
919 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,230 points
6,796 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,460 points
1,073 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,460 points
1,469 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, 2022 in GCP by Korak
• 5,820 points
1,360 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, 2022 in GCP by Korak
• 5,820 points
726 views
0 votes
1 answer

VPC Network on GCP

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

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
750 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, 2022 in GCP by Korak
• 5,820 points
1,335 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,020 points
1,708 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP