VLAN Calculator
Generate a VLAN addressing plan: IDs, names, sized subnets, masks, gateways and usable host ranges.
How it works
A VLAN logically segments a switched network: each VLAN forms a distinct broadcast domain and usually receives its own IP subnet. Frames are tagged 802.1Q between switches (trunk).
Best practice: size each VLAN subnet according to the real number of endpoints with a margin (25%), reserve the first host for the gateway, and document the VLAN ↔ subnet mapping. The tool relies on a best-fit algorithm to limit address waste.
Examples
Typical SMB
Four VLANs sized to the nearest fit.
| base | 10.20.0.0/16 |
| vlans | 10, ADMIN, 50 20, WIFI, 200 30, SERVEURS, 20 99, MANAGEMENT, 10 |
| gateway_offset | 1 |
No specific requirement
Automatic even distribution.
| base | 192.168.0.0/22 |
| vlans | 1, LAN 2, VOIX 3, IOT |
| gateway_offset | 1 |
Frequently asked questions
How do you size a VLAN?
Count the number of endpoints, add a growth margin of 20 to 25%, plus 2 for the network and broadcast, then round up to the next power of 2.
Why VLAN 99 for management?
It is common to reserve a dedicated VLAN for device administration, isolated from user traffic.
Do VLANs have to be contiguous?
No, but using consistent ID blocks (10-19 workstations, 20-29 WiFi…) makes operations easier.