ignore hosts

Chuck Anderson cra at WPI.EDU
Fri Dec 9 20:44:51 UTC 2011

On Fri, Dec 09, 2011 at 03:02:21PM -0500, Anthony R Fletcher wrote:
> 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 netmask
> {
>         option routers;
>         option broadcast-address;
>         option subnet-mask;
> 	host host1 {
> 		hardware ethernet 00:88:aa:43:00:8d;
> 		fixed-address host1; }
> 	}
> 	#..... many others ....
> }

All host statements are matched globally and should not be put inside
a subnet block, as it can cause strange behavior by inheriting subnet
options that aren't appropriate in other subnets.

> 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.

ignore instead of deny.

More information about the dhcp-users mailing list