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

DHCP server not responding to client

Scheduled Pinned Locked Moved DHCP and DNS
9 Posts 4 Posters 929 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.
  • D
    DominikHoffmann
    last edited by Dec 15, 2022, 2:35 PM

    I did a packet capture on the interface, which has a DHCP server set up on it. My laptop eventually gets the self-assigned IP address . It is supposed to get an address in the 192.168.17.1/24 subnet. What am I missing?

    09:33:29.088171 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:29.265066 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:31.087938 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:33.323650 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:37.367553 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:46.176246 IP 0.0.0.0.68 > 255.255.255.255.67: UDP, length 300
    09:33:47.871217 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 289
    09:33:48.193928 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 771
    09:33:48.372456 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 566
    09:33:48.729112 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 566
    09:33:48.909431 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 566
    09:33:48.910112 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 289
    09:33:49.170155 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 1449
    09:33:49.170323 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 681
    09:33:49.170575 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 745
    09:33:50.131335 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 1449
    09:33:50.132201 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 681
    09:33:50.187869 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 90
    09:33:50.874231 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 289
    09:33:51.219683 IP 169.254.52.199.5353 > 224.0.0.251.5353: UDP, length 90
    

    Does this indicate anything?

    J J 2 Replies Last reply Dec 15, 2022, 3:11 PM Reply Quote 0
    • J
      JKnott @DominikHoffmann
      last edited by Dec 15, 2022, 3:11 PM

      @dominikhoffmann

      Capture the full DHCP sequence and post the capture file here.

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

      D 1 Reply Last reply Dec 15, 2022, 5:02 PM Reply Quote 1
      • D
        DominikHoffmann @JKnott
        last edited by Dec 15, 2022, 5:02 PM

        @jknott: That’s all the IPv4 UDP traffic on that interface. Would I have to capture IPv6 traffic, as well?

        J 1 Reply Last reply Dec 15, 2022, 5:08 PM Reply Quote 0
        • J
          JKnott @DominikHoffmann
          last edited by JKnott Dec 15, 2022, 5:09 PM Dec 15, 2022, 5:08 PM

          @dominikhoffmann

          You can capture one or the other. I don't think Packet Capture will let you capture both at the same time, as Wireshark will. Are you having problems with IPv6 too? If so, then capture both and post the capture files here. You might also mention who your ISP is and what type of connection you have.

          BTW, did you post the IPv4 capture. I don't see it.

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

          D 1 Reply Last reply Dec 15, 2022, 6:48 PM Reply Quote 1
          • D
            DominikHoffmann @JKnott
            last edited by Dec 15, 2022, 6:48 PM

            @jknott: I don’t have IPv6 set up anywhere on the network. My packet capture is in the original post.

            V J 2 Replies Last reply Dec 15, 2022, 7:33 PM Reply Quote 0
            • V
              viragomann @DominikHoffmann
              last edited by Dec 15, 2022, 7:33 PM

              @dominikhoffmann
              Enter "67|68" at port and capture with full level, so you can see the whole DHCP communication.

              1 Reply Last reply Reply Quote 1
              • J
                JKnott @DominikHoffmann
                last edited by Dec 15, 2022, 7:55 PM

                @dominikhoffmann

                I saw what was in that post and it's not what I'm looking for. A packet capture provides a lot more info than that. Please follow the capture instructions, as I provided in that link. Also, you're the one that first mentioned IPv6. If you hadn't, I wouldn't have.

                Here's what a packet capture looks like. This one shows a full DHCP capture:

                2b19dd9d-3a3d-4e76-bced-da35666d3018-image.png

                As you can see, it provides a lot more info than you did.

                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 1
                • J
                  johnpoz LAYER 8 Global Moderator @DominikHoffmann
                  last edited by Dec 16, 2022, 12:48 PM

                  @dominikhoffmann said in DHCP server not responding to client:

                  Does this indicate anything?

                  What that looks like to me is a client sending dhcp discover those first few lines.. But then no answer, so prob gave itself a APIPA address, that 169.254 address because it didn't get anything from dhcp.. Then its trying to do dns via mdns, which is that traffic to the multicast address on port 5353.

                  I would look in dhcp server log.. Do you see the dhcp server seeing the discover?

                  example

                  dhcp.jpg

                  You see the discover, then the offer, then the request from the client and then finally the ack

                  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.7.2, 24.11

                  1 Reply Last reply Reply Quote 1
                  • D
                    DominikHoffmann
                    last edited by Dec 16, 2022, 2:20 PM

                    It turns out that I had a brain fart and misconfigured DHCP guarding in the UniFi OS Console for my access points. Rather than using the gateway address of the WiFi network’s subnet as the DHCP server address, I used the address of the Netgate box. With that fixed, everything works.

                    Thanks for all who made suggestions! I am learning from each of your contributions.

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received