misje / dhcpoptinj

DHCP option injector
GNU General Public License v3.0
38 stars 15 forks source link

DHCPv6 Support? #21

Open Harvie opened 3 years ago

Harvie commented 3 years ago

Hello, any plans to add DHCPv6 support?

misje commented 3 years ago

I was under the impression that IPv6 stateless address autoconfiguration was more common than DHCPv6 setups. I haven't looked into the DHCPv6 protocol and I am not at all familiar with DHCPv6. Can you please provide a scenario where dhcpoptinj makes sense with DHCPv6? It would help researching how DHCPv6 support could be implemented. In general, information about any use of dhcpoptinj is of great interest for me, since I no longer use the utility myself. I need to know how users use it and what they need.

Harvie commented 3 years ago

I've been working on deployment of IPv6 in customer IP over Ethernet network in metropolitan ISP. This is how i figured out it should work:

Some middleware like DHCPOPTINJ would then be usefull to inject circuit id and localy add route to routing table. (DHCPv6 only assigns prefix to home router, but core router needs to have route pointing that prefix to that home router)

In other words: stateless autoconfiguration can only provide you with single adress from exactly /64 prefix, but there are many cases, where you need to provide prefix rather than single address, or you don't have whole /64 available to use it for autoconfiguration.