Normally one can define hostnames that are proposed/sent to the client. I thought this is “Client ID” but now my static leases got ignored: This seems to be a MATCHING field, along with the MAC address. So I have to leave that one empty. In my opinion, static leases should only match MAC address, but ok…
But now there is no field left to define a hostname. (DHCP host-name option). How can I define it for a static lease?
Options are a global setting … how would I make the connection to the lease and and where would/could the hostname be stored?
The link mentions $(HOSTNAME) but to me it’s unclear where the value of this variable actually comes from (and how it connects to a specific lease entry).
Or … create one entry in options for each lease and then reference it?
It should be noted here that most DHCP clients completely ignore the host-name option sent by the DHCP server, and there is no way to configure them not to do this. So you generally have a choice of either not having any hostname to client IP address mapping that the client will recognize, or doing DNS updates. It is beyond the scope of this document to describe how to make this determination.
Not at all. it is very usefull to dynamically booting diskless machines. I have been using it for years in my university lab with FreeBSD/Linux and Windows machines,
and dynamically registering these names in DNS.