Re: MVP for a DHCP server

Edgar Fuß <[email protected]> Mon, 14 Jul 2025 18:17:44 +0200
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
> Why do you need to wire hosts to fixed IP addresses?
Because I have DNS entries for them, SSH keys in known_hosts, packetfilter entries, proxy entries on servers delegating to some of them etc. etc. etc.

> This is an important question because there is no equivalent for DHCPv6 as DHCPv6 does not carry a hardware address option.
Who on earth needs DHCPv6?
On v6, I know the IP address as soon as I know the prefix since I know the MAC.

> My view is that if you need a host to be a fixed IP address then please configure the fixed IP address on the host and use the INFORM function.
I want to configure as little as possible on the clients. For one thing, one needs to be able to log into the client to configure it, no?
Szenario 1: A piece of hardware configured as a desktop machine is going to become a kiosk machine. I simply change the DHCP/DNS configuration (what I really do is change one master file that generates them) and am done (after automatically letting the hardware re-install the OS).
Szenario 2: An AP breaks and I replace it. I basically run one generic configure script via SSH on it and change the MAC in the master configuration file used to generate DHCP/DNS and am done.