Re: Deny DHCP IP to a certain MAC?

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

 



Hi,

You can use 'deny known clients', and then list all the MAC addresses you want to ban with a host declaration.

Regards,

.lzs
--
Lai Zit Seng
http://thinkingfarm.com/~lzs/

On Thu, 19 May 2005, Phil wrote:

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

On 5/19/05, Rick Stevens <rstevens@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx - - 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. - ----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux