0
votes

I am not an expert in the field of GCP, so I immediately want to apologize for the stupid questions.

I read the documentation, found the necessary information, but it does not completely answer my questions.

Can you help me?

VPC contains a subnet from each region. There can be several subnets in one VPC. Subnets use a set of predefined ranges of IP addresses. It turns out that each subnet can have the same range of IP addresses? It's right ?

I was confused by what I read in the GCP documentation:

Having new subnets automatically created as new regions become available could overlap with IP addresses used by manually created subnets or static routes, or could interfere with your overall network planning.

Because the subnets of every auto mode network use the same predefined range of IP addresses, you cannot connect auto mode networks to one another.

Primary and secondary ranges for subnets cannot overlap with any allocated range, any primary or secondary range of another subnet in the same network, or any IP ranges of subnets in peered networks.

Based on the documentation, I can conclude that:

There are 2 ways to create a subnet:

  • creating a subnet in automatic mode.*

  • creating a network in user mode.*

It turns out each subnet uses its own range of addresses inside. I can create several subnets with the same range, but I can’t connect between them - is it only when I use the creation of a subnet in automatic mode, or does this also apply to user mode? Or am I wrong ?


UPDATED:

As far as I understood from the answers in the comment:

that within one VPC each subnet should be unique and not overlapping.

But the fact is that I need to have several subnets with the same range of addresses within one VPC.

Can you tell me something how to solve this situation? Maybe there are some solutions?

1
Limit your posts to one question. Post multiple questions if necessary.John Hanley
@JohnHanley ok, thanks. I will do several questionsKirill Sereda

1 Answers

2
votes

VPC contains a subnet from each region. There can be several subnets in one VPC. Subnets use a set of predefined ranges of IP addresses. It turns out that each subnet can have the same range of IP addresses? It's right ?

No, within one VPC, each subnet must be unique and non-overlapping. What Google is trying to explain to you is: If you create your own addresses, those addresses might conflict with addresses that Google creates. This means that Google is not checking if the address is already being used.

My question is this: Can I increase the quotas for all the resources that are provided on the quota page in the console?

That depends on your definition. You can request quota increases. Be prepared to justify the quota increase and have the "credit" qualification to use and pay for those resources.