StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 2: Switching & network access

Inter-VLAN routing: router-on-a-stick subinterfaces and multilayer switch SVIs

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Each VLAN is its own little network, and devices in different VLANs cannot talk directly, just like two houses on different streets need a road between them. A router, or a switch that can also route, provides that road. There are two common ways to do it. In the first, a router connects to the switch with a single cable and pretends to be several separate doors, one per VLAN; this is called 'router-on-a-stick'. In the second, a more capable switch does the routing itself using virtual doors, one per VLAN, called SVIs. Either way, each door gets an address that devices in that VLAN use as their 'default gateway', meaning the place they send anything destined for another network.

At Coastal Print and Design, the designers in VLAN 20 cannot reach the file server in VLAN 10, but they can browse the internet and print to the printer in their own VLAN. Leo, the office manager, has rebooted everything twice. You open a laptop and look at the small branch router: one cable to the switch, several logical interfaces configured on it, every one of them showing up and up. Everything looks green, yet two departments that sit ten feet apart cannot exchange a single file. How does traffic get from one VLAN to another at all, and what one detail could quietly break it?

Each VLAN (virtual LAN) is a separate broadcast domain and IP subnet, so hosts in different VLANs cannot talk directly. Something must route between them, and that device's interface in each VLAN becomes that VLAN's default gateway. The CCNA covers two methods: router-on-a-stick with subinterfaces, and SVIs (switch virtual interfaces) on a multilayer switch. A third, legacy method uses one physical router interface per VLAN, which works but does not scale because you run out of router ports and cables long before you run out of VLANs.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan