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

    DHCP not working

    DHCP and DNS
    2
    8
    707
    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.
    • B
      Balanga
      last edited by

      I have had pfSense working fine for a number of years but because of a hardware failure I'm trying to get it working on alternative hardware.
      Unfortunately I can't get DHCP working.... Also I've notice that I have 2.4.4-RELEASE-p3 (amd64) installed. Trying option 13) Update from console but get wrong OS version...

      Since it did work previously should I be able to get it configured?

      I tried assigning the LAN interface (em0) to 192.168.2.1 but ifconfig em0 does not show this IP address assigned. ifconfig also shows em0.1 which does not have an IP address assigned - don't know where this device name comes from, maybe something to do with vlans which I don't use.

      Any advice would be appreciated.

      H 1 Reply Last reply Reply Quote 0
      • H
        heper @Balanga
        last edited by

        @balanga try by installing a supported version.

        B 1 Reply Last reply Reply Quote 0
        • B
          Balanga @heper
          last edited by

          @heper said in DHCP not working:

          @balanga try by installing a supported version.

          Can I upgrade what I have? I have numerous pkgs installed and wouldn't want to reinstall them.

          H 1 Reply Last reply Reply Quote 0
          • H
            heper @Balanga
            last edited by

            @balanga
            theoretically, packages get reinstalled automagically when you restore a backup of your configuration to the new install.

            B 1 Reply Last reply Reply Quote 0
            • B
              Balanga @heper
              last edited by

              @heper

              Can I make copy of my configuration from the command line? I'm unable to access the system from my LAN.

              Alternatively is there a file which I can copy locally which has my current settings?

              H 1 Reply Last reply Reply Quote 0
              • H
                heper @Balanga
                last edited by

                @balanga

                If you don't have a working lan configuration then getting a backup seems pointless:
                ----> restoring that backup would once again result in a broken lan configuration

                what is the exact problem with assigning the interfaces? (option 1 in the menu)
                what is the exact problem with setting the IP address of LAN? (option 2 in the menu)

                B 1 Reply Last reply Reply Quote 0
                • B
                  Balanga @heper
                  last edited by

                  @heper said in DHCP not working:

                  @balanga

                  If you don't have a working lan configuration then getting a backup seems pointless:
                  ----> restoring that backup would once again result in a broken lan configuration

                  what is the exact problem with assigning the interfaces? (option 1 in the menu)
                  what is the exact problem with setting the IP address of LAN? (option 2 in the menu)

                  I've installed the latest version on another disk and now DHCP and routing works fine. but I had quite a bit of configuration done for static IPs, PXE settings as well as sundry software installed.

                  As mentioned in the original post, I set the IP address of the LAN to 192.168.1.1 and configured DHCP but requests were not getting replies. I'm now using the same machine but with a different disk and things are working. I'm not sure what would happen if I tried installing the new version over the old, would it pick up and old settings? Maybe I'll copy the old installation onto another partition and try installing on that to see what happens...

                  1 Reply Last reply Reply Quote 0
                  • B
                    Balanga
                    last edited by

                    I've copied the existing installation to another location and it has managed to start up ok, so DHCP is working again, but the release is quite old so I thought I would try to update it, which I am now doing... So... don't know what caused the original problem, but it looks like it has been sorted.

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