5 ms·
Actually, Comcast supports DHCP prefix delegation (I'm led to believe everywhere, but it works at my home anyway), which is pretty much the Right Thing in this
by ajross 10y ago
Actually, Comcast supports DHCP prefix delegation (I'm led to believe everywhere, but it works at my home anyway), which is pretty much the Right Thing in this space. Your default DHCPv6 request is from a single client and it returns a single IP, as expected. And you can then do NAT across that if you want, which is what their default routers do.
But if you want a subnet, you can make a second DHCPv6 request with prefix delegation metadata, and the server will establish a route for a full /64 subnet to your existing IP and return it to you. Then you can hand these out however you want (though they won't give you bigger than a /64 so you can do internal subnet routing).
The only annoyance is that none of the existing Linux distros support this yet as part of their network client integration, so you have to script it yourself around dhclient (see the -P argument), which is a little hairy if you want to get the hooks right (I punted and just did it once manually and left dhclient running).
- pedrocr 10y ago>The only annoyance is that none of the existing Linux distros support this yet as part of their network client integration, so you have to script it yourself around dhclient (see the -P argument), which is a little hairy if you want to get the hooks right (I punted and just did it once manually and left dhclient running). I think OpenWRT has all you need for this. At least I think that's exactly what I did with my ISP config on my own router just with the LuCi web interface.
- ihattendorf 10y agoYep, same with Cox in my area. I'm running Sophos UTM Home which supports prefix delegation, I'm sure there are others that are plug and play as well.
- virtuallynathan 10y agoComcast will give out up to a /60 for residential if you hint for it in DHCPv6-PD.
- flyinghamster 10y agoUPDATE: I now have IPv6 connectivity via my shiny new EdgeRouter POE. Now I just have to poke a few holes in the firewall where appropriate (now that I've set drop-by-default rules). Getting it to work with the ER-POE was non-intuitive but not as bad as I was expecting. I'm even getting a /60...
- sethj 10y agoLinux doesn't support it? My Comcast router has a /64 given to it by Comcast and all my linux boxes connected to it work like a charm.. although I haven't been able to get my dd-wrt router to pass them on yet.
- ajross 10y agoLinux supports it just fine, you have to do the integration on your own. If you want to use the distro-provided DHCP setup, you need to work out the NetworkManager hooks on your own to add the PD client at the right spots.
- kiallmacinnes 10y agoI suspect most people don't use a Linux box as their router (with the obvious exception of router distros and embedded Linux on routers). Most people will read this, I think, and think a Linux client won't accept a V6 from a router that has obtained it's delegation via DHCP-PD..