DHCP IPv6 reservations for multiple interfaces
-
I have a system that I want to set up IPv4 and IPv6 DHCP assigned addresses for the ethernet connection and wifi connections. They will sometimes be connected at the same time. Setting a reservation for the two on IPv4 is pretty straightforward and easy. But for IPv6 the DUID is the same so I can't set a different address on both interfaces.
Searching the googles tells me that I need to use the DUID and an IAID (Identity Association Identifier) to define the system and then the interface. I don't see anywhere to find the IAID for an interface and nowhere to set it in the DHCPv6 static mapping.
Is this possible on pfSense with the ISC DHCP service? I've set one interface to use DHCPv6 and the other is set statically so it's working but I'd rather have both set to use DHCP and keep IP management in pfSense.
I'm not gonna be switching to the kea dhcp until it gets much more complete and stable.
-
Unless you have a specific need for DHCPv6, I recommend you stick with SLAAC. Thanks to some genius at Google, Android devices don't support DHCPv6.
With SLAAC, you will have up to 7 global addresses, 1 of which is consistent and would be used for DNS.
-
@JKnott I do have need for IPv6, most of my systems have an address and I have a few very specific firewall rules that allow access from outside to various systems and services.
-
I didn't say need for IPv6. I said need for DHCPv6. Generally, you're fine with SLAAC & RDNSS, which is why I wondered whether you have a need for DHCPv6. I've been running IPv6 for almost 14 years and have always used SLAAC.
-
@JKnott I see what you're saying and I suppose I could say that I don't have an actual need for DHCPv6 but I'd like to be able to handle address allocation from one central location. So setting up addresses on all my devices from DHCP is the logical way to go. I've implemented a somewhat predictable (for me anyway) scheme for addresses across this network so relying on SLAAC doesn't fit that model.