Fred K Ollinger on Fri, 21 Jun 2002 12:06:15 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] dhcp server is too ambitious


I'm running dhcp, but I only want it to talk to six clients on the network
as ided by their mac #.

I have set it up so that it finds all the clients and updates them
accordingly. However, this dhcp server is answering other clients as well
and I have heard that it is doling out ip numbers. This is completely out
of line.

Is there a way to get it to only answer based on mac?

Here's the relevent lines that I have added after skimming through the
manpage for /etc/dhcpd.conf:

deny unknown-clients;
deny bootp;

After adding these lines to the globals section, and restarting the
server, the danged thing is still doling out spurulous ip #'s. Anyway to
get my dhcp server to shutup?

Here's part of the /etc/dhcpd.conf file w/ relevent parts blacked out:

ddns-update-style ad-hoc;
subnet  x.x.x.x netmask 255.255.255.128 {
range x.x.x.x x.x.x.x;
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.128;
option broadcast-address x.x.x.x;
option routers x.x.x.x;
option domain-name-servers x.x.x.x;
option domain-name "clueless.edu;
deny unknown-clients;
deny bootp;
}

group {
host gall{
        hardware ethernet 00:90:27:ac:97:95;
        fixed-address x.x.x.x;
        }



Fred Ollinger (follinge@sas.upenn.edu)
CCN sysadmin


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug