• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • B
    BiloxiGeek
    last edited by Feb 10, 2024, 12:47 PM

    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.

    J 1 Reply Last reply Feb 10, 2024, 9:27 PM Reply Quote 0
    • J
      JKnott @BiloxiGeek
      last edited by Feb 10, 2024, 9:27 PM

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

      B 1 Reply Last reply Feb 11, 2024, 10:51 AM Reply Quote 0
      • B
        BiloxiGeek @JKnott
        last edited by Feb 11, 2024, 10:51 AM

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

        J 1 Reply Last reply Feb 11, 2024, 3:51 PM Reply Quote 0
        • J
          JKnott @BiloxiGeek
          last edited by Feb 11, 2024, 3:51 PM

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

          B 1 Reply Last reply Feb 12, 2024, 11:58 AM Reply Quote 0
          • B
            BiloxiGeek @JKnott
            last edited by Feb 12, 2024, 11:58 AM

            @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
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received