How will home networks work in the IPv6 world?

18

4

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?

Mike Christensen

Posted 2012-06-06T18:09:29.150

Reputation: 3 299

1

Related: Is there any benefit to using IPv6 on my home network?. But not-constructive IMO.

– Ƭᴇcʜιᴇ007 – 2012-06-06T19:19:52.203

Answers

5

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.

mgorven

Posted 2012-06-06T18:09:29.150

Reputation: 2 539

What I want to do is give each computer on my network a name, so I can do things like ping laptop instead of ping 192.168.0.104 - In the past, I've used DNS for that. Does this approach still make sense with IPv6? – Mike Christensen – 2012-06-06T19:03:38.023

@MikeChristensen Name resolution methods are (practically) the same for IPv6. – Ƭᴇcʜιᴇ007 – 2012-06-06T19:23:36.053

@techie007 - Yea, I guess what I'm wondering is if I can use my own DHCP server but still use Comcast assigned IPv6 addresses. I'm guessing I can. – Mike Christensen – 2012-06-06T19:37:21.990

1@MikeChristensen Yes, you can internally setup DNS which resolves to IPv6 addresses (using AAAA records), and you can setup DHCPv6 to hand out IPv6 addresses (or use SLAAC to allow devices to configure addresses themselves). – mgorven – 2012-06-06T20:02:10.460

Thanks! Sounds like everything I want to do would be possible with the right configuration. – Mike Christensen – 2012-06-06T20:04:08.290

2

The reserved private address blocks in IPv4 remain the same in IPv6, so nothing would really need to change in a private network. You shouldn't need to do anything, since your router already supports IPv6. As far as network configuration is concerned, you usually only want your Internet gateway (in your case, your Netgear router) to have a public address. That makes it more difficult for an outside hacker to access your private network.

Jim Fell

Posted 2012-06-06T18:09:29.150

Reputation: 5 069