In computer networking, trunking is the method of sending multiple logical data streams across a single physical network link. Instead of running a dedicated physical cable for every single network segment or department, trunking bundles those distinct communication paths together into one high-capacity connection. This process dramatically reduces hardware expenses, simplifies cable architecture, and maximizes bandwidth efficiency across enterprise environments.
The concept applies to two major areas of technology: telecommunications and local area networks (LANs).
1. VLAN Trunking in Local Area Networks (IEEE 802.1Q)
In modern data centers and corporate networks, engineers use Virtual Local Area Networks (VLANs) to split a single physical network switch into isolated logical groups (e.g., separating Finance traffic from Guest Wi-Fi). If you need to extend those isolated networks across multiple floors or separate switches, you use a VLAN trunk.
To keep the data streams from getting mixed up while traveling across that shared link, the switches use an industry-standard protocol called IEEE 802.1Q.
[Switch A] --- (Trunk Link carries Tagged Traffic: VLAN 10, VLAN 20) --- [Switch B]
| | | |
[VLAN10] [VLAN20] [VLAN10] [VLAN20]
- VLAN Tagging: When an Ethernet frame leaves a switch and enters a trunk link, the switch injects a tiny 4-byte identifier (a tag) into the frame header. This tag specifies exactly which VLAN the data belongs to.
- Frame Forwarding: The receiving switch reads the tag, strips it away, and forwards the clean Ethernet frame strictly to the destination ports assigned to that specific VLAN.
- Native VLAN Traffic: Standard trunk configurations designate one specific VLAN as "native." Any data frame that arrives on the trunk without an explicit 4-byte tag is automatically assigned to this native pathway, preventing untagged data from dropping.
2. Link Aggregation Trunking (EtherChannel)
Depending on your hardware provider, the term "trunking" can also describe the physical bundling of parallel network links to increase speed and provide backup paths. For instance, Cisco refers to this as an EtherChannel, while software developers call it Link Aggregation (LAG).
If a high-traffic connection between two enterprise core switches runs out of bandwidth, engineers can group up to eight independent physical Ethernet ports into a single logical trunk. This approach delivers two major benefits:
- Linear Bandwidth Scaling: Grouping four separate 10 Gbps links together creates a single, high-capacity 40 Gbps logical highway without requiring expensive fiber-optic upgrades.
- Instant Failover Resilience: If a network cable breaks or a port fails within the grouped trunk, the system automatically redistributes the traffic across the surviving cables in milliseconds, preventing network drops.
3. Trunking in Telecommunications
Long before digital networks existed, the concept of trunking originated in radio and telephone voice networks. Traditional telephone lines ran single physical wires to connect individual houses to a local central office.
Because it is statistically highly unlikely that every single subscriber will make a phone call at the exact same millisecond, telecom operators engineered trunk lines. Instead of running thousands of long-distance cables between cities, telephone systems route hundreds of temporary voice calls across a smaller pool of shared frequencies or high-capacity lines. Computer algorithms dynamically assign a trunk line to a user the moment they dial, and instantly free that line for someone else the second they hang up.