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

    DHCP Troubleshoot - 3 questions in Wireshark

    DHCP and DNS
    3
    7
    599
    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
      Takuya
      last edited by

      Good afternoon, guys.

      I made an network and sent to my teacher. But he said it has some problems. Then I opened the Wireshark file he sent me and asked me these three questions:

      DHCP.png

      This is a challenge I have to answer, but I searched for days and couldn't find any clue on how to answer those questions.

      That's the Wireshark file: https://drive.google.com/file/d/1V2XGyfMidAHb6EG9GaOLm8i11_eCcvE3/view?usp=sharing

      I'm japanese, so sorry for my bad english. :)

      JKnottJ GertjanG 2 Replies Last reply Reply Quote 0
      • JKnottJ
        JKnott @Takuya
        last edited by

        @takuya said in DHCP Troubleshoot - 3 questions in Wireshark:

        https://drive.google.com/file/d/1V2XGyfMidAHb6EG9GaOLm8i11_eCcvE3/view?usp=sharing

        Take a look at the message in the 4th packet.

        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
        • T
          Takuya
          last edited by

          @jknott The first NAK? I did, but what message?

          JKnottJ 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Takuya
            last edited by Gertjan

            @takuya said in DHCP Troubleshoot - 3 questions in Wireshark:

            b621c867-2860-48ce-a8c8-673f6bc76071-image.png

            Look at this image :

            991e6e3d-afbc-46b3-a692-d93678f73b0e-image.png

            (Not Japanese, but French, but it's the same)

            Do you see the word 'péféré' = preferred ?

            That means that the client wasn't just asking for some 'random' IP , but it indicated a preference.
            The DHCP server can grant this preference, 192.168.1.6 in my case, , as long as it's available == if it wasn't already assigned to some other (DHCP) client.

            Question 1.3 : if you PC (DHCP client) is the only device in the network, and there are no more outstanding DHCP leases, then the DHCP will attribute the IP the client as asking for, as it would be available.

            Btw : the "preferred IP" must be in the pool of the DHCP server - or, for pfSense, must be MAC DHCP statically defined.

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

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

              @takuya

              If you go through that packet line by line, you will see one that contains the word "message". What is the message?

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

              T 1 Reply Last reply Reply Quote 0
              • T
                Takuya @Gertjan
                last edited by

                @gertjan Oh! Thank you!

                1 Reply Last reply Reply Quote 0
                • T
                  Takuya @JKnott
                  last edited by

                  @jknott "Message: requested address not available". Thank you!

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