Converting IPv4 addresses to IPv6 addresses (omitting leading zeros and consecutive zeros, IPv6).
Differences between IPv4 and IPv6
- IPv4 (Internet Protocol version 4):
It is currently a mainstream IP address and consists of 32 bits. Approximately 4.3 billion addresses can be used.
It is represented as a set of 4 parts separated by 3 dots, each part has 8 bits data called octet.
e.g.: 192.168.1.123 - IPv6 (Internet Protocol version 6):
Address notation rules developed based on the IPv4 platform to meet the IPv4 restrictions.
It consists of 128 bits and can use about 340 undecillion IP addresses, much more than IPv4.
e.g.: 0000:0000:0000:0000:0000:ffff:c0a8:017b