Troubleshooting

A virtualization host's uplink is a switch trunk port. VMs on VLANs 10 and 20 work, but a new VM port group tagged for VLAN 30 cannot reach its gateway, which is up on VLAN 30. The switch shows only VLANs 10 and 20 allowed on the trunk. What should the technician do?

Show the answer

Correct answerC. Add VLAN 30 to the trunk's allowed VLAN list.

AWhy not this: A route cannot help when frames never cross the trunk; the gateway is on the VM's own subnet.

BWhy not this: An access port carries one VLAN untagged, which would cut off the VMs on VLANs 10 and 20.

CWhy this is right: The trunk drops frames for VLANs missing from its allowed list; adding VLAN 30 lets them through.

DWhy not this: Untagged frames land in the trunk's native VLAN, not VLAN 30, so the VM still could not reach its gateway.

A trunk forwards only the VLANs in its allowed list, so frames tagged 30 are dropped at the switch. Adding VLAN 30 to the allowed list fixes it without disturbing VLANs 10 and 20; converting the port to access mode would cut those VLANs off.