Hi there,
I setup a dhcp server on a debian.
It is designed to only assign ip addresses to a list of known hosts.
The config file looks like :
log-facility local6;
ignore unknown-clients;
subnet 172.16.0.0 netmask 255.255.0.0 { }
host 1 { hardware ethernet 00:03:2d:xx:xx:xx; fixed-address 172.16.101.151; }
host 2 { hardware ethernet 00:03:2d:yy:yy:yy; fixed-address 172.16.102.151; }
host 3 { hardware ethernet 00:03:2d:zz:zz:zz; fixed-address 172.16.103.151; }
The problem is that the log file show thousands of requests from unknown hosts that I was hopping to drop.
Feb 12 17:54:33 debian dhcpd: DHCPDISCOVER from 00:0b:3b:xx:xx:xx via 172.16.106.2: network 172.16/16: no free leases
Feb 12 17:54:33 debian dhcpd: DHCPDISCOVER from 00:04:a3:xx:xx:xx via 172.16.169.2: network 172.16/16: no free leases
Feb 12 17:54:35 debian dhcpd: DHCPDISCOVER from 00:04:8b:xx:xx:xx via 172.16.158.2: network 172.16/16: no free leases
Is there any way I can completely ignore the requests from unknown hosts (not even logging them)?
Thanks for your help
Santiago