Question 140
A router-on-a-stick design receives dot1q-tagged frames for VLAN 65 over router physical interface Gi0/3. Which subinterface setting creates the correct VLAN encapsulation for its gateway?
Explanation
Correct Answer
Router-on-a-stick uses logical subinterfaces associated with 802.1Q VLAN IDs on the shared router trunk. The `encapsulation dot1Q 65` line ensures that frames for VLAN 65 are delivered to the correct routed gateway interface. The connected switchport must also carry the VLAN on a trunk; an access port alone would not transport multiple tagged VLANs.
Incorrect Answers
A static default route is not a VLAN tagging instruction and this form is incomplete. It does not establish subinterface encapsulation for the incoming VLAN.
The encapsulation VLAN ID 66 does not match the requested VLAN 65, so its tagged traffic would not reach this intended gateway.
Routed router interfaces do not ordinarily use switchport access membership syntax in this design. A tagged router-on-a-stick gateway requires dot1q encapsulation on a subinterface.