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

    pfSense 2.8.1: Kea DHCPv6 IPv6 Static Lease Allocation Fails (ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET) for Known Client, Inconsistent DNS

    Scheduled Pinned Locked Moved Development
    24 Posts 5 Posters 1.1k Views 5 Watching
    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.
    • T Offline
      Tomahawk @hernanirvaz
      last edited by

      @hernanirvaz said in pfSense 2.8.1: Kea DHCPv6 IPv6 Static Lease Allocation Fails (ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET) for Known Client, Inconsistent DNS:

      servers (with systemd-networkd) & register on the incorrect domain unknown.home.arpa
      desktops (with NetworkManager) & register on the correct domain home.arpa
      

      I have this issue as well
      I tried to install commit 146391a mentioned in https://forum.netgate.com/topic/199239/kea-dhcpv6-dns-registration using System-Patches but the clients are still beeing registered with wrong domain.
      hostname -d at the ubuntu server cli shows the correct domain name

      GertjanG I 2 Replies Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Tomahawk
        last edited by Gertjan

        @Tomahawk said in pfSense 2.8.1: Kea DHCPv6 IPv6 Static Lease Allocation Fails (ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET) for Known Client, Inconsistent DNS:

        hostname -d at the ubuntu server cli shows the correct domain name

        The pfSense DHCP daemon can't do that ;)

        The issue isn't that your device doesn't have a name.
        The issue is (imho) that the device doesn't specify it host name to the pfSense DHCP server. The other thread makes mention of this, so it could be corrected.

        See for your :

        Diagnostics > Packet Capture ,and tell pfSense what you want to see :
        Interface - for example "LAN".
        View Options : Full.
        Protocole : UDP of course.
        Ports : DHCP : type "67 68"
        and hit the green start button.

        d176362c-7960-4141-bc3c-1f26982d166d-image.png

        Now run to the device that is marked 'unknown' and ask it to renew the lease.
        For a Microsoft OS you have to type

        ipconfig /renew
        

        and back on pfSense you see now the DHCP request, with info, from the device,
        and the DHCP lease proposal coming from the pfSense DHCP server.

        Btw : you'll se probably also other DHCP traffic, if you have other devices on your network.

        You can prepare a more specific filter by entering the MAC of your device.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • I Offline
          IonutIT @Tomahawk
          last edited by

          @Tomahawk said in pfSense 2.8.1: Kea DHCPv6 IPv6 Static Lease Allocation Fails (ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET) for Known Client, Inconsistent DNS:

          I have this issue as well
          I tried to install commit 146391a mentioned in https://forum.netgate.com/topic/199239/kea-dhcpv6-dns-registration using System-Patches but the clients are still beeing registered with wrong domain.
          hostname -d at the ubuntu server cli shows the correct domain name

          I had this issue myself with only Ubuntu Server being affected.

          Turns out by default in Ubuntu Server systemd-resolved is not configured to use the domains passed by DHCP (either v4 or v6).

          So all I had to do was to edit /etc/systemd/networks/networkd.conf to have UseDomain=true and after reboot, by magic the hostname is properly registered in Unbound without the 'unknown' part.

          H 1 Reply Last reply Reply Quote 1
          • H Offline
            hernanirvaz @IonutIT
            last edited by

            @IonutIT thanks

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