Re: Convert IPv4 to IPv6
- From: "Simon" <spambucket@xxxxxxxxxxx>
- Date: Wed, 13 Aug 2008 23:27:37 +0200
is there a straight forward way of converting IPv4 to IPv6?
Have a look at the IPv6 RFC and/or its Wikipedia entry. IIRC there's an
address range reserved for mapping the old IPv4 addresses.
Yes, I had a look at it, and my impression was that IPv6 was the successor
of IPv4 so 32bits had been reserved to allow for backward compatibilities.
Reserving 32 bits would drastically reduce the address space. But the
range ::ffff:0:0/96 seems to be reserved for the old IPv4 addresses. It
shouldn't be too difficult to do the mapping.
http://en.wikipedia.org/wiki/IPv4_mapped_address
yeah, but some source say that the notation has been deprecated.
in fact my Vista picks up ping ::7f00:1 as ping 127.0.0.1
but it does the same for ping ::ffff:7f00:1
127.0.0.1 -> 01111111.00000000.00000000.00000001 ->
0111111100000000:0000000000000001 -> 7f00:0001
Sure, but in IPv6 the loopback device is ::1, which has nothing to do
with 127.0.0.1 or 7f00:0001 (which is not even valid IPv6, BTW). The
same applies to the old local addresses like 192.168.x.y for example.
Si was converting as an example from decimal to binary and so forth, and there were only 32 bits in my example not 128,
So the whole thing was not really going to be valid IPv6.
Micha
Simon
.
- Follow-Ups:
- Re: Convert IPv4 to IPv6
- From: Michael Fesser
- Re: Convert IPv4 to IPv6
- References:
- Convert IPv4 to IPv6
- From: Simon
- Re: Convert IPv4 to IPv6
- From: Michael Fesser
- Re: Convert IPv4 to IPv6
- From: Simon
- Re: Convert IPv4 to IPv6
- From: Michael Fesser
- Convert IPv4 to IPv6
- Prev by Date: Re: Scope in PHP vs. Python
- Next by Date: Re: Scope in PHP vs. Python
- Previous by thread: Re: Convert IPv4 to IPv6
- Next by thread: Re: Convert IPv4 to IPv6
- Index(es):
Relevant Pages
|
Loading