3 ms·
Kinda like http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses ? edit: Actually, now that
by zokier 16y ago
Kinda like http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses ?
edit: Actually, now that I think about it, accessing IPv4 internet from IPv6-only LAN should be almost trivial. Lets say you happen to have 3000::0 IPv6 network completely unused, which also fits the entire IPv4 address space. Then you could configure your DNS server to respond to AAAA queries for domains that have only A records with an corresponding IPv6 in your free block. Ie news.ycombinator.com(174.132.225.106) would become 3000::ae84:e16a or something like that. Then your router which is default gw for the hosts receives a package destined to that special network, it takes the payload and puts it into a IPv4 packet with destination decoded from the IPv6 address.
It seems kinda obvious approach, wouldn't require any modification of the hosts or to the internet. Of course I don't know why anyone would want to run a IPv6 only LAN instead of mixed v4/v6, but maybe there is some reason to. Are there some problems that I haven't noticed? Surely someone must have thought about this before.
- wmf 16y agoWhat you're describing is basically NAT64.
- zaphoyd 16y agoThis is referred to as NAT64/DNS64 (http://en.wikipedia.org/wiki/IPv6_transition_mechanisms#NAT64 http://en.wikipedia.org/wiki/IPv6_transition_mechanisms#NAT6...) and is the strategy many mobile phone networks (such as T-Mobile USA) are taking. Effectively they give devices IPv6 addresses only and run a DNS server that makes up "fake" IPv6 addresses for all of the v4 only DNS records. It works well except when applications embed IPv4 literals (as they won't go through the DNS system and get translated)