Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityBeginner

VLAN design and numbering: sizes, naming, management and native VLAN best practice

In short: Good VLAN design starts with grouping devices by role and security needs, not by department names that change. Keep each VLAN to one subnet, usually a /24 or smaller, use a consistent numbering and naming pattern across all sites, put management on its own VLAN, and avoid VLAN 1 for user traffic or as the native VLAN.

What should get its own VLAN?

A VLAN is a broadcast domain and, in practice, a security boundary, because traffic between VLANs has to pass through a router or firewall where you can filter it. Group devices by what they are and what they should be allowed to reach:

  • Staff computers
  • Students, guests or contractors
  • IP phones (voice VLAN)
  • Printers and copiers
  • CCTV cameras, door access and building systems
  • Wireless access points and their management
  • Servers (often in a data centre or cloud instead)
  • Network device management

Avoid VLANs named after departments such as "Finance" or "Marketing" unless they truly need different security. Departments move floors and merge; device roles rarely change.

A simple VLAN numbering plan10sstaff data20sstudents or guests100svoice200sprinters and IoT900smanagement999unused native VLAN
Figure 1. Pick a pattern and keep it the same at every site. Then a VLAN number alone tells you what it is for.

How big should a VLAN be?

One VLAN maps to one IP subnet. A /24 (254 hosts) is the most common size and keeps broadcasts manageable. Large flat VLANs with thousands of devices make broadcast and ARP traffic noisy, and one loop or misbehaving device affects everyone. If a floor needs more than 250 addresses, split it into two VLANs or use a /23 at most, and make sure DHCP leases and switch MAC tables can cope.

Numbering and naming

Choose a pattern and use it everywhere. For example, the first digits can show the site and the last ones the role, or a fixed number can always mean the same role at every site (VLAN 110 is always voice). Name VLANs clearly in the switch: vlan 110 then name VOICE. Some teams match the VLAN number to the third octet of the subnet (VLAN 20 = 10.x.20.0/24), which makes troubleshooting much faster.

VLAN IDs 1 to 1005 are the normal range, and 1006 to 4094 the extended range. VLANs 1002 to 1005 are reserved for old Token Ring and FDDI use and cannot be deleted.

VLAN 1, the native VLAN and management

  • Do not use VLAN 1 for users or management. It is the default on every port and carries control traffic such as CDP, VTP and DTP. Leave it empty.
  • Change the native VLAN on trunks to an unused VLAN, such as 999, and make it the same on both ends. This reduces the risk of VLAN hopping by double tagging. Some designs also tag the native VLAN with vlan dot1q tag native.
  • Put switch and AP management on a dedicated VLAN that users cannot reach, filtered by ACLs or a firewall.
  • Prune trunks to carry only the VLANs needed with switchport trunk allowed vlan.
  • Shut down unused ports and put them in an unused "parking" VLAN.

Keep VLANs local where you can

Stretching the same VLAN across a whole campus feels convenient, but it creates large spanning tree domains where one problem spreads everywhere. Modern designs keep each VLAN on one access switch or stack and route between them, using the same VLAN numbers at each closet for different subnets.

Real-world example: one VLAN for everything

A small college grew from 80 to 900 devices on one flat /22 in VLAN 1. When a student's laptop was infected and began scanning, every device saw the traffic, and CCTV recorders could be reached from the student Wi-Fi. Splitting into staff, student, voice, CCTV, printer and management VLANs, with firewall rules between them, contained the next infection to the student network and closed access to the cameras.

Practice

Why is grouping VLANs by device role usually better than by department?
Roles and security needs change less often than departments, and role-based VLANs map cleanly to firewall rules.
Why should you avoid VLAN 1 for user traffic?
It is the default VLAN on every port and carries control protocols, so using it increases the risk of mistakes and attacks.
What is a common, sensible size for a user VLAN subnet?
A /24, with up to 254 hosts.

Key takeaways

  • Group VLANs by device role and security needs.
  • Keep one subnet per VLAN, usually /24 or smaller.
  • Use a consistent numbering and naming plan across all sites.
  • Avoid VLAN 1, change the native VLAN, and keep management separate.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: