CCNA lab 10 of 46

Inter-VLAN routing with router-on-a-stick

Route between three VLANs through a single router link: build the switch side, create 802.1Q subinterfaces with a native VLAN on the router, then follow a packet as it leaves and re-enters the same cable.

Run this lab

It needs Lite: its 5 nodes are set to 5 vCPU and 5,120 MB in total. That fits the free demo too.

In your workspace: Shared, then CCNA 200-301 guided labs, then 10 - Inter-VLAN routing with router-on-a-stick

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

Level
Beginner
Time
About 45 minutes
Nodes need
5 vCPU, 5,120 MB
Smallest plan
Lite

The scenario

Granite Print has a single router and a single switch in its small office. Sales, engineering and guests are in separate VLANs, and now they need to reach each other (and, later, the Internet) through the router. There's only one free port on the router, so you'll run all the VLANs over one trunk: router-on-a-stick.

DeviceInterfaceVLANAddress
R1Gi0/0.1010 SALES10.10.10.1/24
R1Gi0/0.2020 ENGINEERING10.10.20.1/24
R1Gi0/0.3030 GUEST10.10.30.1/24
R1Gi0/0.9999 MGMT (native, untagged)10.10.99.1/24
S1SVI VLAN 9999 MGMT10.10.99.2/24, gateway 10.10.99.1
PC1S1 Gi0/11010.10.10.10/24
PC2S1 Gi0/22010.10.20.10/24
PC3S1 Gi0/33010.10.30.10/24

Topology: R1 Gi0/0 — S1 Gi0/0 (802.1Q trunk) · S1 Gi0/1, Gi0/2, Gi0/3 — PC1, PC2, PC3.

What you’ll practise

  • Explain why routing between VLANs needs a Layer 3 device
  • Build a trunk from a switch to a router with a native management VLAN
  • Configure 802.1Q subinterfaces, including the native VLAN
  • Verify inter-VLAN routing with show commands, ping and traceroute
  • Describe the limits of router-on-a-stick

The tasks

  1. Understand the design
  2. Build the switch side
  3. Create the router's subinterfaces
  4. Verify routing between the VLANs
  5. Follow the packet
  6. Know the limits

The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.

Topology and devices

The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.

Topology of Inter-VLAN routing with router-on-a-stick5 nodes, 4 links. Every link is listed as text below the diagram.R1S1PC1PC2PC3Gi0/0Gi0/0Gi0/2eth0Gi0/1eth0Gi0/3eth0
5 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Inter-VLAN routing with router-on-a-stick, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
S1Cisco IOSvL2viosl2-adventerprisek9-m.ssa.high_iron_202009291 vCPU, 1,024 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC3VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder CCNA 200-301 guided labs.

  3. Open 10 - Inter-VLAN routing with router-on-a-stick and start its nodes, then open Lab Tasks for the scenario and the steps.

The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.

More CCNA labs

All CCNA labs

Related labs in other courses

CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.