DHCP v6 - static mapping - address already in use?
-
Several MacBooks in our environment remain on WiFi even when docked with Ethernet ports active. They all have DHCP and DHCPv6 static mappings, but there seems to be no way to map separate IPv6 addresses to both interfaces. The static mappings form only allows DUID and not IAID. The pfSense DHCP logs are full of address already in-use because both DHCPv6 requests match a single static mapping.
Only found this problem with the Apple devices so far... Using the same DUID and unique IAID per interface.
Is there a bug / patch for 2.4.5p1 to include IAID in the DHCPv6 static mappings?
Is this accounted for in CE v2.5?Here’s an example. The 2nd and 3rd entry shown are the same MacBook getting dynamically-assigned DHCP leases that show the IAID. There’s no way to do a static mapping via the UI at least to statically map these two separately.
-
Do you have SLAAC enabled in RA (Assisted)?
-
@cathal1201 RA mode is set to “managed - RA Flags...”. All defaults there. I haven’t read up on this bit yet.
-
@fabrizior SLAAC won't achieve what you're looking for here. If you want fully managed IPv6 addressing via DHCPv6, you're set correctly. I'm not aware of a patch for 2.4.5p1 to accommodate for the IAID... I will check my 2.5 box when I get home (probably about 45 minutes) to see if it has such a setting.
-
@virgiliomi Thanks!
-
This post is deleted! -
@fabrizior Nope, no setting for IAID in static mappings in 2.5.0...Sounds like a good feature request though... assuming dhcp6d has a way to use it...