ignore hosts
Anthony R Fletcher
arif at mail.nih.gov
Fri Dec 9 20:02:21 UTC 2011
We run a non-authoritative DHCP server, version 4.2.1, on a network
handing out IP addresses to certain hosts and we want to simply ignore
(and not log) the rest. My config file looks like:
# Subnet setup.
subnet 10.11.12.0 netmask 255.255.255.0
{
option routers 10.11.12.1;
option broadcast-address 10.11.12.255;
option subnet-mask 255.255.255.0;
host host1 {
hardware ethernet 00:88:aa:43:00:8d;
fixed-address host1; }
}
#..... many others ....
}
However we get lots of logs like
Dec 9 14:36:55 master dhcpd: DHCPDISCOVER from 00:22:44:d9:cd:e0 via eth0: network 10.11.12.0/24: no free leases
How can I not log these messages for certain MACs or all unknown MACs?
I've tried a bunch of things like "deny unknown-clients;" but the hosts
just try again, often, and we log them every time.
Anthony.
More information about the dhcp-users
mailing list