command to ignore certain macs?
Andy Hood
ahood at au1.ibm.com
Fri Oct 3 00:01:58 UTC 2008
Create a class. Make them all members of that class. Deny that class in all
your pools.
class "bogons" {
match pick-first-value (option dhcp-client-identifier, hardware);
}
subclass "bogons" 1:xx:xx:xx:xx:xx:xx;
subnet x.x.x.x netmask x.x.x.x {
authoritative;
pool {
deny members of "bogons";
...
}
}
Regards,
Andrew J Hood
RIP: Robert Jordan (James Oliver Rigney, Jr.) (Oct 17, 1948 – Sep 16, 2007)
dhcp-users-bounce at isc.org wrote on 03/10/2008 09:42:44 AM:
> Is there a way to specify a list of MACs which should NOT
> be assigned an IP?
>
> I have a few rogue computers accessing my network, and acquiring
> an IP from my pool. Rather than create a whitelist, I would prefer
> to create some sort of blacklist 'DO NOT TALK TO THESE MACS'.
> Is this possible?
>
> Thanks.
>
> The only other way I can think of blocking them, is to create some
> other private network range, become authoritative for it, and assign
these
> rogues an IP from the new range (which will go nowhere because it
wouldn't
> actually exist).
>
More information about the dhcp-users
mailing list