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

    DHCPv6 Static Leases - How to set uniquely per interface (DUID + IAID)?

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 543 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 fabrizior

      Search turned up an old thread from 2012... "DHCPv6 and IAID+DUID or other means of selecting IPs by interface" that got me nowhere... So I'm wondering what am I missing 7+ years later, and is this yet possible on pfSense 2.4.4-RELEASE-p3? I don't see a way.

      The pfSense Book section on DHCPv6 Static Mappings doesn't have anything to say on the issue of multiple NICs either.

      Here's what I'm trying to do:
      Have a Mac Pro with 2 NIC, 1 bonded 2x1gbps copper (bond0), 1 802.11ac (en2). Both interfaces need to be online simultaneously with separate static IPv4 and IPv6 addresses. The application/service-related reasons for the requirement to have both interfaces online with static IPv6 addresses are not relevant to the issue at hand. I'd prefer to assign via DHCPv6 rather than hardcode manual addresses on the Mac.
      The need / use-case exists for multiple machines. I'm explaining only one case here as an example.

      Without static DHCPv6 mappings, I see both interfaces in the DHCPv6 Leases Status view. Note the same DUID but two unique IAIDs "0" and "1", and unique MAC:

      Screen Shot 2019-06-13 at 5.41.06 PM.png

      If I assign one static DHCPv6 to the Mac's DUID, then both bond0 and en2 "fight" over the single leased IPv6 address.

      Is there any patch or other mechanism that would allow me to set the DHCPv6 static mappings for both interfaces separately?

      Screen Shot 2019-06-13 at 6.32.09 PM.png

      Server logs:
      Screen Shot 2019-06-13 at 5.53.34 PM.png

      Thanks for your time,
      -Fabrizio

      1 Reply Last reply Reply Quote 3
      • R rolfl referenced this topic on
      • C ChrisJenk referenced this topic on
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.