A router connects to a switch trunk port that allows VLANs 10 and 20. Subinterfaces for both VLANs have IP addresses, but hosts cannot reach their gateways. What is missing on the router?
Show the answer
Correct answerD. 802.1Q encapsulation with the VLAN ID on each subinterface
AWhy not this: A native VLAN handles untagged frames only; it does not map tagged VLANs 10 and 20 to subinterfaces.
BWhy not this: Voice VLANs apply to phone traffic on switch access ports, not to router subinterfaces.
CWhy not this: LACP bundles multiple links; this setup has one link, and bundling would not tag frames.
DWhy this is right: Encapsulation dot1Q with the VLAN ID ties each subinterface to its tagged VLAN's frames.
A router subinterface must be configured with 802.1Q encapsulation and a VLAN ID so it sends and accepts frames tagged for that VLAN. A native VLAN covers only untagged traffic and does not make tagged VLAN 10 and 20 frames match their subinterfaces.