Networking – How will home networks work in the IPv6 world

dnsipv6nat;networking

Right now, I have a home network setup behind a Netgear router. That router has a public IP address I get from Comcast. I also have a computer setup on my home network running Linux that runs a DHCP Server and a DNS server. The DHCP server automatically hands out internal IP addresses in the 192.168.0.xxx block. The DHCP server tells clients to use that internal DNS server, and also registers a DNS name and search suffix so I can connect to other computers by name without typing in an IP address.

If I wanted to switch over to IPv6 (as soon as Comcast supports it), I'm wondering what all needs to change.

Obviously, I need to make sure my cable modem supports IPv6 or buy a new one. I have a fairly new Netgear router, so it probably supports IPv6 or can be made to via a firmware upgrade.

However, I believe I would no longer use IPv4 internal addresses and instead get a block of IPv6 addresses from Comcast. Obviously, I don't want to be typing in IPv6 addresses to connect to other computers on my home network. I believe this means I would still want to run a DNS server at home, and I'd want to configure these settings via DHCP which would mean running my own DHCP server as I do now.

I think the ideal setup would be to keep my current configuration, but configure my DHCP server to obtain public IPv6 addresses from my ISP rather than use a hard coded block of IPv4 addresses. Is this possible to do?

Best Answer

Comcast will be taking a dual stack approach, which means that both IPv4 and IPv6 will be in use. Your modem will be assigned an IPv6 subnet in addition to the current IPv4 address (using DHCPv6 AFAICT). Your Netgear router should expose that IPv6 subnets to the LAN devices using SLAAC or DHCPv6 (but still provide IPv4 via DHCP). The devices will then have both a public IPv6 address, and a private IPv4 address. When doing DNS lookups they will check for IPv6 AAAA records and try to make an IPv6 connection if there is one, but otherwise fallback to IPv4 A records and an IPv4 connection. You can use either IPv6 or IPv4 to communicate between devices in your LAN.

Related Question