CS FundamentalsHardGATE CS · Product company CS fundamentals

How is the IPv4 address 192.0.2.128 written as an IPv4-mapped IPv6 address in hexadecimal form?

  1. A. ::ffff:192:2128
  2. B. ::ffff:c000:280
  3. C. ::c000:280
  4. D. ::ffff:0:c000:280

Correct answer: B. ::ffff:c000:280

IPv4-mapped addresses are ::ffff:0:0/96 plus the 32-bit IPv4 address. 192.0.2.128 = c0 00 02 80 → c000:280, so the address is ::ffff:c000:280 (also written ::ffff:192.0.2.128). '::c000:280' is the deprecated IPv4-compatible form.

More Computer Networks questions

Exams that ask this topic