I think George is trying to carry out selective banning -> You deny
>>specific<< MAC addresses config info, all the rest get.
You may use classes and pools to achieve this:
#Create a class that will contain the soon to be banned MAC address.
class "ban" {
match if substring (hardware, 1, 6);
}
#specify a pool in which this MAC doesn't get an IP address.
pool {
deny members of "ban";
range 10.0.29.10 10.0.29.230;
}
Let us know if it pans out.
Cheers,
Benjamin
References : 1. http://www.bind9.net/dhcpd.conf
2. http://www.bind9.net/dhcpd.conf.5
3.
http://maconlinux.net/linux-man-pages/en/dhcp-options.5.html
4. http://maconlinux.net/linux-man-pages/en/dhcp-eval.5.html
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>Behalf Of Ernest Byaruhanga
>Sent: Friday, June 17, 2005 1:22 PM
>To: [EMAIL PROTECTED]
>Cc: Linux Users Group Uganda
>Subject: Re: [LUG] Refusing connections with DHCP
>
>Lule George William wrote the following on 06/17/2005 11:23 AM:
>> My problem now is that I want to be ban some MAC addresses from
>picking an IP
>> address completely!
>
>look at the very first declaration in the config: all unknown clients
>are denied lease, apart from those defined by the stated MAC addresses.
>
>rgds
>ernest
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/