A network technician is troubleshooting a router-on-a-stick configuration. R1 has sub-interface G0/0.10 with encapsulation dot1q 10 and IP 192.168.10.1/24, and sub-interface G0/0.20 with encapsulation dot1q 20 and IP 192.168.20.1/24. Hosts in VLAN 10 cannot reach hosts in VLAN 20. The physical interface G0/0 is up and no shutdown. Both sub-interfaces show up/up. What should the technician do next?
This directly addresses the most probable cause: a missing or misconfigured trunk on the switch side. Even with router sub-interfaces up/up, the link must be a trunk carrying the correct VLANs for inter-VLAN routing to function.
Why this answer
The router-on-a-stick configuration requires the switch port connecting to R1 to be configured as a trunk port that permits VLANs 10 and 20. Even though the router sub-interfaces are correctly configured with encapsulation dot1q and IP addresses, if the switch port is in access mode or does not allow the specific VLANs, frames from VLAN 10 or 20 will be dropped by the switch, preventing inter-VLAN routing. The next logical step is to verify the switch port configuration with commands like 'show interfaces trunk' or 'show running-config interface <port>'.
Why the other options are wrong
Candidates may think the encapsulation numbers might be swapped, but the stem confirms they are correctly assigned to the respective VLAN IDs.
Many candidates jump to end-host configuration, assuming the router is fully reachable because interfaces are up/up, but the trunk is the prerequisite for any communication between VLANs.
Candidates might think any communication loss warrants a physical layer check, but here the symptoms point strongly toward a Layer 2 trunking issue.