Deny DHCP IP to a certain MAC?

Phil plabonte at gmail.com
Thu May 19 20:55:36 UTC 2005


I did but it does not provide a way to disable certain MAC addresses...

On 5/19/05, Rick Stevens <rstevens at vitalstream.com> wrote:
> Phil wrote:
> > Hi,
> >
> > I am running DHCP (also with DDNS) on Fedora Core 2.
> >
> > I am getting some instances of blank hostnames getting an IP
> > address... I want to prevent those people from renewing their IP.
> >
> > So I actually have a 2 questions;
> >
> > 1- Can I prevent blank host names from getting a DHCP address? (I know
> > I can deny unknown hosts, but that would require me to enter in all my
> > known hosts manually, somethign I do not want to do, since there is
> > over 250 of them)
> > 2- Since I know their MAC addresses is there a way to deny them a IP from DHCP?
> 
> Sure.  See the man page for dhcpd.conf, specifically the class and
> subclass sections and the "hardware ethernet" options.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -    They say when you play a Microsoft CD backwards, you'll hear    -
> -   Satanic messages, but if you play it forwards, it will install   -
> -           Windows...which means Satan is in your system.           -
> ----------------------------------------------------------------------
>




More information about the fedora-list mailing list