I think changing the deny statement to 'allow unknown-clients;' will get
you what you want.
However, like benjamin mentioned, that only prevents these boxes from
using the DHCP service, which might not serve the intended goal... but
YMMV.
eZRA.
On Fri, 17 Jun 2005, Christopher Nambale/Bushnet wrote:
[EMAIL PROTECTED] wrote on 06/17/2005 01:13:48 PM:
Lule George William wrote the following on 06/17/2005 11:23 AM:
Thanks Ernest,
Correct me if my interpretation of the conf below is wrong, but I
think it
declares hosts 1, 2 ...(to whichever number I may feel like) along
with their
MAC addresses after which it allows them to pick RANDOM ip addresses
from a
pool.
This will not work in my case because it is hosts with known MAC
addresses
that have their ip addresses fixed and any other to pick a random
ip address
from a pool.
My problem now is that I want to be ban some MAC addresses from
picking an IP
address completely!
the conf below does that, literally. whatever MAC address is not
defined in this configuration file will never get assigned an IP
address.
rgds
ernest
I guess he means it's a little cumbersome to do it your way. Imagine a
network of 500 machines or one where people with new computers join and
leave by the hour.
CN
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/
_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/