nerdexam
CompTIA

N10-005 · Question #730

192.168.0.7/8 notation denotes which of the following IPv4 subnet masks?

The correct answer is A. 255.0.0.0. CIDR notation /8 represents 8 consecutive binary 1 bits in the subnet mask, which equals 255.0.0.0 in dotted-decimal notation.

Networking concepts

Question

192.168.0.7/8 notation denotes which of the following IPv4 subnet masks?

Options

  • A255.0.0.0
  • B255.255.0.0
  • C255.255.255.0
  • D255.255.255.255

How the community answered

(48 responses)
  • A
    96% (46)
  • C
    2% (1)
  • D
    2% (1)

Why each option

CIDR notation /8 represents 8 consecutive binary 1 bits in the subnet mask, which equals 255.0.0.0 in dotted-decimal notation.

A255.0.0.0Correct

A /8 prefix length means the first 8 bits of the subnet mask are set to 1 and the remaining 24 bits are 0, producing 11111111.00000000.00000000.00000000 in binary, which converts to 255.0.0.0. This is a Class A subnet mask that leaves 24 bits for host addressing. Any address in the 192.168.0.7/8 notation is assigned the network mask 255.0.0.0.

B255.255.0.0

255.255.0.0 corresponds to a /16 prefix length, which has 16 bits set to 1, not 8.

C255.255.255.0

255.255.255.0 corresponds to a /24 prefix length with 24 bits set to 1, commonly used for Class C networks.

D255.255.255.255

255.255.255.255 corresponds to a /32 prefix length, which identifies a single host address with all 32 bits set to 1.

Concept tested: CIDR prefix length to subnet mask conversion

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

Topics

#CIDR notation#subnet mask#IPv4 addressing#/8 prefix

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice