You are a network administrator configuring VLANs on a Layer 3 switch. You have assigned VLAN 10 to the Sales department and VLAN 20 to the IT department. Hosts in VLAN 10 (192.168.10.0/24) cannot communicate with hosts in VLAN 20 (192.168.20.0/24). You have already created the VLANs and assigned ports correctly. What should you do to enable inter-VLAN communication? (multiple answers)
Correct Answer: C,D
Detailed Explanation: VLANs are used to segment networks logically, improving security and reducing broadcast domains. However, by default, hosts in different VLANs cannot communicate. To allow inter-VLAN communication, you need a Layer 3 device (a Layer 3 switch or a router). Option A (Incorrect): Trunking (802.1Q) is needed to carry multiple VLANs across a single link, but it does not enable inter-VLAN routing. Option B (Incorrect): DHCP assigns IP addresses dynamically but does not facilitate inter-VLAN communication. Option C (Correct): A Layer 3 switch can be used to route between VLANs by assigning IP addresses to VLAN interfaces (interface vlan 10 and interface vlan 20) and enabling IP routing (ip routing). Option D (Correct): A router-on-a-stick configuration allows a router to route between VLANs using a single physical interface with subinterfaces
This CCNA practice question helps students prepare for Cisco networking certification exams by testing knowledge of network fundamentals, routing, switching, and network security concepts.