On 02/11/2025 07:38, Roy Marples wrote:
This is a DHCP server, driven by plugins rather than a specific configuration. There is an auto plugin which makes an opinionated automatic DHCP setup based on your IP address. There is a leasefile plugin which stores the leases to a persistent flat file periodically. There is an ethers plugin to lookup a nodes hostname from their ethernet address.
I use a combination of automatic addressing and MAC locked addresses with manually specified DNS server entries and a few other additional DHCP options. Currently I generate a DHCP configuration file using a script to generate the static entries on top of the dynamic pool.
Based on what I can gather from a read of the manual pages it would make my life more complicated. Rather than having one configuration file it now looks like I would probably be forced to write, or in my case GENERATE, lua script as there doesn't appear to be an obvious configuration file to place my settings into.
I'm also a bit wary of using the ethers database. My first thought was what side effects is putting my MAC -> IP mapping going to have? Are there other things that look things up in that database that I don't know about given that its actually part of the base system?
Mike