Network Implementation
A router's single physical interface connects to a switch trunk carrying VLANs 10 and 20. What allows the router to route between the VLANs?
Show the answer
Correct answerC. One 802.1Q subinterface per VLAN
AWhy not this: A virtual IP provides a shared redundant gateway address; it does not separate VLANs on a trunk.
BWhy not this: A default route says where to send unknown traffic but gives the router no interface in each VLAN.
CWhy this is right: Each subinterface handles one VLAN's tagged traffic and holds that VLAN's gateway address.
DWhy not this: Floating static routes are backup routes; they do not create per-VLAN gateways on the trunk.
With router-on-a-stick, each VLAN gets its own logical subinterface with 802.1Q tagging and an IP address in that VLAN's subnet. The router can then route between VLANs over the one trunk. A virtual IP provides gateway redundancy, not per-VLAN interfaces.