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

DHCP server backup/restore not working?

Scheduled Pinned Locked Moved DHCP and DNS
7 Posts 3 Posters 1.4k 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
    albcap
    last edited by May 30, 2016, 9:10 AM

    Hi,

    I'm trying to backup the dhcp server configuration of my old pfsense fw to a new one; apparently this is not working.

    I get no error, both during the backup and the restore, but the new firewall never gets the configuration. I'm quite sure I did the same some time ago, so it could be a new bug.

    I tried both with the full backup and with s simplified copy (a single interface); you can find attached this last one.

    Thanks,
    Alberto

    dhcpd-config-fw02.consulthink.it-20160530110447.txt

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by May 30, 2016, 1:04 PM

      what is the error you get in backup?

      And are you trying to move these configs from same version of pfsense, are the dhcp scopes the same, etc..

      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
      • A
        albcap
        last edited by May 30, 2016, 1:38 PM

        Hi John, thanks for your reply.

        I get no error in backup, and no error in restore. Pfsense version is the same (2.3.1_1), both firewalls are virtual machines.

        DHCP scope is the same, and I've on purpose limited my tests (well, the last ones) to the single interface you can find in the xml file.

        I've visually inspected the file and I haven't found anything obviously wrong, that's why I'm perplexed.

        Best regards,
        Alberto

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by May 30, 2016, 1:42 PM

          My bad I missed the "no" in your post…

          Well that makes more sense... I will try and duplicate what your doing.

          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
          • A
            albcap
            last edited by May 30, 2016, 3:54 PM

            Still trying, and I could have a hint.

            I was trying to restore dhcp server settings having logged in with my Active Directory user; now I've tried again using the local admin account, and it's working.

            I'm quite sure the AD user has full privileges (when I configured it I assigned it all the available privileges), but who konws? Could this be the problem?

            I'll keep testing and keep you updated.

            Regards,
            Alberto

            1 Reply Last reply Reply Quote 0
            • K
              kpa
              last edited by May 30, 2016, 4:02 PM

              Check that the user you were logged on with didn't have the "User - Config: Deny Config Writes" privilege turned on. There was a bug in 2.2.* that made the privilege inoperable but was fixed in 2.3.

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by May 30, 2016, 4:30 PM

                There was a thread somewhere about write to config permissions.  I recall seeing a thread about it a few days ago or so.

                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
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received