[Info-vax] implementing IPv6 on the internet
Dirk Munk
munk at home.nl
Fri Sep 23 17:22:55 EDT 2016
David Froble wrote:
> Dirk Munk wrote:
>> Richard Levitte wrote:
>>> Den fredag 23 september 2016 kl. 20:59:55 UTC+2 skrev Dirk Munk:
>>>> With "keep on dreaming" I was referring to your translation on the CE
>>>> router idea, IPv6 over the Internet, IPv4 at your home LAN.
>>>
>>> Oh, I'm sure someone will love NAT enough to do just that.
>>>
>>> Cheers,
>>> Richard ( #ishouldshutupnow )
>>>
>>
>> It's not that easy. It's not only the addresses, in many cases the way
>> the packets are set up has changed as well. Such a translation would
>> be quite a difficult undertaking, the CPU power of a simple CE router
>> isn't enough.
>>
>>
>
> Look, I'm not an expert at this stuff, but I have to ask, why is it so
> hard?
>
> Right now, NAT somehow figures which internal address to send a response
> coming back from the internet. I think I read once that it puts the
> internal IP address in the packet. Don't know much about that. But if
> so, then at least returning packets via IPv6 could have inside the
> packet the IPv4 address for the internal system.
>
> As for connection attempts from outside, the sender would have to have
> knowledge of the internal address, and perhaps places that in the packet.
>
> Not real clean, but, wouldn't it work?
I'll try to explain.
suppose my pc wants to make a IPv4 connection with microsoft.com, what
happens?
1. It will do a nslookup for microsoft.com
2. it will get the IPv4 address X4 (and the IPv6 address X6) of
microsoft.com
3. it will construct a packet with destination address X4, and sender
address LAN4
4. It will send that packet to the router.
5. The router will exchange the LAN4 sending address by its own WAN4
address.
6. The packet will be send to microsoft.
7. return packets the other way around.
Let's see what happens with your idea.
1. It will do a nslookup for microsoft.com
2. it will get the IPv4 address X4 (and the IPv6 address X6) of
microsoft.com
3. it will construct a packet with destination address X4, and sender
address LAN4
4. It will send that packet to the router.
And now we get a problem. How is the router suppose to know it has to
build a new IPv6 packet with the same payload, but destination address
X6, and sending address WAN6?
More information about the Info-vax
mailing list