nerdexam
CompTIA

220-801 · Question #992

How many total IP addresses are represented by the 255.255.255.0 netmask?

The correct answer is B. 256. The netmask 255.255.255.0 is equivalent to a /24 prefix length. The last octet (0) represents 8 host bits. The total number of IP addresses in the block is 2^8 = 256. This includes 1 network address, 254 usable host addresses, and 1 broadcast address. The question asks for…

Networking

Question

How many total IP addresses are represented by the 255.255.255.0 netmask?

Options

  • A128
  • B256
  • C512
  • D1024

How the community answered

(24 responses)
  • B
    92% (22)
  • C
    4% (1)
  • D
    4% (1)

Explanation

The netmask 255.255.255.0 is equivalent to a /24 prefix length. The last octet (0) represents 8 host bits. The total number of IP addresses in the block is 2^8 = 256. This includes 1 network address, 254 usable host addresses, and 1 broadcast address. The question asks for total IP addresses - not usable hosts - so the answer is 256.

Topics

#subnet mask#IP addressing#CIDR#IPv4

Community Discussion

No community discussion yet for this question.

Full 220-801 Practice