Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DHCP v6 - static mapping - address already in use?

    Scheduled Pinned Locked Moved IPv6
    7 Posts 3 Posters 982 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fabrizior
      last edited by

      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.
      C8AD7DE9-4B50-4574-B35D-E89CDEF8941D.png

      C 1 Reply Last reply Reply Quote 0
      • C
        Cathal1201 @fabrizior
        last edited by

        @fabrizior

        Do you have SLAAC enabled in RA (Assisted)?

        F 1 Reply Last reply Reply Quote 0
        • F
          fabrizior @Cathal1201
          last edited by

          @cathal1201 RA mode is set to “managed - RA Flags...”. All defaults there. I haven’t read up on this bit yet.

          MikeV7896M C 2 Replies Last reply Reply Quote 0
          • MikeV7896M
            MikeV7896 @fabrizior
            last edited by MikeV7896

            @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.

            The S in IOT stands for Security

            F 1 Reply Last reply Reply Quote 1
            • F
              fabrizior @MikeV7896
              last edited by

              @virgiliomi Thanks!

              MikeV7896M 1 Reply Last reply Reply Quote 0
              • C
                Cathal1201 @fabrizior
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • MikeV7896M
                  MikeV7896 @fabrizior
                  last edited by

                  @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...

                  The S in IOT stands for Security

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.