nerdexam
EC-Council

312-50V11 · 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 covers 10.1.4.0 through 10.1.5.255, yielding 510 usable hosts from 10.1.4.1 to 10.1.5.254; the last 100 usable addresses span 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

(59 responses)
  • A
    24% (14)
  • B
    5% (3)
  • C
    59% (35)
  • D
    12% (7)

Why each option

The 10.1.4.0/23 subnet covers 10.1.4.0 through 10.1.5.255, yielding 510 usable hosts from 10.1.4.1 to 10.1.5.254; the last 100 usable addresses span 10.1.5.155 to 10.1.5.254.

A10.1.4.254

10.1.4.254 resides in the lower half (10.1.4.x) of the /23 subnet and is not among the last 100 usable addresses, which all begin at 10.1.5.155.

B10.1.255.200

10.1.255.200 is entirely outside the 10.1.4.0/23 subnet, which only extends to 10.1.5.255.

C10.1.5.200Correct

A /23 prefix provides 512 total addresses (2^9), so 10.1.4.0/23 spans 10.1.4.0 to 10.1.5.255 with 510 usable host addresses (10.1.4.1 to 10.1.5.254). Counting back 100 addresses from the last usable host (10.1.5.254) gives a lease range of 10.1.5.155 to 10.1.5.254, and 10.1.5.200 falls within that range.

D10.1.4.156

10.1.4.156 is in the 10.1.4.x portion of the subnet, well below the 10.1.5.155-10.1.5.254 range that constitutes the last 100 usable addresses.

Concept tested: IPv4 /23 subnet last 100 usable address range

Source: https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/13788-3.html

Topics

#subnetting#DHCP#IP addressing#CIDR

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice