Deny DHCP IP to a certain MAC?
Rick Stevens
rstevens at vitalstream.com
Thu May 19 20:11:35 UTC 2005
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 users
mailing list