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

    DHCP IPv6 reservations for multiple interfaces

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 2 Posters 345 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.
    • BiloxiGeekB
      BiloxiGeek
      last edited by

      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.

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @BiloxiGeek
        last edited by

        @BiloxiGeek

        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.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        BiloxiGeekB 1 Reply Last reply Reply Quote 0
        • BiloxiGeekB
          BiloxiGeek @JKnott
          last edited by

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

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @BiloxiGeek
            last edited by

            @BiloxiGeek

            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.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            BiloxiGeekB 1 Reply Last reply Reply Quote 0
            • BiloxiGeekB
              BiloxiGeek @JKnott
              last edited by

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

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