Navigation

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

    LAN DHCP do not refresh

    DHCP and DNS
    3
    5
    2083
    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.
    • M
      mnsmani last edited by

      When I update my config file dynamically by replacing it. Then calling reload_all() function, the DHCP is all lost in my LAN. I am forced to reboot my device (I'm using embedded PFSENSE)….. I saw a long chain in DHCP lost in WAN.... is there any patch available ? I have done extensive customization on my box.... I cannot afford to replace the base image.....

      Sullrich.... any help ? DHCP is not refreshing and the nodes are not getting the IP assigned again.....

      1 Reply Last reply Reply Quote 0
      • S
        sullrich last edited by

        You should not be calling reload_all().  It is currently broken.

        1 Reply Last reply Reply Quote 0
        • H
          hoba last edited by

          That's the reason why we force a reboot on restoring a config btw  ;)

          1 Reply Last reply Reply Quote 0
          • M
            mnsmani last edited by

            Should I force reboot always, when I change the config file ?….. is there no other way out ? :(

            1 Reply Last reply Reply Quote 0
            • H
              hoba last edited by

              We chache the config.xml to speed up filter reloads and other things. Only editing/replacing the file will not help. Your edits might even get lost on reboot due to that. You should only use the webgui restore config. for config.xml changes which will force a reboot.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post