Subnet Mask for Configuring a New Server

Which Subnet Mask to Use for Maximum Hosts?

Prev Question Next Question

Question

A technician is configuring a new server with an IP address of 10.35.113.47 on the 10.35.112.0 subnet to allow for the maximum number of hosts.

When configuring network settings, which of the following is the correct subnet mask?

A.

10.35.112.0/30 B.

10.35.112.0/24 C.

255.255.240.0 D.

255.255.248.0 E.

255.255.255.0

C.

Explanations

A technician is configuring a new server with an IP address of 10.35.113.47 on the 10.35.112.0 subnet to allow for the maximum number of hosts.

When configuring network settings, which of the following is the correct subnet mask?

A.

10.35.112.0/30

B.

10.35.112.0/24

C.

255.255.240.0

D.

255.255.248.0

E.

255.255.255.0

C.

The IP address given is 10.35.113.47, which falls within the 10.35.112.0 subnet. The goal is to configure the server to allow for the maximum number of hosts.

To determine the maximum number of hosts, we need to calculate the number of available IP addresses in the subnet. To do this, we need to determine the network address and the broadcast address for the subnet.

The network address is the lowest address in the subnet, and it is calculated by setting all the host bits to 0. In this case, the network address is 10.35.112.0.

The broadcast address is the highest address in the subnet, and it is calculated by setting all the host bits to 1. In this case, the broadcast address is 10.35.113.255.

To determine the number of available IP addresses, we subtract the network address from the broadcast address and add 1. In this case, the calculation would be:

10.35.113.255 - 10.35.112.0 + 1 = 512

Therefore, the maximum number of hosts that can be configured in this subnet is 512.

Now we need to determine the correct subnet mask to configure the server. A subnet mask is used to divide an IP address into a network portion and a host portion. The network portion is represented by the bits that are set to 1 in the subnet mask, and the host portion is represented by the bits that are set to 0.

Option A: 10.35.112.0/30 A /30 subnet mask would provide 2 usable IP addresses per subnet. This subnet mask would not provide enough IP addresses for the required number of hosts (512).

Option B: 10.35.112.0/24 A /24 subnet mask would provide 256 usable IP addresses per subnet. This subnet mask would not provide enough IP addresses for the required number of hosts (512).

Option C: 255.255.240.0 This subnet mask would provide 4096 usable IP addresses per subnet, which is more than enough for the required number of hosts (512). This is the correct subnet mask for this scenario.

Option D: 255.255.248.0 This subnet mask would provide 2048 usable IP addresses per subnet. This subnet mask would not provide enough IP addresses for the required number of hosts (512).

Option E: 255.255.255.0 This subnet mask would provide 254 usable IP addresses per subnet. This subnet mask would not provide enough IP addresses for the required number of hosts (512).

Therefore, the correct subnet mask for configuring the server to allow for the maximum number of hosts on the 10.35.112.0 subnet is 255.255.240.0.