dhcpd only for known clients

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Jun 19 08:56:49 UTC 2006


brennion at buerstner.com wrote:

>I would like to setup a dhcp server that only respond to known client (from
>wich I have the mac address), and send them a pxe image.
>
>The reason is that we have another dhcp for other purposes that I don't
>wan't to change at all...
>
>Does someone have already do something like that ??

Yes, first try RTFM - 'man dhcpd.conf'. Then try looking as far back 
as last week in the mailing list archive where essentially the same 
question has been answered.

In short :

Define the hosts you want to allow to boot, as in :

   host client1 { hardware ethernet aa:bb:cc:dd:ee:ff ; }


Then only allow those clients to boot. You can do this various ways, 
but the quietest will be to add :

   ignore unknown-clients :

to the pool or subnet declaration.

You can use "allow known-clients", but then you get log messages for 
all the ones it doesn't service, "ignore" avoids these log messages.

Simon


More information about the dhcp-users mailing list