CS FundamentalsHardGATE CS · ISRO Scientist

192.168.0.0/16 is divided into /26 subnets. In how many of these subnets is an address ending in .255 the BROADCAST address, and in how many is an address ending in .0 usable by a host?

  1. A. 256 and 256
  2. B. 1024 and 0
  3. C. 512 and 256
  4. D. 256 and 0

Correct answer: D. 256 and 0

Each /24 contains four /26s; only the last one (.192–.255) has .255 as its broadcast, giving 256 subnets. An address ending in .0 is always the first address of the first /26 of its /24, i.e. a network address, so it is never usable here (it can be with shorter prefixes such as /23).

More Computer Networks questions

Exams that ask this topic