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
>
> On Friday 17 June 2005 11:59, Ernest Byaruhanga wrote:
>
>>Lule George William wrote the following on 06/17/2005 10:30 AM:
>>
>>[...]
>>
>>
>>>2. Don't assign an IP address to that MAC address. I haven't
>>>figured a way of doing this. Someone help out there.
>>
>>Assume u use linux, here's what your dhcp.conf file will contain:
>>
>> # First deny unknown clients
>> deny unknown clients
>>
>> #declare all MAC addresses you want to lease to:
>> host pc1 { hardware ethernet 00:07:72:3j:c6:a2;}
>> host pc2 { hardware ethernet 00:02:60:65:ee:d4;}
>>
>> pool {
>> range 10.0.0.1 10.0.0.6;
>> default-lease-time 6788;
>> max-lease-time 78887;
>> deny unknown clients;
>> }
>>
>>rgds.
>>ernest
>
>
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/