command to ignore certain macs?

Simon Hobson dhcp1 at thehobsons.co.uk
Fri Oct 3 06:44:04 UTC 2008


Andy Hood wrote:

>class "bogons" {
>     match pick-first-value (option dhcp-client-identifier, hardware);
>}

That should be just :
   match hardware;
otherwise, if a client sends a client-id (which does NOT have to be 
the same as it's MAC address) it won't match.


>subclass "bogons" 1:xx:xx:xx:xx:xx:xx;


Then add "ignore booting"

So you end up with :

class "bogons" {
     match hardware ;
     ignore booting ;
}
subclass "bogons" 1:xx:xx:xx:xx:xx:xx;

And you will never see anything from them in the logs. I've done that 
to get rid of the "RAS" wastage from MS clients.



More information about the dhcp-users mailing list