nerdexam
EC-Council

312-50V10 · Question #759

You are tasked to configure the DHCP server to lease the last 100 usable IP addresses in subnet 10.1.4.0/23. Which of the following IP addresses could be leased as a result of the new configuration?

The correct answer is C. 10.1.5.200. The 10.1.4.0/23 subnet spans 10.1.4.0 through 10.1.5.255, giving 510 usable host addresses from 10.1.4.1 to 10.1.5.254; the last 100 usable addresses occupy the range 10.1.5.155 to 10.1.5.254.

Scanning Networks

Question

You are tasked to configure the DHCP server to lease the last 100 usable IP addresses in subnet 10.1.4.0/23. Which of the following IP addresses could be leased as a result of the new configuration?

Options

  • A10.1.4.254
  • B10.1.255.200
  • C10.1.5.200
  • D10.1.4.156

How the community answered

(52 responses)
  • A
    10% (5)
  • B
    17% (9)
  • C
    69% (36)
  • D
    4% (2)

Why each option

The 10.1.4.0/23 subnet spans 10.1.4.0 through 10.1.5.255, giving 510 usable host addresses from 10.1.4.1 to 10.1.5.254; the last 100 usable addresses occupy the range 10.1.5.155 to 10.1.5.254.

A10.1.4.254

10.1.4.254 is a valid host address within the /23 subnet but resides in the lower 10.1.4.x half of the block, far outside the last 100 usable addresses which begin at 10.1.5.155.

B10.1.255.200

10.1.255.200 is outside the 10.1.4.0/23 subnet entirely; the subnet's broadcast address is 10.1.5.255, so any address in the 10.1.255.x range belongs to a different network.

C10.1.5.200Correct

A /23 prefix on 10.1.4.0 produces a 512-address block (10.1.4.0 to 10.1.5.255) with 510 usable host addresses from 10.1.4.1 to 10.1.5.254. Counting back 100 addresses from the last usable address yields a DHCP scope of 10.1.5.155 to 10.1.5.254, and 10.1.5.200 falls within that range. None of the other answer choices fall within this last-100 window.

D10.1.4.156

10.1.4.156 is a valid host address within the /23 subnet but is located in the 10.1.4.x range, which is not within the last 100 usable addresses (10.1.5.155 to 10.1.5.254).

Concept tested: IPv4 /23 subnetting and DHCP scope range calculation

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-addressing-and-subnetting

Topics

#subnetting#CIDR /23#DHCP configuration#IP address ranges

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice