NAVANEM

Subnet plan · 802.1Q · trunk config

VLAN Calculator

Plan VLAN subnets, validate 802.1Q VLAN IDs, compute the tag and generate ready-to-paste trunk configuration.

VLAN subnet planner

Carve a base network into per-VLAN subnets.

VLANNameSubnetRangeGatewayBroadcastHostsType
10VLAN1010.0.0.0/1810.0.0.1 – 10.0.63.25410.0.0.110.0.63.25516,382Normal
11VLAN1110.0.64.0/1810.0.64.1 – 10.0.127.25410.0.64.110.0.127.25516,382Normal
12VLAN1210.0.128.0/1810.0.128.1 – 10.0.191.25410.0.128.110.0.191.25516,382Normal
13VLAN1310.0.192.0/1810.0.192.1 – 10.0.255.25410.0.192.110.0.255.25516,382Normal

VLAN ID lookup

Classify a VLAN ID (1-4094).

Range

2–1001

Type

Normal

VTP

All modes

Valid

Yes

Standard user VLANs, stored in vlan.dat

802.1Q TCI calculator

Build the Tag Control Information field.

TCI (hex)0x0064
PCP
000
DEI
0
VID (12b)
000001100100

TPID 0x8100 + TCI = the 4-byte 802.1Q tag.

Trunk config builder

Generate switch trunk configuration.

interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk native vlan 1
 switchport trunk allowed vlan 10-20,30
!
VLAN ID ranges
RangeTypeCountVTP
1Default1All modes
2–1001Normal1000All modes
1002–1005Reserved4All modes
1006–4094Extended3089Transparent / Off
802.1p priority (PCP)
PCPPriorityTypical use
1BackgroundLowest priority (bulk)
0Best EffortDefault traffic
2Excellent EffortImportant data
3Critical AppsSignaling, DB
4Video< 100 ms latency
5Voice< 10 ms latency
6Internetwork ControlRouting protocols
7Network ControlHighest priority

About this tool

This VLAN planner helps you design and validate segmented networks: map VLAN IDs to subnets, check ranges and spot overlaps before you commit a switch configuration. It is built for the moment you are carving a flat network into voice, data, management and guest segments.

Plan addressing per VLAN, confirm there is enough host space in each segment, and keep the layout consistent across your access and distribution switches. Calculations stay in your browser.

Frequently asked questions

What is the valid VLAN ID range?+

Standard 802.1Q VLAN IDs run from 1 to 4094. IDs 0 and 4095 are reserved, and many switches reserve a range (often 1002–1005) for legacy purposes.

Should each VLAN be its own subnet?+

Yes, as a rule each VLAN maps to one IP subnet. Traffic between VLANs is then routed (and can be filtered) at a layer-3 switch or firewall.

How do I size a VLAN subnet?+

Pick a prefix that comfortably fits current hosts plus growth. A /24 (254 hosts) is common for an access VLAN; smaller /26 or /27 blocks suit point-to-point or management segments.