Ignore DISCOVERs from a certain MAC?

Glenn Satchell Glenn.Satchell at uniq.com.au
Mon Jul 16 14:21:24 UTC 2007


>From: Tina Siegenthaler <tina at zool.uzh.ch>
>Subject: Re: Ignore DISCOVERs from a certain MAC?
>Date: Mon, 16 Jul 2007 15:24:09 +0200
>To: dhcp-users at isc.org
>X-Virus-Scanned: amavisd-new at unizh.ch
>X-archive-position: 4097
>X-ecartis-version: Ecartis v1.0.0
>X-original-sender: tina at zool.uzh.ch
>List-software: Ecartis version 1.0.0
>X-List-ID: <dhcp-users.isc.org>
>X-list: dhcp-users
>
>>
>>> Tina Siegenthaler wrote:
>>>
>>>> Maybe someone of you can help me... I want my DHCP-Server to ignore
>>>> DISCOVERs that are issued by a certain MAC address. Why this?
>>>>
>>>> I keep getting DISCOVERS on my DHCP server from a MAC address
>>>> 00:14:22:72:6d:cb - about every minute or so. Like this:
>>>>
>>>> Jul 16 13:27:32 DHCP-0352 dhcpd: DHCPDISCOVER from 00:14:22:72:6d:cb
>>>> via 130.60.23.1: peer holds all free leases
>>>
>>> How about :
>>>
>>> host bad_device {
>>>    hardware ethernet 00:14:22:72:6d:cb ;
>>>    ignore booting ;
>>> }
>>>
>>>
>> aah, yes.... I'll try that right now. Guess I've been searching too
>> far. Thanks!
>>
>> Tina
>
>Nope... still getting the messages. Any idea why?
>
>I added this to my host config file:
>
>host AD_bad { hardware ethernet 00:14:22:72:6d:cb; ignore booting; }

Dumb question - Did you stop and start dhcpd after making the change?

Syntax looks good so clutching at straws :)

Or you could set up a host statement and just let it have an IP
address. It's asking for an infinite lease, so shouldn't discover again
for a *long* time. Depending on the version of dhcpd there are different
meanings for an infinite lease, but either way it is a really long
time, at least several *years*.

regards,
-glenn


More information about the dhcp-users mailing list