As seen in my previous blog post, provisioning machines is quite simple, but the hostname must be unique, so we want an automatic way to configure it.

installation of a dhcpd

This is not what I want to share, you will find here the how-to.


option domain-name-servers,;  
option domain-name "";

default-lease-time 600;  
max-lease-time 7200;

# Show that we want to be the only DHCP server in this network:


subnet netmask {  
    option subnet-mask;
    option broadcast-address;
    option routers;

host proxy02 {  
  hardware ethernet 00:0D:87:B3:DB:01;
  option host-name "proxy02";

If your machines need to talk each other, you might want to connect your dhcp to your dns server to be able to resolve each hostname setted in the dhcpd.conf file, without replicating the configuration in bind, as an example. I'll argue this in a further article.