A junior network engineer is asked to explain why a new workstation in VLAN 30 cannot communicate with the server farm in VLAN 40, even though both VLANs exist on the same switch and a router is connected to the switch. The engineer says 'VLANs are configured correctly on the switch.'
What is the most likely missing configuration, and what are the two ways to enable inter-VLAN communication?
- A.The router connected to the switch must be configured for inter-VLAN routing. Two methods: (1) Router on a stick: configure 802.1Q trunk between switch and router, create subinterfaces on the router for each VLAN with IP addresses (default gateways); or (2) Layer 3 switch with SVIs: assign IP addresses to VLAN interfaces (SVIs) on a Layer 3 switch and enable IP routing ('ip routing'). Without a configured Layer 3 routing device, VLANs are isolated by design.
- B.The switch needs to have identical VLAN IDs on the server farm and workstation ports; VLAN 30 and 40 must be merged.
- C.The workstations and servers need static routes configured on each host; switches and routers are not involved in inter-VLAN routing.
- D.Enable spanning tree on both VLANs; STP blockage is preventing inter-VLAN communication.