The proposal is to allocate subnets with name cloud-flat-{deployment}:
- cloud-flat-eqiad1:172.16.8.0/22
- cloud-flat-codfw1dev: 172.16.129.0/24 -- already allocated in https://netbox.wikimedia.org/ipam/prefixes/928/ we just need to refresh the name
The proposal is to allocate subnets with name cloud-flat-{deployment}:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T270694 CloudVPS: introduce tenant networks | |||
| Resolved | • aborrero | T364725 Migrate Cloud VPS instances to VXLAN based networks | |||
| Resolved | • aborrero | T374020 openstack: instrument VXLAN-based flat network | |||
| Resolved | • aborrero | T374111 netbox: allocate CIDRs for openstack VXLAN-based flat networks |
cloud-flat-eqiad1: either 172.16.8.0/22 (1k addresses) or 172.16.8.0/21 (2k addresses)
Even with the ability to more easily have the vlan stretched across many racks, there are disadvantages to having too large a broadcast domain. i.e. ARPs/ND get flooded to all hosts in the subnet. With 2,000 hosts this can end up being quite a lot, so my instinct here would be to go with the /22.
I guess the other factor weighing into the decision is what the options are if we had more than 1,000 hosts. Is it easy enough to add another similar network with another /22? Or would it be quite complicated to add additional networks if we outgrow the subnet we allocate now?
As of this writing we have a 172.16.0.0/21 for eqiad1, with about ~800 VMs running.
source:
All VMs live in the same subnet, so effectively the same broadcast domain as you say.
If we manage to set it up nicely, it should be a problem to grow later, or to have another range. Well, in fact, our target is to have tenant networks, so that means even less neighbors in the /22 subnet.
updates: