This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How are dhcpd.conf files generated?

Is the data in the dhcpd.conf file generated on the fly from data stored in a database? Or is the file itself directly modified by ASG? The reason I ask is that there are a number of 'advanced' settings I need to include in my dhcp server for diskless booting, that aren't available via the ASG GUI. ASG warns against manipulating the config via CLI, so I am concerned about simply modifying it directly myself, especially if it gets regenerated every time the firewall restarts.


This thread was automatically locked due to age.
Parents
  • In Astaro 6 and earlier, there were 'defaults' files which you could generally modify. I'm not sure that's the case in 7 though, but search these forums for dhcp or dhcpd; there's been some discussions.

    Barry
  • I did a search on the hardware, install, up2date board for dhcp and dhcpd, and didn't find a clear answer to my questions. I also found the ASG-V7-Administration-Guide-EN in the weirdest damn place - in the KnowledgeBase, as opposed to the page where I downloaded the .iso, quick setkup guide, etc.

    As for a dhcpd.conf-default in v7, yes, there is one. So, I guess this gets appended to an auto-generated dhcpd.conf file? Right? That's the main point of my question: is the dhcpd.conf file generated from data stored in a database (info you provide in the WebAdmin console)?

    Is the info in the dhcpd.conf-default file part of the data that gets backed up using ASG's built-in backup routines?
Reply
  • I did a search on the hardware, install, up2date board for dhcp and dhcpd, and didn't find a clear answer to my questions. I also found the ASG-V7-Administration-Guide-EN in the weirdest damn place - in the KnowledgeBase, as opposed to the page where I downloaded the .iso, quick setkup guide, etc.

    As for a dhcpd.conf-default in v7, yes, there is one. So, I guess this gets appended to an auto-generated dhcpd.conf file? Right? That's the main point of my question: is the dhcpd.conf file generated from data stored in a database (info you provide in the WebAdmin console)?

    Is the info in the dhcpd.conf-default file part of the data that gets backed up using ASG's built-in backup routines?
Children
  • Yes, normally whatever you put in the -default file gets automatically copied into the live file. Stopping and Starting the dhcp service after your changes should force the re-copy.

    I'm not sure on the backups.

    Also, the -default files sometimes get overwritten by up2date, so you should keep your own backup, and double-check things after up2dates.

    Barry