CS FundamentalsVery hardGATE CS · Product company CS fundamentals

6to4 tunnelling builds a site's IPv6 prefix from 2002::/16 followed by its 32-bit public IPv4 address. What /48 prefix does a site with IPv4 address 192.0.2.4 get?

  1. A. 2002:192:0:2:4::/48
  2. B. 2002:c000:0204::/64
  3. C. 2002:c000:204::/48
  4. D. 2002:0402:00c0::/48

Correct answer: C. 2002:c000:204::/48

192.0.2.4 in hex is c0.00.02.04, so the next 32 bits after 2002 are c000:0204, giving 2002:c000:204::/48. Writing the decimal octets as hex groups or reversing the byte order are the usual mistakes.

More Computer Networks questions

Exams that ask this topic