100-150 Question 180
Select 3You are troubleshooting a network issue where devices on one subnet are unable to communicate with devices on another subnet. During your investigation, you discover that the switch connecting these devices is a Layer 2 switch and no default gateway is configured for the devices. Which of the following changes can resolve the issue?
- A
Replace the Layer 2 switch with a Layer 3 switch and configure inter-VLAN routing.
- B
Configure a default gateway on the devices in both subnets.
- C
Enable routing on the Layer 2 switch.
- D
Add a router to the network and configure it to perform inter-VLAN routing.
- E
Configure static routes on the Layer 2 switch to handle communication between the subnets.
Show answer and explanation
Correct answers: A, B, D
Explanation
Layer 2 switches operate only at the data link layer and cannot route traffic between subnets. To enable communication between subnets, a Layer 3 device (such as a Layer 3 switch or router) must be introduced and inter-VLAN routing must be configured. Additionally, devices need a default gateway configuration to forward traffic to these devices for communication with other networks.
- A. Correct.
Correct: Replacing the Layer 2 switch with a Layer 3 switch allows inter-VLAN routing, enabling communication between subnets. Layer 2 switches do not support routing.
- B. Correct.
Correct: Configuring a default gateway on the devices allows them to send traffic to a router or Layer 3 device for communication with other subnets.
- C. Incorrect.
Incorrect: Layer 2 switches do not have routing capabilities, so enabling routing is not a valid solution.
- D. Correct.
Correct: Adding a router to the network enables inter-VLAN routing, which is necessary for communication between subnets.
- E. Incorrect.
Incorrect: Layer 2 switches cannot handle static routes as static routing requires Layer 3 functionality.