192.168.32.0/24 must be divided into 8 subnets, each supporting 30 hosts. VLAN 10 must use the last usable IP of the first subnet on a Layer 3 interface. Which interface command is correct?
Choose an answer
Tap an option to check your answer.
Correct answer: no switchport ip address 192.168.32.30 255.255.255.224.
Why this is the answer
The original network 192.168.32.0/24 needs 8 subnets, each supporting 30 hosts. To support 30 hosts, you need 2^n - 2 = 30, so n=5 (2^5 - 2 = 30). This means 5 host bits, leaving 32-5 = 27 bits for the network portion, or a /27 subnet mask (255.255.255.224). The subnet size is 2^(32-27) = 2^5 = 32 addresses. The first subnet is 192.168.32.0/27. Its broadcast address is 192.168.32.31. The last usable IP address is 192.168.32.30. VLAN 10 requires this address. The no switchport command is necessary to configure an IP address on a Layer 3 interface (routed port) on a switch. Incorrect options: 192.168.32.97 255.255.255.224: This IP is from a different subnet and not the last usable IP. 192.168.32.65 255.255.255.240: This uses a /28 mask, which only supports 14 hosts, not 30. 192.168.32.62 255.255.255.240: This uses a /28 mask and is not the last usable IP of the first /27 subnet.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed