Hello,
I have a basic question about IPv6.
Consider a set-top box which has basic networking
functionality, say an Ethernet interface and an
IPv4-only stack. The STB can access the Internet
through an ADSL modem.
The modem has a dual IPv4/IPv6 network stack.
LAN
STB <---> ADSL modem <---> Internet
The modem runs a DHCP server on the LAN to hand
out IPv4 addresses, and performs NAT on packets
to and from the Internet.
Now suppose the STB wants to talk to a distant server
which happens to be IPv6-only, e.g. ipv6.google.com
$ dig ipv6.google.com ANY
; <<>> DiG 9.7.1 <<>> ipv6.google.com ANY
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31584
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ipv6.google.com. IN ANY
;; ANSWER SECTION:
ipv6.google.com. 86400 IN CNAME ipv6.l.google.com.
ipv6.l.google.com. 300 IN AAAA 2a00:1450:4001:c01::69
Obviously, the STB is not able to talk directly
to ipv6.google.com since it does not support IPv6.
I see several work-arounds. The server could be dual
stack, and provide ALSO an IPv4 address, but 1) IPv4
address space is running out and 2) the STB might be
confused by the IPv6 addresses in the DNS reply, even
if it should just ignore them.
The modem, which is already performing NAT, could
"rewrite" the DNS packets, and somehow map a few
IPv6 addresses to unused "virtual" IPv4 addresses.
Is this what NAT-PT proposed?
I guess I need to read (and understand!) this article
as a starting point.
http://en.wikipedia.org/wiki/IPv6_transition_mechanisms
I've also stumbled upon
http://ipv6.com/articles/nat/NAT-In-Depth.htm
Are there other good references/pointers?
Regards.