I’m a bit confused as to why one might choose something other than 10.0.0.0/16. Any insight?
Related discussions:
I’m a bit confused as to why one might choose something other than 10.0.0.0/16. Any insight?
Related discussions:
Because you’re already using 10.0.something for your on-prem network and you want to avoid overlap, is a common reason.
If you’re an enterprise with a large number of machines, you cant just take massive blocks. You’ll want to use the smallest viable cidr blocks
Why would that be? If you want to fit your networks “to size”, couldn’t you just take a subnet? And it seems like doing so from a big block would give more flexibility.
This makes sense, but then it would only be relevant when you’re connecting the two networks via Direct Connect / VPN?
While technically true in the case of conflicts, you still don’t really want to be using the same network in multiple places if you can avoid it. “Did you mean 10.15.23.41 in AWS or on prem?”.
You are essentially making the assumption that everyone on earth who is an AWS user shares your use case and requirements.
A few reasons:
Direct Connect and routing
As others have pointed out 10.10 is hugely popular and is likely already in use all over the place
Many orgs run multiple VPCs in many global regions and they may run more VPCs than pure /16s exist ![]()
What if I’m using all the other RFC private space onsite at my company or across many satellite office LANs? I can use that large /16 and break it up into IP space that covers ALL my regional VPCs, transit VPCs and other needs. Why should I build a single VPC with a massive /16 block that will never ever be consumed or allocated reasonably?
A /16 is just lazy and wasteful for some groups and the way they work. Why make a lazy design choice that removes the future freedom to use some or most of that space elsewhere or for other applications?
Honestly it’s not a big deal at all but larger groups responsible for many different networks, office sites and VPCs generally do not paint with such a massive network design brush - it just removes options and choices down the road
Ok, very true! Thanks for your replies!
Thanks, good explanation.
What do you mean?
In my org it is suggested to get the cidr block from a central team even when it’s not intended to connect via direct connect, purely for administrative purposes. Identification of accounts from IP addresses made easy
You should also keep VPC Peering in mind.
The accepter VPC can be owned by you, or another AWS account, and cannot have a CIDR block that overlaps with the requester VPC’s CIDR block.
Considering Regional VPC Peering is also a thing now, it might not always be a good thing to grab to many addresses.
only be relevant when you’re connecting the two networks
Or if you think you might ever want to do that in the future.
you might be connecting everything together in the future. avoiding overlap today avoids trouble tomorrow. then there’s IPv6 to get ready for.
the available space is big, depending on how things have been done on-prem. the number of /16 potentially available could be more than 530.
scaling should be done by including the flexibility to work with new blocks rather than depend on it all being one big block, and are you ready for IPv6?
what about 10.255.0.0/16?
Fair point.
You should still use various ranges instead of 10.0.0.0/16 for every single VPC.
10… (256 /16s) is as fair use as 172…(16 /16s) or even 192… (the whole thing is just one /16). since they (i am one of they) are never supposed to let internet traffic in, you should never see any traffic to/from 44.0.0.0/8. so there’s another 256 /16s you get away with if you find all the other possibilities used up. and 100.64.0.0/10 has 64 /16s, so there are plenty. you might want to intentionally use the latter two in the cloud so all the RFC1918 space can be used by on-prem people in the future.
We use VPCs to logically isolate each app stack.
If we gave each VPC a full /16 we would run out with most of the IPs going to waste.