What Is a VLAN Trunk and How to Configure It
A VLAN trunk lets one physical Ethernet link carry several logical networks by adding IEEE 802.1Q tags to frames. It lets a small office or home lab separate staff PCs, VoIP phones, cameras and guest devices without installing a separate cable for every group.
This is useful in Australia, where an NBN service may feed a router, Wi-Fi access point and several wired devices through one office. In everyday Aussie usage, “keep the guests off the main network” is a practical brief that VLANs can enforce even when everything shares one switch. A basic NBN-provided router usually cannot pass tagged traffic.
Why a trunk saves cabling without blending networks
An access port belongs to one VLAN and sends untagged frames. A trunk port accepts frames from several VLANs, keeping those logical networks apart while sharing physical bandwidth. The switch removes the tag when delivering a frame to an access port, so ordinary devices need no special configuration.
Trunks are valuable in Australian premises with separate work areas, such as a home office or granny flat behind a Sydney or Melbourne home, or cameras around a Brisbane small office. One backbone can serve several rooms, provided suitable cabling and switch capacity are already in place.
During onboarding, a short animation or recorded walkthrough produced by a business video service can make the separation easier for non-technical staff to understand.
How IEEE 802.1Q moves several VLANs
Each 802.1Q frame carries a VLAN identifier between 1 and 4094. Tagged frames cross the trunk, while frames for the native VLAN can travel untagged. The native VLAN must match at both ends; otherwise frames may be dropped or, on older equipment, leak between VLANs.
The allowed VLAN list controls which logical networks may cross the link. Keeping unused VLANs out of that list reduces broadcast traffic and simplifies troubleshooting. It also prevents a newly created VLAN from appearing on the uplink merely because it exists on the switch.
The switch is only one part of the design. A router, firewall or Layer 3 switch must provide each VLAN’s default gateway and any inter-VLAN firewall rules. Creating a guest VLAN without that routing path will isolate users completely rather than give them internet access.
Check hardware and Australian site requirements
Choose a switch that explicitly supports IEEE 802.1Q trunking on the intended ports. “VLAN” on a budget model may mean only port isolation, while managed models should document tagged, untagged and trunk settings. Check the port count, PoE budget, fanless design, uplink type and management options before purchase.
Many Australian buyers compare network hardware through Amazon Australia, specialist resellers and established electronics stores. ExcitingIP’s switch upgrade guidance is useful when the current model lacks VLAN controls, although the site links to retailers rather than selling directly. Compare firmware support and warranty terms, not just price.
For cabling, Australian licensed technicians generally work to AS/NZS 3084. Brick-veneer homes, detached studios and regional properties can have long cable runs or coverage gaps, so test each proposed trunk path and confirm whether PoE cameras or phones need powered ports.
Configure and verify the trunk
The following Cisco IOS-style commands create four VLANs and configure one fixed trunk. They assume both switches agree that VLAN 99 is the native management VLAN; replace interface names and VLAN IDs for your equipment.
enable
configure terminal
vlan 10
name Staff-PCs
vlan 20
name Guest
vlan 30
name IP-Phones
vlan 99
name Native-management
interface GigabitEthernet0/1
description Uplink-to-core
switchport mode trunk
switchport trunk allowed vlan 10,20,30,99
switchport trunk native vlan 99
switchport nonegotiate
end
After that, place user-facing ports in access mode. For example, a PC in VLAN 10 uses switchport mode access and switchport access vlan 10 on its interface. GUI switches use equivalent controls, often labelled 802.1Q, Tagged, Untagged or Trunk.
Verify with show vlan brief, show interfaces trunk and the running configuration. Then test DHCP, DNS, internet access and calls while watching counters for dropped or tagged frames. Save the configuration only after the path works as intended.
A reliable deployment checklist
Before going live, work through this deployment checklist:
- Confirm the exact switch model and firmware support 802.1Q trunking on every required port.
- Record VLAN IDs, subnets, gateways, native VLAN and allowed VLAN list.
- Match trunk settings at both ends and keep the native VLAN unused by ordinary users.
- Set user ports to access mode; disable unused ports rather than leaving them open.
- Keep a console or local recovery path available before changing the uplink.
- Test each VLAN, including DHCP, DNS, routing, PoE and voice traffic, then save settings.
The key point to remember is that a VLAN trunk is a controlled multi-network pathway, not a licence to combine every device on one flat LAN. Matching native-VLAN settings, limiting allowed VLANs and assigning access ports deliberately provide a network that can grow without disrupting Australian homes or small offices.