dwild+plug on Fri, 21 Jun 2002 12:33:40 -0400


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

Re: [PLUG] dhcp server is too ambitious


Try something similar to this, notice there is no range line:

ddns-update-style none;
shared-network starforce {
subnet 10.10.10.0 netmask 255.255.255.0 {
        option routers 10.10.10.1;
        option subnet-mask 255.255.255.0;

        option domain-name "starforce.com";
        option domain-name-servers 10.10.10.1;

        host blacktiger {
                hardware ethernet 00:50:DA:79:4A:91;
                fixed-address 10.10.10.2;
        }

        default-lease-time 21600;
        max-lease-time 43200;

}
}


-dwild


On Fri, 21 Jun 2002, Fred K Ollinger wrote:

> Date: Fri, 21 Jun 2002 12:06:06 -0400 (EDT)
> From: Fred K Ollinger <folling2@sas.upenn.edu>
> Reply-To: plug@lists.phillylinux.org
> To: plug@lists.phillylinux.org
> Subject: [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
> 


______________________________________________________________________
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