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

(Solved) DHCP not working

Scheduled Pinned Locked Moved General pfSense Questions
dhcp
18 Posts 3 Posters 1.9k 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.
  • A
    AndyRH
    last edited by AndyRH Nov 16, 2021, 4:58 AM Nov 13, 2021, 3:25 AM

    I must be missing something simple and I cannot see it.
    I am trying to enable a port, igb0. I assigned the port, enabled the port and enabled DHCP, but I do not get a DHCP address or any messages in the log that I can find.
    I am plugged directly into OPT4. When I move the cable to one of the FW switch ports I get an address.

    Interface.JPG

    Opt4.JPG

    opt4DHCP.JPG

    Opt4 online.JPG

    o||||o
    7100-1u

    V 1 Reply Last reply Nov 13, 2021, 12:54 PM Reply Quote 0
    • V
      viragomann @AndyRH
      last edited by Nov 13, 2021, 12:54 PM

      @andyrh
      I'm also actually fighting with a DHCP issue, but the problem here is not pfSense.

      To investigate, I took a packet capture and filtered for ports "67,68" with full details.
      This shows the whole DHCP communication, so you can check if the device sends a request, if pfSense gives a proper offer and so on.

      1 Reply Last reply Reply Quote 0
      • A
        AndyRH
        last edited by Nov 13, 2021, 5:48 PM

        The packet capture does not see any packets. I did not apply any filters.
        The client works if I move the cable to one of the switch ports on the 7100.

        Why does the FW see the port linked, but sees no packets?

        o||||o
        7100-1u

        V 1 Reply Last reply Nov 13, 2021, 7:15 PM Reply Quote 0
        • A
          AndyRH
          last edited by Nov 13, 2021, 7:02 PM

          I am starting to think the card is bad, but all four ports and they all link?
          I also tried creating a VLAN and pointing at the interface and still an empty packet capture.

          o||||o
          7100-1u

          1 Reply Last reply Reply Quote 0
          • V
            viragomann @AndyRH
            last edited by Nov 13, 2021, 7:15 PM

            @andyrh said in DHCP not working:

            The packet capture does not see any packets.

            After connecting the cable to the device? Seems quite strange. Normally once the device recognizes a network connection, it sends a DHCP request to the broadcast address.

            I am starting to think the card is bad, but all four ports and they all link?

            I don't know the 7100. But never seen an issue, that pfSense initiate the NIC properly, but doesn't work at last.

            Maybe @stephenw10 can help with that.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Nov 14, 2021, 9:36 PM

              Is this an older 7100? There was a Coreboot update to address exactly this behaviour but it was some time ago.
              Make sure the Netgate Firmware Updater package is current (v0.41_1) and then check it reports the Coreboot version as current (01.00.00.11 for the 7100).

              Steve

              1 Reply Last reply Reply Quote 0
              • A
                AndyRH
                last edited by AndyRH Nov 14, 2021, 11:02 PM Nov 14, 2021, 10:56 PM

                It is an older firmware.

                I added the package to update the firmware, but I do not get an update button.

                7100 Firmware.JPG

                21.05.1-RELEASE (amd64)
                built on Wed Aug 04 09:50:13 EDT 2021
                FreeBSD 12.2-STABLE

                o||||o
                7100-1u

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Nov 14, 2021, 11:55 PM

                  Aha! Ok that's your problem then.

                  Is that the current Netgate Firmware Upgrade package?

                  There any reason you are not running 21.05.2? I think you will only see package version 0.40 in 21.05.1.

                  Steve

                  A 1 Reply Last reply Nov 15, 2021, 12:02 AM Reply Quote 0
                  • A
                    AndyRH @stephenw10
                    last edited by Nov 15, 2021, 12:02 AM

                    @stephenw10 Just happened to be uninstalling and the installing the package so I could snag the install log. It was all good.

                    I did not load 21.05.2 as I understood it was just a fix for 6100's.

                    The firmware package loader is version 0.41_1.

                    I can load the new code if that will help.

                    o||||o
                    7100-1u

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Nov 15, 2021, 12:41 AM

                      Indeed it was for the 6100 but there is a newer version of the package there and you need to update Coreboot.
                      The only other option there might be to go to a 22.01 snapshot temporarily where v0.46 is available.

                      Steve

                      A 1 Reply Last reply Nov 15, 2021, 2:39 AM Reply Quote 0
                      • A
                        AndyRH @stephenw10
                        last edited by Nov 15, 2021, 2:39 AM

                        @stephenw10 Upgraded to 21.05.2, the firmware package is still at 0.41_1 and the upgrade button remains elusive.
                        I did remove and reinstall the package to be sure and there is no change.

                        o||||o
                        7100-1u

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Nov 15, 2021, 1:47 PM

                          Hmm. Are you able to go to a 22.01 snapshot just to update Coreboot?

                          Be sure to backup your config before you update if you do. Otherwise you would not be able to reinstall 21.05.2 and restore afterwards.

                          Steve

                          A 1 Reply Last reply Nov 15, 2021, 3:17 PM Reply Quote 0
                          • A
                            AndyRH @stephenw10
                            last edited by Nov 15, 2021, 3:17 PM

                            @stephenw10 I think I can get that done this weekend. Are these the correct steps?
                            0. Make backup of config

                            1. upgrade to 22.01 snapshot (I have not done this before)
                            2. fix firmware
                            3. re-load with 21.05.2
                            4. Apply backup config

                            o||||o
                            7100-1u

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Nov 15, 2021, 3:20 PM

                              Yes, exactly that.

                              In the mean time I'll see if I can replicate what you're seeing. It's likely a simple fix that would remove the need to do an upgrade if we can find it.

                              Steve

                              A 1 Reply Last reply Nov 15, 2021, 3:30 PM Reply Quote 0
                              • A
                                AndyRH @stephenw10
                                last edited by Nov 15, 2021, 3:30 PM

                                @stephenw10 Thank you.

                                I have a loaner lined up for the code shuffle. All of my needed traffic is through ix1 and ix2. Cabling will be easy for the loaner.
                                My friends know I have a thing about having a way out if things go bad.

                                o||||o
                                7100-1u

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Nov 16, 2021, 12:43 AM

                                  Ok this is a single character change that causes this in 0.41_1. It's detailed here:
                                  https://redmine.pfsense.org/issues/12487

                                  Line 35 in /usr/local/pkg/netgate_firmware_upgrade.inc should read:

                                  		return ($current['version'] != $new['version']);
                                  

                                  I manually made that edit here and spoofed the coreboot version and it flashed fine. That's easier than upgrading to 22.01 and downgrading again. It is fixed in 0.46 in 22.01 though.

                                  Steve

                                  A 1 Reply Last reply Nov 16, 2021, 3:20 AM Reply Quote 0
                                  • A
                                    AndyRH @stephenw10
                                    last edited by Nov 16, 2021, 3:20 AM

                                    @stephenw10 That worked and the ports are online.
                                    Thank you

                                    o||||o
                                    7100-1u

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Nov 16, 2021, 1:03 PM

                                      Ah, nice result. Thanks for persisting!

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