Scenario
Ticket: R1 routes between VLAN 10 (Sales, 10.35.10.0/24, gateway 10.35.10.1) and VLAN 20 (Engineering, 10.35.20.0/24, gateway 10.35.20.1) over one trunk cable to SW1, with subinterfaces on Gi0/0. The PCs, 10.35.10.10 and 10.35.20.10, use those gateway addresses. Neither PC can reach its gateway. SW1 is correct: its port to R1 is a trunk that allows VLANs 10 and 20, and it cannot be changed. Gi0/1 is the server link and works. Fix R1.
Topology
Requirements
- 1Gi0/0, the parent interface, is switched on
- 2Gi0/0.10 uses dot1Q VLAN 10 and the address 10.35.10.1/24, and is up
- 3Gi0/0.20 uses dot1Q VLAN 20 and the address 10.35.20.1/24, and is up
- 4R1 has connected routes for both VLAN subnets
- 5R1 reaches both PCs
- 6The server link Gi0/1 keeps its address and stays up
R1 has subinterfaces on Gi0/0 and no routing between the VLANs. Type ? for the commands you can use. Start with: enable
R1> show running-config
CCNA lab · about 15 min
Troubleshoot: router-on-a-stick does not route between VLAN 10 and VLAN 20
Three faults, a wrong dot1Q VLAN ID on a subinterface, a wrong gateway address on the other and a shut-down parent interface, stop the routing between two VLANs. Find them with show ip interface brief and show vlans.
This lab is included in the CCNA plans and in the free trial.