Convert IPv4 to IPv6 Address

Q

How to convert IPv4 to IPv6 addresses?

In order to help your programming or testing tasks, FYIcenter.com has designed this online tool for you to convert any given IPv4 address to IPv6 addresses.

All you need to do is to enter an IPv4 address and click the "Convert" button. Converted IPv6 addresses will be displayed in the result area.


IPv4 Address:

✍: Guest

A

Converted result by FYIcenter.com - IPv6 Addresses:

Specified IPv4 Address: Valid

IPv4 Address: 192.168.100.101
Converted IPv6 Addresses
------------------------

Dual Format of IPv4 Mapped Address:
   ::ffff:192.168.100.101

Hex Format of IPv4 Mapped Address:
   ::ffff:c0a8:6465

Dual Format of NAT64 Prefix Address:
   64:ff9b::192.168.100.101

Hex Format of NAT64 Prefix Address:
   64:ff9b::c0a8:6465

6to4 Mapping of IPv4 Address:
   2002:c0a8:6465::

6-to-4 Mapping of IPv4 Address:
   2002:c0a8:6465::c0a8:6465

How IPv4 addresses are encapsulated in IPv6 addresses?

There several ways to encapsulate an IPv4 address in an IPv6 address:

1. Dual Format of IPv4 Mapped Address - Prefix the IPv4 address with '0000:0000:0000:0000:0000:ffff:' to form the IPv6 address in the dual format. For example, IPv4 address, '192.168.100.101', should be converted as, '0000:0000:0000:0000:0000:ffff:192.168.100.101', or '::ffff:192.168.100.101' in compressed format.

2. Hex Format of IPv4 Mapped Address - Convert the IPv4 address to 2 hex segments and prefix it with '0000:0000:0000:0000:0000:ffff:' to form the IPv6 address. For example, IPv4 address, '192.168.100.101', should be converted as, '0000:0000:0000:0000:0000:ffff:c0a8:6465', or '::ffff:c0a8:6465' in compressed format.

3. Dual Format of NAT64 Prefix Address - Prefix the IPv4 address with '0064:ff9b:0000:0000:0000:0000:' to form the IPv6 address in the dual format. For example, IPv4 address, '192.168.100.101', should be converted as, '0064:ff9b:0000:0000:0000:0000:192.168.100.101', or '64:ff9b::192.168.100.101' in compressed format.

4. Hex Format of NAT64 Prefix Address - Convert the IPv4 address to 2 hex segments and prefix it with '0000:0000:0000:0000:0000:ffff:' to form the IPv6 address. For example, IPv4 address, '192.168.100.101', should be converted as, '0064:ff9b:0000:0000:0000:0000:c0a8:6465', or '64:ff9b::c0a8:6465' in compressed format.

5. 6to4 Mapping of IPv4 Address - Convert the IPv4 address 2 hex segments, prefix it with '2002', and pad it with 5 segments of "0000. For example, IPv4 address, '192.168.100.101', should be converted as, '2002:c0a8:6465:0000:0000:0000:0000:0000', or '2002:c0a8:6465::' in compressed format.

6. 6-to-4 Mapping of IPv4 Address - Identical to 6to4 Mapping of IPv4 Address, except that the IPv4 address is also mapped to the end of the IPv6 address. For example, IPv4 address, '192.168.100.101', should be converted as, '2002:c0a8:6465:0000:0000:0000:c0a8:6465', or '2002:c0a8:6465::c0a8:6465' in compressed format.

 

Convert IPv6 to IPv4 Address

Compress IPv6 Address

Data Validators

⇑⇑ Online Tools

2022-04-02, ≈13🔥, 0💬