Network labs Docs Open simulator →

Trunk between two switches

Two switches share VLAN 10 and VLAN 20. Configure the inter-switch link as an 802.1Q trunk that carries both VLANs and verify the per- VLAN isolation.

Open this lab in your browser →

Free · no install · no account

Scenario

Trunks transport multiple VLANs over a single link with 802.1Q tags. Without a trunk, a VLAN cannot extend across switches — hosts in the same VLAN but on different switches won't see each other.

Topology

2 × switch, 4 × router · Cisco IOS-style

What you will do

  1. Make SW1.Eth9 a trunk port and allow VLANs 10 and 20.

  2. Symmetric on SW2.Eth9 — trunk + allowed VLANs 10,20.

  3. Confirm with ping: H1 (VLAN 10 on SW1) reaches H3 (VLAN 10 on SW2).

Open this lab in your browser →

More labs on this topic

This lab in other languages

Trunk zwischen zwei SwitchesTrunk entre dos switchesTrunk entre dois switchesTrunk entre deux switchesदो switches के बीच trunk两台交换机之间的 trunkTrunk fra due switch2 台のスイッチ間の trunk두 스위치 사이의 trunkTrunk между двумя свитчамиİki switch arasında trunkTrunk giữa hai switch