exclude addresses

Simon Hobson dhcp1 at thehobsons.co.uk
Wed Jan 9 21:38:50 UTC 2008


Ron Croonenberg wrote:

>Is it possible to 'refuse' a client by mac address ?

You can create a host entry for it, and deny (or ignore) booting for 
that host :

host bad-client {
   hardware ethernet aa:bb:cc:dd:ee:ff ;
   deny booting ;
}

Deny will give an entry in the logs, ignore won't - that's the only difference.

If you have a few clients to deny/ignore, then it might be easier to 
create a class (as suggested by Brian Raaen), and then add clients to 
it by mac address - see the example for classes and subclasses in 
"man dhcpd.conf".


More information about the dhcp-users mailing list