200-301 Exam QuestionsBrowse all questions from this exam

200-301 Exam - Question 145


The address block 192.168.32.0/24 must be subnetted into smaller networks. The engineer must meet these requirements:

✑ Create 8 new subnets.

✑ Each subnet must accommodate 30 hosts.

✑ Interface VLAN 10 must use the last usable IP in the first new subnet.

✑ A Layer 3 interface is used.

Which configuration must be applied to the interface?

Show Answer
Correct Answer: C

The question requires creating 8 new subnets, each accommodating 30 hosts. A /27 subnet mask (255.255.255.224) is suitable for 32 addresses, which includes 30 usable host addresses. The first subnet in this configuration would be 192.168.32.0/27, where the range of usable IP addresses is from 192.168.32.1 to 192.168.32.30. The last usable IP in this range is 192.168.32.30, matching the requirement for Interface VLAN 10. Additionally, the command 'no switchport' configures the interface as a Layer 3 interface, allowing the IP address configuration.

Discussion

9 comments
Sign in to comment
HMawOption: C
Oct 7, 2022

C is correct. Requirement is 8 networks with 30 hosts 255.255.255.0 = 11111111.11111111.11111111.00000000 8 networks = 1111 with increment of 16 which is less host number than require. 30 hosts = 11100000 with increment of 32 255.255.255.224 or 11111111.11111111.11111111.11100000 8 networks for /27 are 0,32,64,96,128,160,192,224

SVN05
Feb 2, 2023

Could someone please explain to us what does these 2 lines mean. Thank you. 8 networks = 1111 with increment of 16 which is less host number than require. 30 hosts = 11100000 with increment of 32

AbdullahMohammad251
Nov 20, 2023

We need to adjust the number of ones and zeros in the last octet to meet our requirements. We have 255.255.255.0 as our subnet mask for the address block which translates to 11111111.11111111.11111111. 00000000 in binary Replacing the first zero with a one in the last octet of our SM divides our network into 2 networks. Replacing the first 2 zeros with 2 ones in the last octet of our SM divides our network into 4 networks. Replacing the first 3 zeros with 3 ones in the last octet of our SM divides our network into 8 networks. Replacing the first 4 zeros with 4 ones in the last octet of our SM divides our network into 16 networks. That's how subnetting works. Having 3 ones in the last octet means we have 2^3 = 8 networks And having 5 zeros in the last octet means we have 2^5=32 hosts in each network.

BhrinoOption: C
May 10, 2023

The question ask for a sub that can hold 30 host meaning you would need a /27 which equals .224. The question also said that this must use the last available ip in the first subnet. Because this is a /27 the subnet will be in increments on 32 With this in mind the network address : .0 Broadcast : .31 The range is from .1 to .30 of usable ip addresses

raul_kaponeOption: C
Aug 8, 2023

192.168.32.0/24 #s = 3 -> 2'3 = 8 subnets #h = 5 -> 2'5 - 2 = 30 host/subnet Subnets: 192.168.32.0/27 192.168.32.32/27 192.168.32.64/27 192.168.32.96/27 1st Subnet - Last useable IP address: 192.168.32.30/27 192.168.32.30 255.255.255.224 So, the answer is "C".

iMo7edOption: C
Feb 8, 2023

C is correct

rubzal
May 23, 2023

What does layer 3 interface used means in this question?

studying_1
May 27, 2023

it means it is multilayer switch, need to write the subinterface command "no switchport" in order to be able to configure an IP address

MaDotaOption: A
Nov 8, 2023

Correct answer is A, Why? first things first a subnet with 30hosts means a /27 mask which then equals to 255.255.255.224, and the switch SHOULD use the LAST IP in the FIRST subnet, now look at the commands, if you choose C(which is the last ip in the first subnet) this IP will be removed from the interface, focus on NO ip addr 192.168.32.30. so it can't be C, since it removes that ip from the switch

Rick3390
Nov 28, 2023

You're wrong answer is C! The ‘switchport’ command is used to configure an interface as a Layer 2 interface, and the ‘no switchport’ command is used to configure it as a Layer 3 interface. In the context of the command ‘no switchport ip address 192.168.32.30 255.255.255.224’, the ‘no’ keyword is not negating or removing the IP address. Instead, it’s used to configure the interface as a Layer 3 interface.

6dcf910
Dec 20, 2023

Answer A does not comply with the requirement "Interface VLAN 10 must use the last usable IP in the first new subnet."

VanessaR05Option: C
Mar 7, 2024

C is correct

SeMo0o0oOption: C
Apr 16, 2024

C is correct

xtraMilesOption: C
Jul 21, 2024

Should've put a comma between the two commands so as not to confuse others - 1st command: no switchport 2nd command: ip address [a.b.c.d]