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

    KEA DHCP: Android Stops Working on UniFi

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 734 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.
    • K
      kx93 @stephenw10
      last edited by

      @stephenw10 yes, they get a lease just fine and the odd thing is once you query something like DNS, Android realizes it has Internet and starts working. Does not make any sense as I would think once the device gets a lease, the DHCP server is out of the picture, but apparently not.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Are you using IPv6? There have been issues with Android and IPv6 previously.

        JKnottJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @kx93
          last edited by

          @kx93 said in KEA DHCP: Android Stops Working on UniFi:

          DHCP server is out of the picture, but apparently not.

          Once a device gets a lease - the dhcp server is for sure out of the picture, not until the client wants to renew, or do another discover does the client give any care to if the dhcp server is on or off or answering requests.

          How your client determines if it has internet would be up to the client - maybe it does an dns query, maybe it does a ping to something.. But that has zero to do with the dhcp server.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

            @stephenw10 said in KEA DHCP: Android Stops Working on UniFi:

            Are you using IPv6? There have been issues with Android and IPv6 previously.

            Those issues are with DHCPv6 and Android. It works fine with SLAAC. Is the network configured to use DHCPv6?

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

            1 Reply Last reply Reply Quote 0
            • K
              kx93 @johnpoz
              last edited by

              @johnpoz I 100% agree but something (UniFi AP) is either querying DHCP for something or the server isn't giving the client something it thinks it should get from DHCP, like timezone or idk. But it's 100% caused by the DHCP server as changing nothing but KEA back to ISC fixed it.

              @JKnott no ipv6

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Indeed it pretty much has to be something that Kea is not passing to the client. Or perhaps is passing something incorrectly.

                Try running a pcap for dhcp exchange from each server and compare them.

                Do you have any custom options set in ISC?

                K 1 Reply Last reply Reply Quote 0
                • K
                  kx93 @stephenw10
                  last edited by

                  @stephenw10 no custom DHCP options, but have gateway, domain and lease time specified. Not a bad idea on comparing packet captures. I'll give that a shot.

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

                    @kx93

                    For problems like this, it helps to know what's on the wire. You can run Packet Capture on pfSense to see what's happening. You can examine the packet captures in Wireshark.

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

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @JKnott
                      last edited by

                      Maybe we should just pin this somewhere ;)

                      meme.jpg

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ha

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