medium
Single Answer
0

You enter the command ip address 192.168.2.0 255.255.255.0 on interface VLAN 2. When you enter the command, you receive a "Bad mask /24 for address" error. What is the problem?

Answer Options

A

The subnet mask is incorrect.

B

The subnet of 192.168.2.0 cannot be used for this interface.

C

The IP address is invalid.

D

The VLAN has not been configured yet.

Correct Answer: C

Explanation

The command ip address 192.168.2.0 255.255.255.0 only defines the 192.168.2.0 network. Although the subnet is correct, the statement does not specify a valid host IP address for the SVI. Nothing prevents you from using the 192.168.2.0 subnet on the SVI, but a valid IP address contained in the network must be configured. The VLAN does not need to be configured first, but it is a good idea to configure it first. The VLAN will automatically be created when the VLAN interface is configured.

switching
svi
vlan
ip-addressing
troubleshooting