Static DHCP

Alexander Boström abo at kth.se
Fri Nov 16 08:58:29 UTC 2007


tor 2007-11-15 klockan 13:39 -0600 skrev Les Mikesell:

> I'd call that shifting the work to someone else, not actually
> automating it. 

It's usually a good idea to have a central registry of which computer
has which IP addresses, with MAC address info. Once you have that it's
easy to also generate a dhcpd.conf from that info to assign static IP:s.

This also means you can reinstall the computer and it'll automatically
get the right IP address. Or move it to a different network without
reconfiguring the computer.

And since the DHCP server doesn't need to keep any state when assigning
IPs that way you can have as many DHCP servers as you like without
caring about syncronizing them, so single point of failure isn't a big
problem. (If you want to have a pool as well, for unknown clients, you
of course need to either have one pool per server or make the servers
talk to each other.)

/abo




More information about the fedora-devel-list mailing list