Convert between IPv4 and IPv6 address formats
IPv6 Address
::ffff:256.64.16.4
Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It uses a 32-bit address space, providing approximately 4.3 billion unique addresses. IPv4 addresses are written in dotted-decimal notation, with four octets separated by periods (e.g., 192.168.1.1).
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol. It uses a 128-bit address space, providing an enormous number of unique addresses. IPv6 addresses are written in hexadecimal notation, with eight groups of four hex digits separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
An IPv4-mapped IPv6 address embeds an IPv4 address within an IPv6 address. The format is ::ffff:192.168.1.1. This allows IPv4 hosts to be represented as IPv6 addresses for dual-stack implementations.
An IPv4-compatible IPv6 address was historically used for IPv6 tunneling over IPv4 networks. The format is ::192.168.1.1. This address type is now deprecated but still appears in legacy systems.