Re: [Dnsmasq-discuss] dhcp logging and dhcp-range static configuration

2012-09-04 Thread Jean-Baptiste Denis
On 09/03/2012 08:49 PM, Simon Kelley wrote:

> Try
> 
> dhcp-ignore=!known
> 
> or possibly the old syntax
> 
> dhcp-ignore=#known
> 
> I can't remember if 2.48 is new enough for the first one.

It was in the manpage.

"This allows dnsmasq to be configured to ignore requests from unknown
machines using --dhcp-ignore=tag:!known Ethernet addresses (but not
client-ids)"

I'm sorry for that :/ Thank you very much for the kind answer =)

Jean-Baptiste



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] dhcp logging and dhcp-range static configuration

2012-09-03 Thread Jean-Baptiste Denis
Hello everybody,

I'm running the provided centos dnsmasq version 2.48, and I've got a
question regarding logging of dhcp requests.

I've configured a static dhcp-range to assign ip addresses to well know
system using their hardware address.

Something like the following :

dhcp-range=192.168.0.1,static,255.255.255.0
dhcp-host=net:x86_64,00:30:99:99:99:1C,node1,192.168.0.2
...

The problem I've got is that my log file are full of unhonored dhcp
requests (which is normal, since they don't have any dhcp-host entry in
dnsmasq.conf) :

DHCPDISCOVER(eth0) 00:30:98:87:65:f0 no address available
...
...

Is there a way to prevent logging the DHCPDISCOVER request for
unconfigured hardware address in dhcp-range static mode ?

Regards,

Jean-Baptiste



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss