Link to home
Start Free TrialLog in
Avatar of defrey
defreyFlag for Australia

asked on

How to convert an IPv4 to an IPv6 address

Hi,

I would like to understand the mathematical process of converting an ipv4 address to an ipv6.
For example, if I use google ip to convert to ipv6 it looks like this.

216.58.220.110 ->  0:0:0:0:0:ffff:d83a:dc6e

Can you explain?

Cheers
SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
More confusing info here:  https://en.wikipedia.org/wiki/IPv6_address   Converting to any IPv6 address may not produce any kind of useful result because the networks between you and your network destination must all support the IPv6 address you are trying to use.  Many ISPs do Not currently support IPv6.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In a way, everyone is saying that you do not need to convert a ipv4 address to use an ipv6 address in your network.
To explain, ipv4 is a series of four numbers - each number between 0 and 255 and separated with the dot (.).  [216.58.220.110]
To provide for more addresses, the ipv6  network has been implemented which uses 8 sets of numbers separated by a colon(:).  Each group is a number between 0 and 65535.  Eight numbers that can vary up to 65535 versus four numbers that max at 255 - it is clear that many more addresses are available in the new numbering system.
These numbers are stored in hexadecimal - a base 16 numbering system from 0-9 then a,b,c,d,e,f to count to 16(hexadecimal).  [0:0:0:0:0:ffff:d83a:dc6e]  
Although the network adapters can communicate using both address systems at the same time, the ipv4 numbers do not get 'converted' to use the ipv6.  
A separate DHCP and DNS network services provides address resolution to use the ipv6 numbers.  There is much more on the numbering system available.  Ipv6 addresses can be abbreviated, etc.