nerdexam
CompTIA

SK0-004 · Question #694

A network administrator is creating a subnet that needs a maximum of two networks in the DMZ. Which of the following subnet masks should the administrator use?

The correct answer is C. 255.255.255.128. To create exactly two subnets, the administrator must borrow one bit from the host portion of the address. The mask 255.255.255.128 (/25) produces exactly 2^1 = 2 subnets.

Server administration

Question

A network administrator is creating a subnet that needs a maximum of two networks in the DMZ. Which of the following subnet masks should the administrator use?

Options

  • A255.255.0.0
  • B255.255.255.0
  • C255.255.255.128
  • D255.255.255.254

How the community answered

(55 responses)
  • A
    7% (4)
  • B
    15% (8)
  • C
    75% (41)
  • D
    4% (2)

Why each option

To create exactly two subnets, the administrator must borrow one bit from the host portion of the address. The mask 255.255.255.128 (/25) produces exactly 2^1 = 2 subnets.

A255.255.0.0

255.255.255.0 (/16) represents a Class B network boundary and defines a single very large network with 65,534 host addresses rather than creating multiple subnets.

B255.255.255.0

255.255.255.0 (/24) defines a single Class C-sized network block with 254 usable host addresses and does not subdivide the space into two separate subnets.

C255.255.255.128Correct

A subnet mask of 255.255.255.128 (/25) borrows exactly one bit from the host portion of a /24 network, creating 2^1 = 2 equal subnets each with 126 usable host addresses. This precisely satisfies the requirement for a maximum of two networks in the DMZ without over-allocating address space or under-segmenting the network.

D255.255.255.254

255.255.255.254 (/31) is defined in RFC 3021 for point-to-point links with only two addresses and is not appropriate for creating two routable subnets in a DMZ serving multiple hosts.

Concept tested: Subnetting to achieve a specific number of networks

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

Topics

#subnetting#subnet mask#DMZ design#network segmentation

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice