Router on a stick CCNA lab
🔒
Unauthorized Access
This interactive lab is exclusively licensed to PacketTracerLab.com and cannot be used on any other domain or offline environment.
Visit PacketTracerLab.com⚠ Unauthorized use or redistribution is prohibited.
Lab 16
Router-on-a-Stick — Inter-VLAN Routing with 802.1Q
Devices ready — select a console tab to begin
Lab Tasks
Create VLANs 10, 20, 30 on SW1
Assign access ports to VLANs on SW1
Configure Gi0/1 as 802.1Q trunk on SW1
Enable Gi0/0 on R1 — no shutdown
Create Gi0/0.10 — encap dot1Q 10 — 192.168.10.1/24
Create Gi0/0.20 — encap dot1Q 20 — 192.168.20.1/24
Create Gi0/0.30 — encap dot1Q 30 — 192.168.30.1/24
Verify with show ip interface brief
Command Guide
— Switch SW1 —
vlan 10 / name Sales
int range fa0/1 - 4
sw mode access
sw access vlan 10
int gi0/1
sw mode trunk
sw trunk enc dot1q
— Router R1 —
int gi0/0 → no shut
int gi0/0.10
enc dot1Q 10
ip addr 192.168.10.1 255.255.255.0
show ip int brief
vlan 10 / name Sales
int range fa0/1 - 4
sw mode access
sw access vlan 10
int gi0/1
sw mode trunk
sw trunk enc dot1q
— Router R1 —
int gi0/0 → no shut
int gi0/0.10
enc dot1Q 10
ip addr 192.168.10.1 255.255.255.0
show ip int brief
Network Map
VLAN 10 Sales
192.168.10.0/24
GW: 192.168.10.1
VLAN 20 Engineering
192.168.20.0/24
GW: 192.168.20.1
VLAN 30 Management
192.168.30.0/24
GW: 192.168.30.1
192.168.10.0/24
GW: 192.168.10.1
VLAN 20 Engineering
192.168.20.0/24
GW: 192.168.20.1
VLAN 30 Management
192.168.30.0/24
GW: 192.168.30.1
Switch SW1 — Console
Router R1 — Console
Switch>
Router>