In part "2. The Bits and Bytes of Computer Networking" → "Week 6" → "5. IPv6" → "3. IPv6 and IPv4 Harmony" of the Google IT Support Professional Certificate online course, the topic is IPv4-mapped address space.
One minute into the video, this equivalence between an IPv4 and an IPv6 address is shown:
It says that IPv4 address 192.168.1.1
maps to the IPv6 address 0:0:0:0:0:ffff:d1ad:35a7
.
From how I understand IPv4-to-IPv6 mapping, this doesn't add up:
192.168.1.1
represents this binary number:
11000000 10101000 00000001 00000001
Let's convert this to hexadecimal with bc
:
bc <<< "obase=16;ibase=2; 11000000101010000000000100000001"
This results in C0A80101, thus the IPv6 address should be ::ffff:c0a8:0101
.
According to the converter at vultr.com, ::ffff:d1ad:35a7
should be 209.173.53.167
, not 192.168.1.1
.
Also according to vultr.com, 192.168.1.1
translates to ::ffff:c0a8:0101
.
Is this an error in the online course, or is something else going on here?
For some context: I don't intend to complete the course to get a certificate. I'm also not aware of any homework that has students convert IP addresses from v4 to v6. I wanted to get confirmation or repudiation of my understanding of IPv4-mapped address space.