BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Inter-VLAN Routing lab practice

Route between VLANs with router-on-a-stick subinterfaces or switch virtual interfaces, and verify each VLAN has a working gateway.

4 labs · 4 lessons · 4 commands · 5 projects

Hosts in different VLANs need a router to talk. Router-on-a-stick does it with one trunk to a router and a subinterface per VLAN (encapsulation dot1q <vlan>); a multilayer switch does it with a switch virtual interface (interface vlan <id>) per VLAN and ip routing.

Either way, each VLAN needs a gateway address in its own subnet, the trunk must carry every VLAN, and the hosts must point at the right gateway.

Hands-on labs

To practise for free, build the topology in the free Sandbox.

Lessons, in order

  1. Router-on-a-Stick & SVI (3. IP Connectivity, 9 min)
  2. Route between VLANs with SVIs (3. IP Connectivity, 15 min)
  3. Route between VLANs on the switch with SVIs (Prerequisite review: CCNA topics from the CCNP courses, 8 min)
  4. Give each VLAN a gateway on a trunked subinterface (Prerequisite review: CCNA topics from the CCNP courses, 8 min)

Commands

Related projects

Related topics

Start the CCNA path · Free Sandbox