Greetings!
The size of the hub VNet in a hub-and-spoke model depends on your current and future requirements, such as the number of subnets, connected spokes, and services hosted in the hub.
A larger address space (e.g., /20
) provides more flexibility for adding subnets in the future.
For smaller setups with limited growth, a /22
or /23
might suffice, but it could limit future expansion.
/20 Subnet: This is often the recommended size for the hub VNet. A /20 subnet provides 4,096 IP addresses,This allows for significant growth and the addition of various services, such as virtual appliances, gateways, and other resources.
/22 Subnet: This provides 1,024 IP addresses, which may be sufficient for smaller deployments but could become limiting as your architecture grows.
/23 Subnet: This offers only 512 IP addresses, which is generally too small for a hub VNet, especially in a hub-and-spoke architecture where you may need to accommodate multiple services and connections.
For more about Hub-spoke network topology in Azure
If above is unclear and/or you are unsure about something add a comment below.
Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.