CS FundamentalsHardGATE CS · Product company CS fundamentals

What are the dotted-decimal subnet mask and the ACL wildcard mask for a /21 prefix?

  1. A. 255.255.248.0 and 0.0.7.255
  2. B. 255.255.240.0 and 0.0.15.255
  3. C. 255.255.248.0 and 0.0.8.255
  4. D. 255.255.252.0 and 0.0.3.255

Correct answer: A. 255.255.248.0 and 0.0.7.255

/21 = 8 + 8 + 5 bits: the third octet is 11111000 = 248. The wildcard is the bitwise inverse: 255 − 248 = 7 in the third octet and 255 in the fourth.

More Computer Networks questions

Exams that ask this topic