Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

What is app-vpc CIDR?

This lab created a custom subnet "oregon-subnet" with CIDR 192.168.0.0/24 in VPC app-vpc. Unlike AWS, GCP has no provision to provide the CIDR for VPC? What is the CIDR for app-vpc?

I was playing with it and I was able to create another subnet in app-vpc, same region, with CIDR 10.10.1.0/24. This (10. range) is a totally different class than 192 range. How does this work?

1 Answers

Ah, I’m glad you’re wondering about this!  In GCP, the VPCs themselves do not have any fixed CIDR range that you must specify and adhere to when creating subnets.  Each subnet does have a CIDR range–and these ranges must not overlap, within the VPC–but you can use ranges from all over the RFC1918 private IP address bands. 🙂

Mattias

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?