CS FundamentalsHardGATE CS (PYQ pattern)

How many of these addresses are in the private ranges of RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)? 10.255.1.1, 172.15.0.1, 172.31.255.254, 172.32.0.1, 192.168.0.1, 192.169.0.1, 169.254.1.1, 100.64.0.1

  1. A. 4
  2. B. 3
  3. C. 5
  4. D. 2

Correct answer: B. 3

Private: 10.255.1.1, 172.31.255.254 (the /12 covers 172.16-172.31) and 192.168.0.1. 172.15 and 172.32 lie just outside, 192.169 is outside the /16, 169.254 is link-local and 100.64/10 is shared address space (CGNAT).

More Computer Networks questions

Exams that ask this topic