With the development of information technology, IPv6 addresses are widely used and have replaced IPv4 addresses. So, what are the ways to convert from IPv4 to IPv6 and vice versa?
An IPv4 (Internet Protocol Address version 4) address is a 32-bit string, represented by a four-part sequence separated by four dots. Each part is called an octet and contains 8 bits of data. As IPv4 addresses become increasingly scarce and information technology advances, IPv6 was developed to replace them. IPv6 addresses the problem of dwindling IPv4 addresses, ensuring continued internet connectivity and overcoming the shortcomings of IPv4.
An IPv6 address is 128 bits long and is represented as a hexadecimal string separated by ::., like the sequence 2001:0DC8::1005:2F43:0BCD:FFFF. So, how do you convert from an IPv4 address to an IPv6 address?
- What's so special about Facebook's IPv6 address?
- How to change Google DNS IPv4 and IPv6 on Windows 10 Fall Creators
- Guide to configuring IPv6 on Windows Server
How to convert IPv4 to IPv6
1. Manual conversion method
Our IPv4 address is 173.194.38.101 .
IPv4 addresses are divided into four ranges. Divide each range by 16, and record the result and the remainder.
- 173 : 16 = 10 remainder 13
- 194 : 16 = 12 remainder 2
- 38 ÷ 16 = 2 remainder 6
- 101 ÷ 16 = 6 remainder 5
When compared to the hexadecimal value, we have:
- A = 10
- B = 11
- C = 12
- D = 13
- E = 14
- F = 15
Based on the calculation above and the result, we will arrange the result first and the remainder second as ADC2:2665.
So the IPv6 address of 173.194.38.101 is ADC2:2665 . Since IPv4 addresses are 32 bits long and IPv6 addresses are 128 bits long, there are 96 bits missing. These 96 bits are a series of zeros. Therefore, users can write them in two ways:
- The full entry is 0000:0000:0000:0000:0000:0000:ADC2:2665.
- The abbreviated notation is ::ADC2:2665.
2. Switch from IPv4 to IPv6 online
There are some websites where users can convert online without having to manually calculate the cost as described above.
1. ipv6.ztsoftware:
http://ipv6.ztsoftware.net/ipv4-to-ipv6
Scroll down and click on the IPv4 address to convert it, then paste the IP address below.
Then click on IPv6 condensed to see the IPv6 address.
2. Subnet online:
https://www.subnetonline.com/pages/subnet-calculators/ipv4-to-ipv6-converter.php
We also enter the IPv4 address and then press IPv6 condensed to switch to the IPv6 address.
3. The isc.sans.edu tool:
https://isc.sans.edu/tools/ipv6.html
The method for converting IPv4 addresses to IPv6 addresses using isc.sans.edu is simpler than the two tools mentioned above.
Simply enter the IPv4 address into the white box as shown in the image and then click Submit to proceed with the conversion using the tool.
Immediately afterwards, we will have the IPv6 address as shown below, with both the full and abbreviated forms.
4. UltraTools:
In the white box below the interface, enter the IPv4 address and then press the Go button to start the conversion.
The IPv6 address will appear in the Mapped Address line , as shown in the image below.
Above are some completely free online tools for converting IPv4 addresses to IPv6 addresses. In addition, we also guide you on how to manually convert IPv4 to IPv6. With these tools, you can more easily convert to IPv6 addresses.
See more:
- Guide to configuring IPv6 on Windows Server
- What is an IP address?
Good luck with your project!