Tools / VLAN planner
VLAN and subnet planner for home networks
Split one network into a right-sized subnet for each VLAN. Enter the hosts each VLAN needs and get a non-overlapping plan with gateways and ranges. Free, no sign-up.
VLAN planner
This is an example. Change anything to make it yours.
Add a row for each VLAN: what you call it, its VLAN ID (1 to 4094), and how many devices will connect to it. The planner adds room for the network address, the broadcast address and a gateway.
65,152 addresses are left free in 10.10.0.0/16.
| VLAN | Name | Subnet | Mask | Gateway | Usable range | Hosts |
|---|---|---|---|---|---|---|
| 30 | Trusted devices | 10.10.0.0/25 | 255.255.255.128 | 10.10.0.1 | 10.10.0.2 to 10.10.0.126 | 125 |
| 20 | Servers | 10.10.0.128/26 | 255.255.255.192 | 10.10.0.129 | 10.10.0.130 to 10.10.0.190 | 61 |
| 40 | IoT | 10.10.0.192/26 | 255.255.255.192 | 10.10.0.193 | 10.10.0.194 to 10.10.0.254 | 61 |
| 60 | Guests | 10.10.1.0/26 | 255.255.255.192 | 10.10.1.1 | 10.10.1.2 to 10.10.1.62 | 61 |
| 10 | Management | 10.10.1.64/27 | 255.255.255.224 | 10.10.1.65 | 10.10.1.66 to 10.10.1.94 | 29 |
| 50 | Cameras | 10.10.1.96/27 | 255.255.255.224 | 10.10.1.97 | 10.10.1.98 to 10.10.1.126 | 29 |
Share or keep this result
Paste the link into a forum post or an article and it turns into a card with your numbers on it. The numbers are worked out from the link, so they always match this page.
Sign in to save results and come back to them later.
How the VLAN plan is worked out
The VLAN planner takes the hosts each VLAN needs, adds the network address, the broadcast address and one for the gateway, and rounds up to the next power of two. It places the biggest subnets first so they line up on their own boundaries and never overlap, and it reports how much of your network is still free.
The first usable address in each subnet is shown as the gateway, since that is the usual convention. To check a single subnet in detail, use the subnet calculator.
Questions about this tool
How does the VLAN planner size each subnet?
For each VLAN it takes your host count, adds room for the network address, the broadcast address and a gateway, and rounds up to the next power of two. Subnets are placed largest first so each one starts on its own boundary and none overlap.
Which private ranges should a home network use?
RFC 1918 reserves 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. A /16 out of 10.0.0.0/8 gives a home network plenty of room for VLANs and avoids clashing with the 192.168.x.x range most routers and VPN clients default to.
Why leave free space?
A subnet that is exactly full cannot grow. The planner shows how many addresses are left in your network, so you can add a VLAN later without renumbering.
What VLAN IDs should I use?
Anything from 1 to 4094. VLAN 1 is the default on most switches and many people leave it unused. A common habit is to match the third octet to the VLAN ID, like VLAN 20 on 10.10.20.0/24.
Which address is the gateway?
The planner shows the first usable address in each subnet as the gateway, since that is the usual convention. Change it on your router if you prefer the last one.
Save your results and join the community
Create a free account to keep what you work out, and to ask other homelab builders about your setup.