200-301 Question 182
Select 3A network engineer is configuring a Layer 3 switch to enable communication between VLAN 10 and VLAN 20 in a corporate network. The VLANs are already created and assigned to the correct switch ports. Which of the following steps must the engineer take to ensure inter-VLAN connectivity?
- A
Assign VLAN 10 and VLAN 20 to the same trunk port.
- B
Create an SVI (Switched Virtual Interface) for both VLAN 10 and VLAN 20 on the Layer 3 switch.
- C
Assign an IP address to each SVI for VLAN 10 and VLAN 20.
- D
Enable routing on the Layer 3 switch by using the 'ip routing' command.
- E
Configure a router with sub-interfaces corresponding to VLAN 10 and VLAN 20.
Show answer and explanation
Correct answers: B, C, D
Explanation
To enable inter-VLAN connectivity on a Layer 3 switch, the network engineer must create Switched Virtual Interfaces (SVIs) for each VLAN, assign IP addresses to the SVIs, and enable routing on the switch. This configuration allows the Layer 3 switch to route traffic between VLANs internally. Using an external router is not required in this scenario as the Layer 3 switch is capable of handling inter-VLAN routing on its own.
- A. Incorrect.
Assigning VLAN 10 and VLAN 20 to the same trunk port is irrelevant for this scenario. Trunk ports are used for VLAN tagging between switches, not for inter-VLAN routing within a Layer 3 switch.
- B. Correct.
Creating an SVI for each VLAN is necessary because SVIs act as the logical Layer 3 interfaces that provide routing capabilities between VLANs.
- C. Correct.
Assigning an IP address to each SVI is mandatory, as these addresses act as the default gateways for devices in their respective VLANs.
- D. Correct.
Enabling routing on the Layer 3 switch with the 'ip routing' command is required to allow the switch to route traffic between VLANs.
- E. Incorrect.
Configuring a router with sub-interfaces is not necessary in this case because a Layer 3 switch can handle inter-VLAN routing internally without the need for an external router.